Bug 27631: admin folder
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / overdrive.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Branches %]
4 [% USE HtmlTags %]
5 [% SET footerjs = 1 %]
6 [% INCLUDE 'doc-head-open.inc' %]
7 <title>OverDrive library authnames &rsaquo; Administration &rsaquo; Koha</title>
8 [% INCLUDE 'doc-head-close.inc' %]
9 </head>
10
11 <body id="admin_overdrive" class="admin">
12
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'prefs-admin-search.inc' %]
15
16 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
17     <ol>
18         <li>
19             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
20         </li>
21         <li>
22             <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23         </li>
24         <li>
25             <a href="#" aria-current="page">OverDrive library authnames</a>
26         </li>
27     </ol>
28 </nav>
29
30 <div class="main container-fluid">
31     <div class="row">
32         <div class="col-sm-10 col-sm-push-2">
33             <main>
34
35                 <h1>OverDrive library authnames</h1>
36
37                 <form action="/cgi-bin/koha/admin/overdrive.pl" name="overdrive_form" method="post" class="validated">
38                     <input type="hidden" name="op" value="update" />
39
40                     <table id="od_info">
41                         <thead>
42                             <tr>
43                                 <th>Library</th>
44                                 <th>Authname</th>
45                             </tr>
46                         </thead>
47                         <tbody>
48                             [% FOREACH b IN branches %]
49                             <tr>
50                                 <td>
51                                     [% Branches.GetName( b.branchcode ) | html %]
52                                     <input type="hidden" name="branchcode" value="[% b.branchcode | html %]" />
53                                 </td>
54                                 <td>
55                                     <input type="text" name="authname" value="[% b.authname | html %]" />
56                                 </td>
57                             </tr>
58                             [% END %]
59                         </tbody>
60                     </table>
61                     <div class="action">
62                         <input type="submit" value="Submit" />
63                     </div>
64                 </form>
65
66             </main>
67         </div> <!-- /.col-sm-10.col-sm-push-2 -->
68
69         <div class="col-sm-2 col-sm-pull-10">
70             <aside>
71                 [% INCLUDE 'admin-menu.inc' %]
72             </aside>
73         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
74     </div> <!-- /.row -->
75
76 [% MACRO jsinclude BLOCK %]
77     [% Asset.js("js/admin-menu.js") | $raw %]
78     [% INCLUDE 'datatables.inc' %]
79     <script>
80         $(document).ready(function() {
81             $("#od_info").dataTable($.extend(true, {}, dataTablesDefaults, {
82                 "aoColumnDefs": [
83                     { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false },
84                 ],
85                 "sPaginationType": "full"
86             }));
87         });
88     </script>
89 [% END %]
90
91 [% INCLUDE 'intranet-bottom.inc' %]