(MT #1654) followup : Adding jquery.tablesorter and jquery.tablesorter.pager support for branches.pl
This commit is contained in:
parent
d950e509ff
commit
4c70627e9e
1 changed files with 20 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
||||||
</title>
|
</title>
|
||||||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||||
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
|
||||||
|
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.pager.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
||||||
|
@ -50,9 +51,8 @@
|
||||||
$("#branchest").tablesorter({
|
$("#branchest").tablesorter({
|
||||||
sortList: [[0,0]],
|
sortList: [[0,0]],
|
||||||
headers: { 3:{sorter:false},4:{sorter:false},5:{sorter:false},6:{sorter:false}}
|
headers: { 3:{sorter:false},4:{sorter:false},5:{sorter:false},6:{sorter:false}}
|
||||||
|
}).tablesorterPager({container: $("#pagerbranchest"),positionFixed: false,size: 10});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
|
|
||||||
// YUI Toolbar Functions
|
// YUI Toolbar Functions
|
||||||
|
|
||||||
function yuiToolbar() {
|
function yuiToolbar() {
|
||||||
|
@ -162,6 +162,24 @@
|
||||||
<!-- TMPL_IF name="MESSAGE10" --><div class="dialog message">Library cannot be deleted because there are items held by that library</div><!-- /TMPL_IF -->
|
<!-- TMPL_IF name="MESSAGE10" --><div class="dialog message">Library cannot be deleted because there are items held by that library</div><!-- /TMPL_IF -->
|
||||||
<!-- TMPL_IF name="MESSAGE11" --><div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div><!-- /TMPL_IF -->
|
<!-- TMPL_IF name="MESSAGE11" --><div class="dialog message">Library cannot be deleted because there are patrons registered at that library</div><!-- /TMPL_IF -->
|
||||||
<!-- TMPL_IF NAME="branches" -->
|
<!-- TMPL_IF NAME="branches" -->
|
||||||
|
<span id="pagerbranchest" class="pager">
|
||||||
|
<form class="formpager"> <strong>page(s)</strong> :
|
||||||
|
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/first.png" class="first"/>
|
||||||
|
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/prev.png" class="prev"/>
|
||||||
|
<input type="text" size="5" class="pagedisplay"/>
|
||||||
|
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/next.png" class="next"/>
|
||||||
|
<img src="<!-- TMPL_VAR name="interface" -->/prog/img/last.png" class="last"/>
|
||||||
|
, entries/page :
|
||||||
|
<select class="pagesize">
|
||||||
|
<option selected="selected" value="10">10</option>
|
||||||
|
<option value="20">20</option>
|
||||||
|
<option value="30">30</option>
|
||||||
|
<option value="40">40</option>
|
||||||
|
<option value="50">50</option>
|
||||||
|
<option value="100">100</option>
|
||||||
|
</select>
|
||||||
|
</form>
|
||||||
|
</span>
|
||||||
<table id="branchest">
|
<table id="branchest">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
|
|
Loading…
Reference in a new issue