]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/op-change/op-change.component.html
Docs: merge 3.2 release notes
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / op-change / op-change.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title" i18n>Change Operator</h4>
4     <button type="button" class="close" 
5       i18n-aria-label aria-label="Close" 
6       (click)="dismiss('cross_click')">
7       <span aria-hidden="true">&times;</span>
8     </button>
9   </div>
10   <div class="modal-body">
11     <form class="form-validated">
12       <div class="form-group row">
13         <label class="col-lg-4 text-right font-weight-bold" for="username" i18n>Username</label>
14         <input 
15           type="text" 
16           class="form-control col-lg-7"
17           id="username" 
18           name="username"
19           required
20           (keyup.enter)="login()"
21           autocomplete="username"
22           i18n-placeholder
23           placeholder="Username..." 
24           [(ngModel)]="username"/>
25       </div>
26
27       <div class="form-group row">
28         <label class="col-lg-4 text-right font-weight-bold" 
29             for="password" i18n>Password</label>
30         <input 
31           type="password" 
32           class="form-control col-lg-7"
33           id="password" 
34           name="password"
35           required
36           (keyup.enter)="login()"
37           autocomplete="current-password"
38           i18n-placeholder
39           placeholder="Password..." 
40           [(ngModel)]="password"/>
41       </div>
42
43       <div class="form-group row">
44         <label class="col-lg-4 text-right font-weight-bold" 
45             for="loginType" i18n>Login Type</label>
46         <select 
47           class="form-control col-lg-7" 
48           id="loginType" 
49           name="loginType"
50           placeholder="Login Type..."
51           i18n-placeholder
52           required
53           [(ngModel)]="loginType">
54           <option value="temp" selected i18n>Temporary</option>                   
55           <option value="staff" i18n>Staff</option>             
56           <option value="persist" i18n>Persistent</option>      
57         </select>
58       </div>
59     </form>
60   </div>
61   <div class="modal-footer">
62     <button (click)="login()" class="btn btn-info" i18n>OK/Continue</button>
63     <button (click)="dismiss('canceled')" class="btn btn-warning ml-2" i18n>Cancel</button>
64   </div>
65 </ng-template>