LP2000482 Angular 15 and Bootstrap 5 upgrade
[evergreen-equinox.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="btn-close btn-close-white" 
8       i18n-aria-label aria-label="Close" (click)="close()"></button>
9   </div>
10   <div class="modal-body">
11     <div class="alert alert-primary m-1 mb-3" i18n>Select the desired barcode.</div>
12           <ng-container *ngFor="let match of matches">
13                   <div class="form-check mb-2">
14                           <input class="form-check-input" type="checkbox" value="" 
15           id="barcode-check-{{match.id}}" [(ngModel)]="inputs[match.id]"
16           (ngModelChange)="selectionChanged()">
17                           <label class="form-label form-check-label" for="barcode-check-{{match.id}}">
18           {{match.barcode}}
19                           </label>
20                   </div>
21     </ng-container>
22   </div>
23   <div class="modal-footer">
24     <button type="button" class="btn btn-success" [disabled]="!selected"
25       (click)="close(selected)" i18n>Select</button>
26     <button type="button" class="btn btn-warning" 
27       (click)="close()" i18n>Cancel</button>
28   </div>
29 </ng-template>
30