Add JQuery tablesorters on serials-edit and booksellers

This commit is contained in:
Matthias Meusburger 2009-11-13 17:11:49 +01:00 committed by Henri-Damien LAURENT
parent b529f00aa3
commit f9eff58059
2 changed files with 33 additions and 4 deletions

View file

@ -6,6 +6,21 @@
vertical-align: top;
}
</style>
<script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function() {
$("#vendorst").tablesorter({
headers: {
3: {
sorter: false
}
}
});
});
//]]>
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
@ -27,14 +42,16 @@
<!-- /TMPL_IF -->
<!-- TMPL_IF name="loop_suppliers" -->
<div id="acqui_order_supplierlist">
<table>
<table id="vendorst">
<thead>
<tr>
<th>Order</th>
<th>Order receive</th>
<th>Vendor</th>
<th>&nbsp;</th>
</tr>
</thead>
<tbody>
<!-- TMPL_LOOP name="loop_suppliers" -->
<!-- TMPL_UNLESS name="__odd__" -->
<tr class="highlight">
@ -100,6 +117,7 @@
</td>
</tr>
<!-- /TMPL_LOOP -->
</tbody>
</table>
</div>
<!-- /TMPL_IF -->

View file

@ -1,6 +1,14 @@
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Serials <!-- TMPL_VAR name="biblionumber" --></title>
<!-- 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">
//<![CDATA[
$(document).ready(function() {
$("#srlt").tablesorter();
});
//]]>
</script>
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
@ -63,7 +71,8 @@ Serials updated :
<h3>Search for Serial Routing List</h3>
<!-- /TMPL_IF -->
<table>
<table id="srlt">
<thead>
<tr>
<th>ISSN</th>
<th>Title</th>
@ -76,7 +85,8 @@ Serials updated :
<!-- /TMPL_IF -->
<th colspan="2">&nbsp;</th>
</tr>
</thead>
<tbody>
<!-- TMPL_LOOP name="subscriptions" -->
<!-- TMPL_UNLESS name="__odd__" -->
<tr class="highlight">
@ -122,6 +132,7 @@ Serials updated :
</td>
</tr>
<!-- /TMPL_LOOP -->
</tbody>
</table>
<!-- /TMPL_IF -->