Bug 30952: Staff interface redesign (header)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / batchMod.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% SET footerjs = 1 %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>[% IF ( del ) %]Batch item deletion[% ELSE %]Batch item modification[% END %] &rsaquo; Tools &rsaquo; Koha</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7 </head>
8 <body id="tools_batchMod" class="tools">
9 [% WRAPPER 'header.inc' %]
10     [% INCLUDE 'cat-search.inc' %]
11 [% END %]
12
13 [% WRAPPER 'sub-header.inc' %]
14 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15     <ol>
16         <li>
17             <a href="/cgi-bin/koha/mainpage.pl"><i class="fa fa-home"></i></a>
18         </li>
19         <li>
20             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
21         </li>
22
23         [% IF ( del ) %]
24             <li>
25                 <a href="#" aria-current="page">
26                     Batch item deletion
27                 </a>
28             </li>
29         [% ELSE %]
30             <li>
31                 <a href="#" aria-current="page">
32                     Batch item modification
33                 </a>
34             </li>
35         [% END %]
36     </ol>
37 </nav>
38 [% END %]
39
40 <div class="main container-fluid">
41     <div class="row">
42         <div class="col-sm-10 col-sm-push-2">
43             <main>
44
45                 <h1>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h1>
46                         <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl">
47                             <fieldset class="rows">
48                                 <legend>Use a file</legend>
49                                   <ol>
50                       <li>
51                     <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li>
52                     <li>
53                     <label for="itemid_file">Item number file: </label><input type="radio" name="filecontent" value="itemid_file" id="itemid_file" />
54                       </li>
55                                     <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
56                                 </ol>
57                             </fieldset>
58                             <fieldset class="rows">
59                                 <legend>Or scan items one by one</legend>
60                                 <ol>
61                                     <li>
62                                       <label for="barcodelist">Barcode list (one barcode per line): </label>
63                                       <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
64                                     </li>
65                                 </ol>
66                             </fieldset>
67                             <input type="hidden" name="op" value="show" />
68
69                             [% UNLESS del %]
70                                 <fieldset class="rows">
71                                     <legend>Use default values</legend>
72                                     <ol class="radio">
73                                         <li>
74                                             <label>
75                                                 <input type="checkbox" name="use_default_values" id="use_default_values" />
76                                                 Populate fields with default values from default framework
77                                             </label>
78                                         </li>
79                                     </ol>
80                                 </fieldset>
81                             [% END %]
82
83                             [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
84                             <fieldset class="action">
85                                 <input type="submit" value="Continue" class="button" />
86                 <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
87                             </fieldset>
88
89                         </form>
90
91             </main>
92         </div> <!-- /.col-sm-10.col-sm-push-2 -->
93
94         <div class="col-sm-2 col-sm-pull-10">
95             <aside>
96                 [% INCLUDE 'tools-menu.inc' %]
97             </aside>
98         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
99      </div> <!-- /.row -->
100
101 [% MACRO jsinclude BLOCK %]
102     [% Asset.js("js/tools-menu.js") | $raw %]
103 [% END %]
104
105 [% INCLUDE 'intranet-bottom.inc' %]