LP#1849208 - Add PostgreSQL 10 Makfile.install targets
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / cat / vandelay / match-set-new-point.component.html
1 <div class="row ml-2 mt-4 p-2 border border-secondary" *ngIf="values.pointType">
2   <div class="col-lg-12 common-form striped-odd form-validated">
3     <ng-container *ngIf="values.pointType=='attr'">
4       <div class="row mb-1">
5         <div class="col-lg-3" i18n>Record Attribute:</div>
6         <div class="col-lg-4">
7           <eg-combobox [entries]="bibAttrDefEntries"
8             [required]="true" 
9             (onChange)="values.recordAttr=$event ? $event.id : ''"
10             placeholder="Record Attribute..." i18n-placeholder>                       
11           </eg-combobox>  
12         </div>
13       </div>
14     </ng-container>
15     <ng-container *ngIf="values.pointType=='marc'">
16       <div class="row mb-1">
17         <div class="col-lg-3" i18n>Tag:</div>
18         <div class="col-lg-2">
19           <input required type="text" class="form-control" [(ngModel)]="values.marcTag"/>
20         </div>
21       </div>
22       <div class="row mb-1">
23         <div class="col-lg-3" i18n>Subfield ‡:</div>
24         <div class="col-lg-2">
25           <input required type="text" class="form-control" [(ngModel)]="values.marcSf"/>
26         </div>
27       </div>
28     </ng-container>
29     <ng-container *ngIf="values.pointType=='heading'">
30       <div class="row mb-1">
31         <div class="col-lg-3" i18n>Normalized Heading:</div>
32         <div class="col-lg-2">
33           <input type="checkbox" class="form-check-input" checked disabled/>
34         </div>
35       </div>
36     </ng-container>
37     <ng-container *ngIf="values.pointType!='bool'">
38       <div class="row mb-1">
39         <div class="col-lg-3">Match Score:</div>
40         <div class="col-lg-2">
41           <input required type="number" class="form-control" 
42             [(ngModel)]="values.matchScore" step="0.1"/>
43         </div>
44       </div>
45       <ng-container *ngIf="!isForQuality">
46         <div class="row mb-1">
47           <div class="col-lg-3">Negate:</div>
48           <div class="col-lg-2">
49             <input type="checkbox" 
50               class="form-check-input" [(ngModel)]="values.negate"/>
51           </div>
52         </div>
53       </ng-container>
54     </ng-container>
55     <ng-container *ngIf="values.pointType=='bool'">
56       <div class="row mb-1">
57         <div class="col-lg-3">Operator:</div>
58         <div class="col-lg-2">
59           <select class="form-control" [(ngModel)]="values.boolOp">
60             <option value='AND' i18n>AND</option>
61             <option value='OR' i18n>OR</option>
62           </select>
63         </div>
64       </div>
65     </ng-container>
66     <ng-container *ngIf="isForQuality">
67       <div class="row mb-1">
68         <div class="col-lg-3" i18n>Value:</div>
69         <div class="col-lg-2">
70           <input type="text" class="form-control" required 
71             [(ngModel)]="values.value"/>
72         </div>
73       </div>
74     </ng-container>
75   </div>
76 </div>
77