Project

General

Profile

« Previous | Next » 

Revision 62564

Added by John Balasis about 1 year ago

ui changes at interface form

View differences:

modules/uoa-repository-dashboard-gui/trunk/src/app/shared/reusablecomponents/sources-forms/datasource-new-interface-form.component.html
24 24
                'uk-alert-danger': errorMessage != invalidCustomBaseUrl}" style="clear: both">{{ errorMessage }}
25 25
      </div>
26 26

  
27
      <div class="md-input-wrapper uk-margin-medium-top {{ (repoInterfaceForm.get('baseurl') != null) ? 'md-input-filled' : '' }}">
28
        <label class="" for="baseurl" title="{{ baseUrlDesc.desc }}">Base OAI-PMH URL (*)</label>
29
        <span *ngIf="showIdentifiedBaseUrl" class="help-block inline" style="margin-top: 8px; margin-bottom: 0px; padding-left: 10px; display: block;">
27
      <div class="md-input-wrapper uk-margin-top {{ (repoInterfaceForm.get('baseurl') != null) ? 'md-input-filled' : '' }}">
28
        <div>
29
          <label class="uk-text-bold" for="baseurl" title="{{ baseUrlDesc.desc }}">Base OAI-PMH URL (*)</label>
30
        </div>
31
        <span *ngIf="showIdentifiedBaseUrl" class="help-block inline uk-text-success" style="margin-top: 8px; margin-bottom: 0px; padding-left: 10px; display: block;">
30 32
          Identified
31 33
        </span>
34
        <span *ngIf="errorMessage == invalidCustomBaseUrl" class="help-block inline uk-text-warning" style="margin-top: 8px; margin-bottom: 0px; padding-left: 10px; display: block;">
35
          Not identified
36
        </span>
32 37
        <input id="baseurl" type="text" class="md-input" [ngClass]="{'uk-disabled': !canEdit}"
33 38
               formControlName="baseurl" (blur)="getInterfaceInfo()">
34 39
        <span class="md-input-bar"></span>
......
36 41

  
37 42

  
38 43
      <div class="radioButtonForm uk-margin-top">
39
        <label for="selectValidationSet{{interfaceID}}" class="control-label">Set</label>
44
        <label for="selectValidationSet{{interfaceID}}" class="control-label uk-text-bold">Set</label>
40 45
        <div class="md-input-wrapper">
41 46
          <select class="md-input" id="selectValidationSet{{interfaceID}}" formControlName="selectValidationSet" (change)="checkIfValid()">
42 47
            <option value="" selected>-- none selected --</option>
......
49 54

  
50 55
      <div class="md-input-wrapper md-input-filled uk-margin-medium-top">
51 56
        <div>
52
          <label class="" for="compLvl" title="{{ compatibilityLevelDesc.desc }}">Select the Guidelines with which your data source is compatible.
57
          <label class="uk-text-bold" for="compLvl" title="{{ compatibilityLevelDesc.desc }}">
58
            Desired compatibility level (*)
59
          </label>
60
          <div class="uk-comment-meta uk-text-italic uk-margin-small-top uk-margin-small-bottom">
61
            Select the Guidelines with which your data source is compatible.
53 62
            Please note that the Aggregation Team will evaluate the compatibility, so the actual compliance level may be different from which you chose.
54
          </label>
63
          </div>
55 64
        </div>
56 65
        <select class="md-input" id="compLvl" formControlName="desiredCompatibilityLevel" (change)="checkIfValid()">
57 66
          <option value="">-- none selected --</option>
......
61 70
      </div>
62 71

  
63 72
      <div class="uk-margin-medium-top">
64
        <label class="">Compatible level returned by the Validator tool after your request to register the interface.</label>
73
        <label class="uk-text-bold">Current compatibility level</label>
74
        <div class="uk-comment-meta uk-text-italic uk-margin-small-top uk-margin-small-bottom">
75
          Compatible level returned by the Validator tool after your request to register the interface.
76
        </div>
65 77
        <div class="uk-margin-small-top">{{(repoInterfaceForm.get('compatibilityLevel').value && repoInterfaceForm.get('compatibilityLevel').value !== 'UNKNOWN')
66 78
          ? this.compClasses[repoInterfaceForm.get('compatibilityLevel').value] : 'not available' }}</div>
67 79
      </div>
68 80

  
69 81
      <div class="uk-margin-medium-top">
70
        <label class="">Actual compatibility level of your data source, according to the validation process by the Aggregation Team. This is the compatibility level displayed on the data source public page in EXPLORE</label>
82
        <label class="uk-text-bold">Compatibility override</label>
83
        <div class="uk-comment-meta uk-text-italic uk-margin-small-top uk-margin-small-bottom">
84
          Actual compatibility level of your data source, according to the validation process by the Aggregation Team. This is the compatibility level displayed on the data source public page in EXPLORE
85
        </div>
71 86
        <div class="uk-margin-small-top">{{repoInterfaceForm.get('compatibilityLevelOverride').value ? this.compClasses[repoInterfaceForm.get('compatibilityLevelOverride').value] : 'not available' }}</div>
72 87
      </div>
73 88

  
74
      <div class="uk-margin-medium-top">
75
        <label class="" for="comment" title="{{ commentDesc.desc }}">Comments (What else do we need to know?)</label>
89
      <div class="uk-margin-medium-top uk-margin-bottom">
90
        <label class="uk-text-bold" for="comment" title="{{ commentDesc.desc }}">Comments (What else do we need to know?)</label>
76 91
        <textarea id="comment" class="uk-textarea" rows="3" formControlName="comment" (blur)="checkIfValid()"></textarea>
77 92
      </div>
78 93

  
modules/uoa-repository-dashboard-gui/trunk/src/app/shared/reusablecomponents/sources-forms/datasource-new-interface-form.component.ts
52 52

  
53 53
  identifiedBaseUrl: boolean;
54 54
  canEdit = true;
55
  showIdentifiedBaseUrl: boolean;
55
  showIdentifiedBaseUrl: boolean = null;
56 56
  valsetList: string[] = [];
57 57
  existingCompLevel: string;
58 58
  classCodes: string[] = [];

Also available in: Unified diff