mirror of https://github.com/evilhero/mylar
Merge branch 'development'
This commit is contained in:
commit
b98e0fc826
|
@ -101,20 +101,22 @@
|
||||||
|
|
||||||
<%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/dataTables.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/dataTables.alphabetSearch.min.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] },
|
||||||
|
@ -134,10 +136,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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue