Project

General

Profile

« Previous | Next » 

Revision 59151

changed interface-form error to warning, skipped baseUrl identification and added comment field

View differences:

datasource-new-interface-form.component.html
26 26

  
27 27
    <div class="md-card-content">
28 28
      <div *ngIf="successMessage" class="uk-alert uk-alert-success" style="clear: both">{{ successMessage }}</div>
29
      <div *ngIf="errorMessage" class="uk-alert uk-alert-danger" style="clear: both">{{ errorMessage }}</div>
29
      <div *ngIf="errorMessage" class="uk-alert" [ngClass]="{'uk-alert-warning': errorMessage == invalidCustomBaseUrl,
30
                'uk-alert-danger': errorMessage != invalidCustomBaseUrl}" style="clear: both">{{ errorMessage }}</div>
30 31

  
31 32
      <div class="md-input-wrapper uk-margin-medium-top {{ (repoInterfaceForm.get('baseUrl') != null) ? 'md-input-filled' : '' }}">
32 33
        <label class="" for="baseUrl" title="{{ baseUrlDesc.desc }}">Base OAI-PMH URL (*)</label>
33
        <span *ngIf="identifiedBaseUrl" class="help-block inline" style="margin-top: 8px; margin-bottom: 0px; padding-left: 10px; display: block;">
34
        <span *ngIf="showIdentifiedBaseUrl" class="help-block inline" style="margin-top: 8px; margin-bottom: 0px; padding-left: 10px; display: block;">
34 35
          Identified
35 36
        </span>
36 37
        <input id="baseUrl" type="text" class="md-input" formControlName="baseUrl" (blur)="getInterfaceInfo()">
......
136 137
        <!--<label class="uk-form-controls-text control-label">Current Compatibility Level</label>-->
137 138
        <!--<div *ngIf="existingCompLevel">{{ existingCompLevel ? existingCompLevel : 'not available' }}</div>-->
138 139
      <!--</div>-->
140

  
141
      <div class="uk-margin-medium-top">
142
        <label class="" for="comments" title="{{ commentsDesc.desc }}">Comments</label>
143
        <textarea id="comments" class="uk-textarea" rows="3" formControlName="comments"></textarea>
144
      </div>
145

  
139 146
    </div>
140 147

  
141 148
  </div>

Also available in: Unified diff