1
|
<div>
|
2
|
<div class="interfaceActionsPanel">
|
3
|
<a (click)="saveInterface()"><i class="fa fa-save fa-lg"></i></a>
|
4
|
</div>
|
5
|
<div>
|
6
|
<h5>OpenDOAR Interface (non-removable)</h5>
|
7
|
</div>
|
8
|
</div>
|
9
|
<div>
|
10
|
<div [formGroup]="group">
|
11
|
<div *ngIf="successMessage" class="uk-alert uk-alert-success" style="display:none;" aria-hidden="true">{{ successMessage }}</div>
|
12
|
<div *ngIf="errorMessage" class="uk-alert uk-alert-danger" style="display:none;" aria-hidden="true">{{ errorMessage }}</div>
|
13
|
<div class="form-group has-success">
|
14
|
<label class="control-label" for="baseUrl">Base OAI-PMH URL (*)</label>
|
15
|
<span class="help-block inline" style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">
|
16
|
Identified
|
17
|
</span>
|
18
|
<input id="baseUrl" type="text" class="form-control" formControlName="baseUrl" value="">
|
19
|
</div>
|
20
|
<div class="form-group">
|
21
|
<label class="control-label">Validation Set</label>
|
22
|
<div>
|
23
|
<label class="uk-button validationSetRadio" for="selectValidationSet">
|
24
|
<input value="select" name="validationSet" type="radio" (change)="chooseValSet(true)">
|
25
|
<span>Choose existing</span>
|
26
|
</label>
|
27
|
</div>
|
28
|
<select id="selectValidationSet" formControlName="selectValidationSet" class="form-control" >
|
29
|
<option value="">-- none selected --</option>
|
30
|
</select>
|
31
|
<div>
|
32
|
<label class="uk-button validationSetRadio" for="customValidationSet">
|
33
|
<input value="custom" name="validationSet" type="radio" (change)="chooseValSet(false)">
|
34
|
<span>or a custom one</span>
|
35
|
</label>
|
36
|
</div>
|
37
|
<input id="customValidationSet" formControlName="customValidationSet" class="form-control" type="text">
|
38
|
</div>
|
39
|
<div class="form-group">
|
40
|
<label class="control-label" for="compLvl">Desired Compatibility Level (*)</label>
|
41
|
<select class="form-control" #compLvl id="compLvl" name="compatibilityLevel" formControlname="compatibilityLevel">
|
42
|
<option value="">-- none selected --</option>
|
43
|
</select>
|
44
|
</div>
|
45
|
<div>
|
46
|
<label class="uk-form-controls-text control-label">Current Compatibility Level</label>
|
47
|
<div *ngIf="compLvl.value == ''">not available</div>
|
48
|
<div *ngIf="compLvl.value" >{{ compLvl.value }}</div>
|
49
|
</div>
|
50
|
</div>
|
51
|
</div>
|