View | Details | Raw Unified | Return to bug 21646
Collapse All | Expand All

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

Return to bug 21646