Project

General

Profile

« Previous | Next » 

Revision 57985

merged r57351:r57972 from trunk to new-ui

View differences:

compatibility-validate-type.component.html
51 51
                    </li>
52 52
                  </ul>
53 53
                </div>
54
                <div class="content clearfix" style="height: 660px">
55

  
54
                <div class="step {{ (currentStep > 0) ? 'active' : '' }}">
55
                  <div>
56
                    {{ (type === 'cris') ? 'Finish' : 'Next' }}
57
                    <span></span>
58
                  </div>
59
                </div>
60
                <div *ngIf="(type !== 'cris')" class="step {{ (currentStep > 1) ? 'active' : '' }}">
61
                  <div>
62
                    Select parameters
63
                    <span></span>
64
                  </div>
65
                </div>
66
                <div *ngIf="(type !== 'cris')" class="step {{ (currentStep > 2) ? 'active' : '' }} ">
67
                  <div>
68
                    Finish
69
                    <span></span>
70
                  </div>
71
                </div>
72
              </div>
73
            </div>
74
            <div class="content">
75
              <div>
76
                <div class="animated fadeInRight stepContent">
77
                  <div *ngIf="errorMessage && (type!=='cris' && errorMessage!=='No rule sets were found')" class="uk-alert uk-alert-danger">{{ errorMessage }}</div>
56 78
                  <div *ngIf="loadingMessage" class="loading-big">
57 79
                    <div class="loader-big" style="text-align: center; padding-top: 170px; color: rgb(47, 64, 80); font-weight: bold;">
58 80
                      {{ loadingMessage }}
......
138 160
                  </ul>
139 161
                </div>
140 162
              </div>
141

  
142
            </form>
143

  
163
            </div>
164
            <div *ngIf="!loadingMessage" class="wizardActions">
165
              <button *ngIf="((currentStep === 1) || (currentStep === 2)) && (type !== 'cris') && !loadingMessage"
166
                      class="uk-button uk-button-grey-light uk-margin-small-right" type="button"
167
                      (click)="moveBackAStep()">
168
                <i class="fa fa-angle-double-left"></i>
169
                Back
170
              </button>
171
              <button *ngIf="((currentStep < 3) && !loadingMessage)"
172
                      class="uk-button uk-button-grey-light uk-margin-small-left" type="button"
173
                      (click)="(type !== 'cris') ? moveAStep() : (moveAStep() + submitForValidation())">
174
                <span class="{{((currentStep === 2) || ((type === 'cris') && (currentStep === 1))) ? 'uk-link' : ''}}">
175
                  {{ ((currentStep < 2) && (type !== 'cris')) || (currentStep === 0) ? 'Next' : 'Finish' }}
176
                </span>
177
                <i class="fa fa-angle-double-right"></i>
144 178
          </div>
145 179
        </div>
146 180
      </div>

Also available in: Unified diff