1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-23 08:12:41 +00:00

Update index.html

This commit is contained in:
barbequesauce 2018-08-22 17:13:27 -04:00 committed by evilhero
parent 7b6b989a43
commit c12ccecada

View file

@ -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");
}