]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/share/barcodes/barcode-select.component.html
LP 2061136 follow-up: ng lint --fix
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / share / barcodes / barcode-select.component.html
1
2 <ng-template #dialogContent>
3   <div class="modal-header bg-info">
4     <h4 class="modal-title">
5       <span i18n>Select Barcode</span>
6     </h4>
7     <button type="button" class="close" 
8       i18n-aria-label aria-label="Close" (click)="close()">
9       <span aria-hidden="true">&times;</span>
10     </button>
11   </div>
12   <div class="modal-body">
13     <div class="alert alert-primary m-1 mb-3" i18n>Select the desired barcode.</div>
14           <ng-container *ngFor="let match of matches">
15                   <div class="form-check mb-2">
16                           <input class="form-check-input" type="checkbox" value="" 
17           id="barcode-check-{{match.id}}" [(ngModel)]="inputs[match.id]"
18           (ngModelChange)="selectionChanged()">
19                           <label class="form-check-label" for="barcode-check-{{match.id}}">
20           {{match.barcode}}
21                           </label>
22                   </div>
23     </ng-container>
24   </div>
25   <div class="modal-footer">
26     <button type="button" class="btn btn-success" [disabled]="!selected"
27       (click)="close(selected)" i18n>Select</button>
28     <button type="button" class="btn btn-warning" 
29       (click)="close()" i18n>Cancel</button>
30   </div>
31 </ng-template>
32