]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/holds/note-dialog.component.html
LP2000482 Angular 15 and Bootstrap 5 upgrade
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / holds / note-dialog.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title">Add Hold Note for Hold #{{holdId}}</h4>
4     <button type="button" class="btn-close btn-close-white"
5       i18n-aria-label aria-label="Close" (click)="close()"></button>
6   </div>
7   <div class="modal-body form-validated">
8     <div class="form-group form-check">
9       <input type="checkbox" class="form-check-input" 
10         id="patron-visible-cbox" [(ngModel)]="pub">
11       <label class="form-label form-check-label" 
12         for="patron-visible-cbox" i18n>Patron Visible?</label>
13     </div>
14     <div class="form-group form-check">
15       <input type="checkbox" class="form-check-input" 
16         id="hold-slip-cbox" [(ngModel)]="slip">
17       <label class="form-label form-check-label" 
18         for="hold-slip-cbox" i18n>Print on Slip?</label>
19     </div>
20     <div class="form-group">
21       <label class="form-label" for="title-input" i18n>Note Title</label>
22       <input type="text" class="form-control" id="title-input" required [(ngModel)]="title"/>
23     </div>
24     <div class="form-group">
25       <label class="form-label" for="body-input" i18n>Note Body</label>
26       <textarea class="form-control" id="body-input" required [(ngModel)]="body">
27       </textarea>
28     </div>
29     <div class="w-100">
30       <button class="btn btn-success ms-auto" (click)="createNote()"
31         [disabled]="!title || !body" i18n>Create Note</button>
32       <button class="btn btn-warning ms-2" (click)="close()" i18n>Cancel</button>
33     </div>
34   </div>
35 </ng-template>