Removed dataTables
This commit is contained in:
33
templates/Sparkle/assets/css/main.css
vendored
33
templates/Sparkle/assets/css/main.css
vendored
@@ -526,39 +526,6 @@ table thead:first-child th {
|
||||
color: #cfcfcf;
|
||||
}
|
||||
|
||||
/* dataTables */
|
||||
table thead th.sorting_asc {
|
||||
background-image: url('../img/icons/sort_down.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 10px center;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
table thead th.sorting_desc {
|
||||
background-image: url('../img/icons/sort_up.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 10px center;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
table thead th.sorting {
|
||||
background-image: url('../img/icons/sort_both.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: 10px center;
|
||||
padding-left: 25px;
|
||||
}
|
||||
|
||||
table thead th.nosort {
|
||||
background-image: none;
|
||||
padding-left: 8px;
|
||||
}
|
||||
.dataTables_length {
|
||||
float: left;
|
||||
}
|
||||
.dataTables_filter {
|
||||
float: right;
|
||||
}
|
||||
|
||||
table tbody td {
|
||||
border-bottom:1px dotted #ccc;
|
||||
}
|
||||
|
||||
12099
templates/Sparkle/assets/js/jquery.dataTables.js
vendored
12099
templates/Sparkle/assets/js/jquery.dataTables.js
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
14
templates/Sparkle/assets/js/main.js
vendored
14
templates/Sparkle/assets/js/main.js
vendored
@@ -19,20 +19,6 @@ $(document).ready(function() {
|
||||
$("html, body").animate({ scrollTop: 0 }, 600);
|
||||
return false;
|
||||
});
|
||||
|
||||
// Enable datatable
|
||||
var sortColumn = $('#sortable').attr('sort-column');
|
||||
if (sortColumn == null) { sortColumn = "0"; }
|
||||
var sortDirection = $('#sortable').attr('sort-direction');
|
||||
if (sortDirection == null) { sortDirection = "asc"; }
|
||||
var sortTable = $('#sortable').dataTable({
|
||||
"bFilter": false,
|
||||
"bInfo": false,
|
||||
"bPaginate": false,
|
||||
"aaSorting": [[sortColumn, sortDirection]]
|
||||
});
|
||||
$('.nosort').unbind('click');
|
||||
|
||||
|
||||
// this is necessary for the special setting feature (ref #1010)
|
||||
$.getQueryVariable = function(key) {
|
||||
|
||||
Reference in New Issue
Block a user