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