Lines 1-32
Link Here
|
1 |
[% USE Asset %] |
1 |
[% USE Asset %] |
|
|
2 |
[% SET footerjs = 1 %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Tools</title> |
4 |
<title>Koha › Cataloging › Call number browser</title> |
4 |
[% Asset.css("css/datatables.css") %] |
|
|
5 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'datatables.inc' %] |
|
|
7 |
</head> |
6 |
</head> |
|
|
7 |
|
8 |
<body id="cat_cn_browser" class="cat"> |
8 |
<body id="cat_cn_browser" class="cat"> |
|
|
9 |
<div class="main container-fluid"> |
9 |
[% UNLESS ( popup ) %] |
10 |
[% UNLESS ( popup ) %] |
10 |
[% INCLUDE 'header.inc' %] |
11 |
[% INCLUDE 'header.inc' %] |
11 |
[% INCLUDE 'cat-search.inc' %] |
12 |
[% INCLUDE 'cat-search.inc' %] |
12 |
[% END %] |
13 |
[% END %] |
13 |
|
14 |
|
14 |
<script language="JavaScript"> |
15 |
<h1>Call number browser</h1> |
15 |
$(document).ready(function() |
|
|
16 |
{ |
17 |
$("#cn_browser_table").DataTable({"paging": false, "bFilter": false, "info": false, "bSort": false}); |
18 |
$("#cn_browser_submit").click(function(){ |
19 |
window.location.href='/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q='+$("#cn_browser_input").val(); |
20 |
return false; |
21 |
}); |
22 |
} |
23 |
|
24 |
); |
25 |
</script> |
26 |
|
27 |
<h1 style="text-align:center">Call numbers browser</h1> |
28 |
|
16 |
|
29 |
<div style="margin:auto;text-align:center;"> |
17 |
<div> |
30 |
<form method="get" action="cn_browser.pl"> |
18 |
<form method="get" action="cn_browser.pl"> |
31 |
<label for="searchcn">Search call number:</label> |
19 |
<label for="searchcn">Search call number:</label> |
32 |
<input type="text" id="cn_browser_input" name="q" value="[% q %]" /> |
20 |
<input type="text" id="cn_browser_input" name="q" value="[% q %]" /> |
Lines 59-62
$(document).ready(function()
Link Here
|
59 |
</tbody> |
47 |
</tbody> |
60 |
</table> |
48 |
</table> |
61 |
|
49 |
|
62 |
<br /> |
50 |
[% MACRO jsinclude BLOCK %] |
|
|
51 |
<script> |
52 |
$(document).ready(function(){ |
53 |
$("#cn_browser_submit").click(function(){ |
54 |
window.location.href='/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q='+$("#cn_browser_input").val(); |
55 |
return false; |
56 |
}); |
57 |
}); |
58 |
</script> |
59 |
[% END %] |
60 |
|
61 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |
63 |
- |
|
|