LP#1739286: Revert "lp1739286 default search box in Z39.50"
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / share / t_replace_barcode.tt2
1 <div>
2 <div class="row ">
3   <div class="col-md-1"></div>
4   <div class="col-md-6">
5     <h2 class="center-block">[% l('Replace Item Barcode') %]</h2>
6   </div>
7 </div>
8
9 <div class="row pad-vert">
10   <div class="col-md-1"></div>
11   <div ng-class="{'col-md-6': !isModal, 'col-md-10': isModal}">
12     <form role="form" ng-submit="updateBarcode()">
13       <div class="form-group">
14         <label for="barcode1">[% l('Enter Original Barcode for Item') %]</label>
15         <input type="text" class="form-control" id="barcode1" required
16           ng-model="barcode1"
17           placeholder="[% l('Original Barcode...') %]" select-me="focusBarcode">
18       </div>
19       <div class="form-group">
20         <label for="barcode2">[% l('Enter New Barcode for Item') %]</label>
21         <input type="text" class="form-control" id="barcode2" select-me="focusBarcode2"
22           ng-model="barcode2"
23           required placeholder="[% l('New Barcode...') %]">
24       </div>
25       <button type="submit" class="btn btn-default">[% l('Submit') %]</button>
26       <button ng-if="isModal" class="btn btn-warning" ng-click="cancel($event)">[% l('Cancel') %]</button>
27     </form>
28   </div>
29 </div>
30
31 <div class="row pad-vert">
32   <div class="col-md-6">
33     <div class="alert alert-danger" ng-if="copyNotFound">
34       [% l('Copy Not Found') %]
35     </div>
36     <div class="alert alert-success" ng-if="updateOK">
37       <span>[% l('Copy Updated') %]</span>
38       <span class="horiz-pad" ng-if="copyId">
39         <a href="./cat/item/{{copyId}}/summary" target="_self">
40           [% l('View Item Details') %]
41         </a>
42     </div>
43   </div>
44 </div>
45 </div>