Bug 27846: (follow-up) Add id back to breadcrumbs container
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / spinelabel-home.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]<title>Koha &rsaquo; Tools &rsaquo; Quick spine label creator</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 </head>
7
8 <body id="labels_spinelabel-home" class="tools labels">
9 [% INCLUDE 'header.inc' %]
10 [% INCLUDE 'cat-search.inc' %]
11
12 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
13     <ol>
14         <li>
15             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16         </li>
17         <li>
18             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
19         </li>
20         <li>
21             <a href="#" aria-current="page">
22                 Quick spine label creator
23             </a>
24         </li>
25     </ol>
26 </nav>
27
28 <div class="main container-fluid">
29     <div class="row">
30         <div class="col-sm-10 col-sm-push-2">
31             <main>
32
33                         <h2>Quick spine label creator</h2>
34                 <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
35                                 <fieldset class="brief">
36                                 <ol>
37                                         <li><label for="barcode">Barcode: </label>
38                         <input type="text" name="barcode" id="barcode" class="focus" required="required" />
39                                         </li>
40                                 </ol>
41                                 <fieldset class="action"><input type="submit" value="View spine label" /></fieldset>
42                                 </fieldset>
43                                 </form>
44
45             </main>
46         </div> <!-- /.col-sm-10.col-sm-push-2 -->
47
48         <div class="col-sm-2 col-sm-pull-10">
49             <aside>
50                 [% INCLUDE 'tools-menu.inc' %]
51             </aside>
52         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
53      </div> <!-- /.row -->
54
55 [% MACRO jsinclude BLOCK %]
56     [% Asset.js("js/tools-menu.js") | $raw %]
57     <script>
58         $(document).ready(function(){
59             $("#spinelabelprint").on("submit", function(e){
60                 e.preventDefault();
61                 var params = $(this).serialize();
62                 openWindow("/cgi-bin/koha/labels/spinelabel-print.pl?" + params,"Print spine label",400,400);
63                 $("#barcode").val("").focus();
64             });
65         });
66     </script>
67 [% END %]
68
69 [% INCLUDE 'intranet-bottom.inc' %]