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()"> <%def name="headIncludes()">
<link rel="stylesheet" href="interfaces/default/css/data_table.css"> <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>
<%def name="javascriptIncludes()"> <%def name="javascriptIncludes()">
<script src="js/libs/jquery.dataTables.min.js"></script> <script src="js/libs/jquery.dataTables.min.js"></script>
<script src="js/libs/full_numbers_no_ellipses.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> <script>
function initThisPage() { function initThisPage() {
$.fn.DataTable.ext.pager.numbers_length = 3; $.fn.DataTable.ext.pager.numbers_length = 3;
// var table = $('#series_table').dataTable( { var table = $('#series_table').dataTable( {
$('#series_table').dataTable( { "destroy": true,
"destroy": true, "sDom": '<"clear"Af><"clear"lp><"clear">rt<"clear"ip>',
"sDom": '<"clear"f><"clear"lp><"clear">rt<"clear"ip>',
// "sDom": '<"clear"Af><"clear"lp><"clear">rt<"clear"ip>',
"columnDefs": [ "columnDefs": [
{ "orderable": false, "targets": [5, 7, 10] }, { "orderable": false, "targets": [5, 7, 10] },
{ "visible": false, "targets": [5, 7, 10] }, { "visible": false, "targets": [5, 7, 10] },
@ -136,10 +134,10 @@
"search" : ""}, "search" : ""},
"stateSave": true, "stateSave": true,
"pageLength": 25, "pageLength": 25,
"pagingType": "simple_numbers" "pagingType": "simple_numbers",
// alphabetSearch: { alphabetSearch: {
// column:1 column:1
// } }
}); });
resetFilters("comic"); resetFilters("comic");
} }