Bug 20100: Introduce preference ProtectSuperlibPrivs
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / spinelabel-print.tt
1 [% USE Asset %]
2 <!DOCTYPE html>
3 [% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %]
4 <head>
5 <title>Koha &rsaquo; Tools &rsaquo; Spine labels</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 [% Asset.css("css/spinelabel.css") %]
8
9                 <style type="text/css">
10                 @media print {
11                         .noprint { display: none; }
12                 }
13         </style>
14 [% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %]
15 [% IF ( IntranetUserJS ) %]
16     [% Asset.js("lib/jquery/jquery-2.2.3.min.js") %]
17     [% Asset.js("lib/jquery/jquery-migrate-1.3.0.min.js") %]
18     <script type="text/javascript">
19     //<![CDATA[
20     [% IntranetUserJS %]
21     //]]>
22     </script>
23 [% END %]
24 </head>
25         [% IF ( BarcodeNotFound ) %]
26                 <body id="labels_spinelabel-print" class="tools labels">
27             <p>The barcode [% Barcode |html %] was not found.</p>
28             <p><a href="spinelabel-home.pl">Return to spine label printer</a></p>
29                 </body>
30         [% ELSE %]
31                 [% IF ( autoprint ) %]
32             <body id="labels_spinelabel-print" class="tools labels" onload="window.print()">
33                 [% ELSE %]      
34             <body id="labels_spinelabel-print" class="tools labels">
35                 [% END %] 
36                         <span id="spinelabel" class="label">
37                                 [% content %]
38                         </span>
39                         <span id="print_button" class="noprint">
40                 <button onclick="window.print()">Print this label</button>
41                         </span>
42                 </body>
43         [% END %]
44 </html>