]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/staff/circ/patron/bucket/t_delete_all.tt2
LP#1689608: Batch user editing
[Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / bucket / t_delete_all.tt2
1 <!-- edit bucket dialog -->
2 <style>
3 progress {
4   text-align: center;
5   height: 25px;
6   width: 500px;
7   margin-bottom: 10px;
8 }
9
10 progress:before {
11   content: attr(label);
12   position: relative;
13   top: 5px;
14 }
15 </style>
16
17 <form class="form-validated" novalidate ng-submit="ok(args)" name="form">
18   <div>
19     <div class="modal-header">
20       <button type="button" class="close" 
21         ng-click="cancel()" aria-hidden="true">&times;</button>
22       <h4 class="modal-title">[% l('Delete all users') %]</h4>
23     </div>
24     <div class="modal-body">
25       <div class="form-group">
26         <label for="edit-delete-name">[% l('Name for delete set') %]</label>
27         <input type="text" class="form-control" focus-me='focusMe' required
28           id="edit-delete-name" ng-model="args.name" placeholder="[% l('Name...') %]"/>
29       </div>
30     </div>
31     <div class="modal-footer">
32       <input type="submit" class="btn btn-primary" 
33           ng-disabled="form.$invalid" value="[% l('Apply Changes') %]"/>
34       <button class="btn btn-warning" ng-click="cancel()"
35           ng-class="{disabled : actionPending}">[% l('Cancel') %]</button>
36     </div>
37     <div class="modal-body" ng-show='running'>
38       <div ng-repeat="progress in states">
39         <progress label="{{progress.label}}" max="{{progress.max}}" value="{{progress.count}}">{{progress.label}}</progress>
40       </div>
41     </div>
42   </div> <!-- modal-content -->
43 </form>