mirror of
https://github.com/evilhero/mylar
synced 2024-12-23 08:12:41 +00:00
Update index.html
This commit is contained in:
parent
7b6b989a43
commit
c12ccecada
1 changed files with 9 additions and 11 deletions
|
@ -101,22 +101,20 @@
|
|||
|
||||
<%def name="headIncludes()">
|
||||
<link rel="stylesheet" href="interfaces/default/css/data_table.css">
|
||||
// <link type="text/css" href="css/dataTables.alphabetSearch.css" rel="stylesheet">
|
||||
<link type="text/css" href="css/alphabetSearch.css" rel="stylesheet">
|
||||
</%def>
|
||||
|
||||
<%def name="javascriptIncludes()">
|
||||
<script src="js/libs/jquery.dataTables.min.js"></script>
|
||||
<script src="js/libs/full_numbers_no_ellipses.js"></script>
|
||||
// <script src="js/dataTables.alphabetSearch.min.js"></script>
|
||||
<script src="js/alphabetSearch.js"></script>
|
||||
<script>
|
||||
|
||||
function initThisPage() {
|
||||
$.fn.DataTable.ext.pager.numbers_length = 3;
|
||||
// var table = $('#series_table').dataTable( {
|
||||
$('#series_table').dataTable( {
|
||||
var table = $('#series_table').dataTable( {
|
||||
"destroy": true,
|
||||
"sDom": '<"clear"f><"clear"lp><"clear">rt<"clear"ip>',
|
||||
// "sDom": '<"clear"Af><"clear"lp><"clear">rt<"clear"ip>',
|
||||
"sDom": '<"clear"Af><"clear"lp><"clear">rt<"clear"ip>',
|
||||
"columnDefs": [
|
||||
{ "orderable": false, "targets": [5, 7, 10] },
|
||||
{ "visible": false, "targets": [5, 7, 10] },
|
||||
|
@ -136,10 +134,10 @@
|
|||
"search" : ""},
|
||||
"stateSave": true,
|
||||
"pageLength": 25,
|
||||
"pagingType": "simple_numbers"
|
||||
// alphabetSearch: {
|
||||
// column:1
|
||||
// }
|
||||
"pagingType": "simple_numbers",
|
||||
alphabetSearch: {
|
||||
column:1
|
||||
}
|
||||
});
|
||||
resetFilters("comic");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue