Owen Leonard
3c887b4e07
This patch modifies the staff client label creator templates so that JavaScript is included in the footer instead of the header. To test, apply the patch and test the JavaScript-driven features of each modified template: All button controls, DataTables functionality, form validation, etc. This patch also modifies the templates to use the Bootstrap grid instead of YUI, and removes obsolete "text/javascript" attributes from <script> tags and "text/css" attributes from <style> tags in the modified templates. To test, apply the patch and test the following interactions: - Creating and managing layouts - Creating and managing batches - Creating and managing templates - Creating and managing printer profiles - Creating quick spine labels Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
43 lines
1.4 KiB
Text
43 lines
1.4 KiB
Text
[% USE Asset %]
|
|
[% SET footerjs = 1 %]
|
|
<!DOCTYPE html>
|
|
[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
|
|
<head>
|
|
<title>Koha › Tools › Spine labels</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
[% Asset.css("css/spinelabel.css") %]
|
|
<style>
|
|
@media print {
|
|
.noprint { display: none; }
|
|
}
|
|
</style>
|
|
[% IF ( IntranetUserCSS ) %]<style>[% IntranetUserCSS %]</style>[% END %]
|
|
</head>
|
|
|
|
[% IF ( BarcodeNotFound ) %]
|
|
<body id="labels_spinelabel-print" class="tools labels">
|
|
<p>The barcode [% Barcode |html %] was not found.</p>
|
|
<p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
|
|
[% ELSE %]
|
|
[% IF ( autoprint ) %]
|
|
<body id="labels_spinelabel-print" class="tools labels" onload="window.print()">
|
|
[% ELSE %]
|
|
<body id="labels_spinelabel-print" class="tools labels">
|
|
[% END %]
|
|
<span id="spinelabel" class="label">
|
|
[% content %]
|
|
</span>
|
|
<span id="print_button" class="noprint">
|
|
<button onclick="window.print()">Print this slabel</button>
|
|
</span>
|
|
[% END %]
|
|
|
|
[% IF ( IntranetUserJS ) %]
|
|
[% Asset.js( "lib/jquery/jquery-2.2.3.min.js" ) %]
|
|
[% Asset.js( "lib/jquery/jquery-migrate-1.3.0.min.js" ) %]
|
|
<script>
|
|
[% IntranetUserJS %]
|
|
</script>
|
|
[% END %]
|
|
|
|
[% INCLUDE 'popup-bottom.inc' %]
|