Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/overdrive.tt
Owen Leonard 6c7c97f67c Bug 22015: Move DataTables CSS to global include
DataTables are used on enough pages in the staff client that it
doesn't make sense to put inclusion of the CSS into each template
where it is needed. This patch moves includes of datatables.css from
individual templates into the global header file.

To test, apply the patch and view various pages which have DataTables.
View various styles of DataTables, e.g.

 - Full pagination, like item search results
 - Four-button, like Saved SQL reports

Everything should look the same as it was.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-02-19 19:40:35 +00:00

65 lines
1.9 KiB
Text

[% USE raw %]
[% USE Asset %]
[% USE Branches %]
[% USE HtmlTags %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Administration &rsaquo; Library OverDrive Info &rsaquo;</title>
[% INCLUDE 'doc-head-close.inc' %]
</head>
<body id="admin_overdrive" class="admin">
[% INCLUDE 'header.inc' %]
<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;
</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form action="/cgi-bin/koha/admin/overdrive.pl" name="overdrive_form" method="post" class="validated">
<input type="hidden" name="op" value="update" />
<fieldset class="rows">
<legend>
OverDrive
</legend>
<table id="od_info">
<thead>
<th>Branch</th>
<th>Authname</th>
</thead>
<tbody>
[% FOREACH b IN branches %]
<tr>
<td>
[% Branches.GetName( b.branchcode ) | html %]
<input type="hidden" name="branchcode" value="[% b.branchcode | html %]" />
</td>
<td>
<input type="text" name="authname" value="[% b.authname | html %]" />
</td>
</tr>
[% END %]
</tbody>
</table>
<input type="submit" value="Submit">
</form>
</div>
</div>
<div class="yui-b">
[% INCLUDE 'admin-menu.inc' %]
</div>
</div>
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/admin-menu.js") | $raw %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'columns_settings.inc' %]
<script type="text/javascript">
</script>
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]