Revision 62389
Added by Andreas Mantas over 1 year ago
datasource-create-form.component.html | ||
---|---|---|
57 | 57 |
<form-inline [description]="issnDesc" [valid]="group.get('issn').valid"> |
58 | 58 |
<span *ngIf="group.get('issn').invalid && group.get('issn').touched && group.get('issn').dirty" |
59 | 59 |
class="help-block inline uk-text-danger" |
60 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Issn needs to be of the form: "1111-1111" or "1111-111X"</span> |
|
60 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Issn needs to be of the form: "1111-1111" or "1111-111X" or "11111111" or "1111111X"</span>
|
|
61 | 61 |
<input formControlName="issn" class="md-input" type="text" |
62 | 62 |
(focus)="group.get('issn').markAsUntouched()" (blur)="group.get('issn').updateValueAndValidity()"> |
63 | 63 |
</form-inline> |
... | ... | |
71 | 71 |
<form-inline [description]="eissnDesc" [valid]="group.get('eissn').valid"> |
72 | 72 |
<span *ngIf="group.get('eissn').invalid && group.get('eissn').touched && group.get('eissn').dirty" |
73 | 73 |
class="help-block inline uk-text-danger" |
74 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Eissn needs to be of the form: "1111-1111" or "1111-111X"</span> |
|
74 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Eissn needs to be of the form: "1111-1111" or "1111-111X" or "11111111" or "1111111X"</span>
|
|
75 | 75 |
<input formControlName="eissn" class="md-input" type="text" |
76 | 76 |
(focus)="group.get('eissn').markAsUntouched()" (blur)="group.get('eissn').updateValueAndValidity()"> |
77 | 77 |
</form-inline> |
... | ... | |
85 | 85 |
<form-inline [description]="lissnDesc" [valid]="group.get('lissn').valid"> |
86 | 86 |
<span *ngIf="group.get('lissn').invalid && group.get('lissn').touched && group.get('lissn').dirty" |
87 | 87 |
class="help-block inline uk-text-danger" |
88 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Lissn needs to be of the form: "1111-1111" or "1111-111X"</span> |
|
88 |
style="margin-top: 0px; margin-bottom: 0px; padding-left: 10px;">Lissn needs to be of the form: "1111-1111" or "1111-111X" or "11111111" or "1111111X"</span>
|
|
89 | 89 |
<input formControlName="lissn" class="md-input" type="text" |
90 | 90 |
(focus)="group.get('lissn').markAsUntouched()" (blur)="group.get('lissn').updateValueAndValidity()"> |
91 | 91 |
</form-inline> |
... | ... | |
111 | 111 |
<form-inline [description]="countryDesc" [valid]="group.get('country')"> |
112 | 112 |
<select formControlName="country" class="md-input"> |
113 | 113 |
<option value="">-- none selected --</option> |
114 |
<option *ngFor="let country of countries" value="{{country.code}}" title="{{country.name}}">{{ country.name }}</option>
|
|
114 |
<option *ngFor="let country of countries" value="{{country.code}}">{{ country.name }}</option> |
|
115 | 115 |
</select> |
116 | 116 |
</form-inline> |
117 | 117 |
</div> |
... | ... | |
277 | 277 |
<form-inline [description]="datasourceTypeDesc" [valid]="group.get('datasourceType').valid"> |
278 | 278 |
<select formControlName="datasourceType" class="md-input"> |
279 | 279 |
<option value="">-- none selected --</option> |
280 |
<option *ngFor="let key of classCodes" value="{{key}}">{{ datasourceClasses[key] }}</option>
|
|
280 |
<option *ngFor="let key of classCodes" value="{{key}}">{{ datasourceClasses.get(key) }}</option>
|
|
281 | 281 |
</select> |
282 | 282 |
</form-inline> |
283 | 283 |
</div> |
Also available in: Unified diff
svn merge -r 62321:HEAD http://svn.driver.research-infrastructures.eu/driver/dnet45/modules/uoa-repository-dashboard-gui/branches/new-datasource-mode