Webstaff: implement Operator Change (and Operator Restore)
[working/Evergreen.git] / Open-ILS / src / templates / staff / share / t_opchange.tt2
1 <!--
2   Username/password prompt for operator change
3 -->
4 <div>
5   <div class="modal-header">
6     <button type="button" class="close" 
7       ng-click="cancel()" aria-hidden="true">&times;</button>
8     <h4 class="modal-title alert alert-info">[% l('Operator Change') %]</h4> 
9   </div>
10   <div class="modal-body">
11     <div class="row">
12       <div class="col-md-4">
13         [% l('Username:') %]
14       </div>
15       <div class="col-md-1"></div>
16       <div class="col-md-7">
17         <input ng-keyup="$event.keyCode == 13 ? ok() : null" type='text' ng-model="args.username" class="form-control" focus-me="focus"/>
18       </div>
19     </div>
20     <div class="row">
21       <div class="col-md-4">
22         [% l('Password:') %]
23       </div>
24       <div class="col-md-1"></div>
25       <div class="col-md-7">
26         <input ng-keyup="$event.keyCode == 13 ? ok() : null" type='password' ng-model="args.password" class="form-control"/>
27       </div>
28     </div>
29   </div>
30   <div class="modal-footer">
31     [% dialog_footer %]
32     <input type="submit" class="btn btn-primary" 
33       ng-click="ok()" value="[% l('OK/Continue') %]"/>
34     <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>
35   </div>
36 </div>