Lines 4-66
Link Here
|
4 |
[% USE HtmlTags %] |
4 |
[% USE HtmlTags %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
7 |
<title>Koha › Administration › Library OverDrive Info ›</title> |
7 |
<title>Koha › Administration › OverDrive</title> |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
9 |
[% Asset.css("css/datatables.css") | $raw %] |
9 |
[% Asset.css("css/datatables.css") | $raw %] |
10 |
</head> |
10 |
</head> |
11 |
|
11 |
|
12 |
<body id="admin_overdrive" class="admin"> |
12 |
<body id="admin_overdrive" class="admin"> |
|
|
13 |
|
13 |
[% INCLUDE 'header.inc' %] |
14 |
[% INCLUDE 'header.inc' %] |
|
|
15 |
[% INCLUDE 'prefs-admin-search.inc' %] |
14 |
|
16 |
|
15 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/overdrive.pl">Library OverDrive Info</a> › |
17 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › <a href="/cgi-bin/koha/admin/overdrive.pl">OverDrive</a> |
16 |
</div> |
18 |
</div> |
17 |
|
19 |
|
18 |
<div id="doc3" class="yui-t2"> |
20 |
<div class="main container-fluid"> |
|
|
21 |
<div class="row"> |
22 |
<div class="col-sm-10 col-sm-push-2"> |
23 |
<main> |
19 |
|
24 |
|
20 |
<div id="bd"> |
25 |
<h2>OverDrive</h2> |
21 |
<div id="yui-main"> |
|
|
22 |
<div class="yui-b"> |
23 |
|
26 |
|
24 |
<form action="/cgi-bin/koha/admin/overdrive.pl" name="overdrive_form" method="post" class="validated"> |
27 |
<form action="/cgi-bin/koha/admin/overdrive.pl" name="overdrive_form" method="post" class="validated"> |
25 |
<input type="hidden" name="op" value="update" /> |
28 |
<input type="hidden" name="op" value="update" /> |
26 |
<fieldset class="rows"> |
|
|
27 |
<legend> |
28 |
OverDrive |
29 |
</legend> |
30 |
<table id="od_info"> |
31 |
<thead> |
32 |
<th>Branch</th> |
33 |
<th>Authname</th> |
34 |
</thead> |
35 |
<tbody> |
36 |
[% FOREACH b IN branches %] |
37 |
<tr> |
38 |
<td> |
39 |
[% Branches.GetName( b.branchcode ) | html %] |
40 |
<input type="hidden" name="branchcode" value="[% b.branchcode | html %]" /> |
41 |
</td> |
42 |
<td> |
43 |
<input type="text" name="authname" value="[% b.authname | html %]" /> |
44 |
</td> |
45 |
</tr> |
46 |
[% END %] |
47 |
</tbody> |
48 |
</table> |
49 |
<input type="submit" value="Submit"> |
50 |
</form> |
51 |
|
29 |
|
52 |
</div> |
30 |
<table id="od_info"> |
53 |
</div> |
31 |
<thead> |
54 |
<div class="yui-b"> |
32 |
<tr> |
55 |
[% INCLUDE 'admin-menu.inc' %] |
33 |
<th>Branch</th> |
56 |
</div> |
34 |
<th>Authname</th> |
57 |
</div> |
35 |
</tr> |
|
|
36 |
</thead> |
37 |
<tbody> |
38 |
[% FOREACH b IN branches %] |
39 |
<tr> |
40 |
<td> |
41 |
[% Branches.GetName( b.branchcode ) | html %] |
42 |
<input type="hidden" name="branchcode" value="[% b.branchcode | html %]" /> |
43 |
</td> |
44 |
<td> |
45 |
<input type="text" name="authname" value="[% b.authname | html %]" /> |
46 |
</td> |
47 |
</tr> |
48 |
[% END %] |
49 |
</tbody> |
50 |
</table> |
51 |
<div class="action"> |
52 |
<input type="submit" value="Submit" /> |
53 |
</div> |
54 |
</form> |
55 |
|
56 |
</main> |
57 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
58 |
|
59 |
<div class="col-sm-2 col-sm-pull-10"> |
60 |
<aside> |
61 |
[% INCLUDE 'admin-menu.inc' %] |
62 |
</aside> |
63 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
64 |
</div> <!-- /.row --> |
58 |
|
65 |
|
59 |
[% MACRO jsinclude BLOCK %] |
66 |
[% MACRO jsinclude BLOCK %] |
60 |
[% Asset.js("js/admin-menu.js") | $raw %] |
67 |
[% Asset.js("js/admin-menu.js") | $raw %] |
61 |
[% INCLUDE 'datatables.inc' %] |
68 |
[% INCLUDE 'datatables.inc' %] |
62 |
[% INCLUDE 'columns_settings.inc' %] |
69 |
<script> |
63 |
<script type="text/javascript"> |
70 |
$(document).ready(function() { |
|
|
71 |
$("#od_info").dataTable($.extend(true, {}, dataTablesDefaults, { |
72 |
"aoColumnDefs": [ |
73 |
{ "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, |
74 |
], |
75 |
"sPaginationType": "four_button" |
76 |
})); |
77 |
}); |
64 |
</script> |
78 |
</script> |
65 |
[% END %] |
79 |
[% END %] |
|
|
80 |
|
66 |
[% INCLUDE 'intranet-bottom.inc' %] |
81 |
[% INCLUDE 'intranet-bottom.inc' %] |
67 |
- |
|
|