Bug 31309: Remove GetItemsInfo from basket/sendbasket
[srvgit] / 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 [% 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
21         [% IF ( del ) %]
22             <li>
23                 <a href="#" aria-current="page">
24                     Batch item deletion
25                 </a>
26             </li>
27         [% ELSE %]
28             <li>
29                 <a href="#" aria-current="page">
30                     Batch item modification
31                 </a>
32             </li>
33         [% END %]
34     </ol>
35 </nav>
36
37 <div class="main container-fluid">
38     <div class="row">
39         <div class="col-sm-10 col-sm-push-2">
40             <main>
41
42                 <h1>Batch item [% IF ( del ) %]deletion[% ELSE %]modification[% END %]</h1>
43                         <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/tools/batchMod.pl">
44                             <fieldset class="rows">
45                                 <legend>Use a file</legend>
46                                   <ol>
47                       <li>
48                     <label for="barcode_file">Barcode file: </label><input type="radio" name="filecontent" value="barcode_file" id="barcode_file" checked="checked" /></li>
49                     <li>
50                     <label for="itemid_file">Item number file: </label><input type="radio" name="filecontent" value="itemid_file" id="itemid_file" />
51                       </li>
52                                     <li><label for="uploadfile">File: </label> <input type="file" id="uploadfile" name="uploadfile" /></li>
53                                 </ol>
54                             </fieldset>
55                             <fieldset class="rows">
56                                 <legend>Or scan items one by one</legend>
57                                 <ol>
58                                     <li>
59                                       <label for="barcodelist">Barcode list (one barcode per line): </label>
60                                       <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea>
61                                     </li>
62                                 </ol>
63                             </fieldset>
64                             <input type="hidden" name="op" value="show" />
65
66                             [% UNLESS del %]
67                                 <fieldset class="rows">
68                                     <legend>Use default values</legend>
69                                     <ol class="radio">
70                                         <li>
71                                             <label>
72                                                 <input type="checkbox" name="use_default_values" id="use_default_values" />
73                                                 Populate fields with default values from default framework
74                                             </label>
75                                         </li>
76                                     </ol>
77                                 </fieldset>
78                             [% END %]
79
80                             [% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
81                             <fieldset class="action">
82                                 <input type="submit" value="Continue" class="button" />
83                 <a class="cancel" href="/cgi-bin/koha/tools/tools-home.pl">Cancel</a>
84                             </fieldset>
85
86                         </form>
87
88             </main>
89         </div> <!-- /.col-sm-10.col-sm-push-2 -->
90
91         <div class="col-sm-2 col-sm-pull-10">
92             <aside>
93                 [% INCLUDE 'tools-menu.inc' %]
94             </aside>
95         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
96      </div> <!-- /.row -->
97
98 [% MACRO jsinclude BLOCK %]
99     [% Asset.js("js/tools-menu.js") | $raw %]
100 [% END %]
101
102 [% INCLUDE 'intranet-bottom.inc' %]