custom trigger: more wizard progress
This commit is contained in:
parent
7d1d53ebcb
commit
d2f9a8838c
4 changed files with 43 additions and 12 deletions
|
@ -1,16 +1,39 @@
|
|||
<div class="trigger-setup-custom-element">
|
||||
<!-- Current selected info, is this even necessary? -->
|
||||
<div class="selected-info" ng-show="nextStepCounter > 0">
|
||||
<table style="width: 100%;">
|
||||
<tr ng-show="nextStepCounter > 0">
|
||||
<td width="200px">Repository</td>
|
||||
<td>{{ state.gitURL }}</td>
|
||||
</tr>
|
||||
|
||||
<tr ng-show="nextStepCounter > 1">
|
||||
<td>Dockerfile Location:</td>
|
||||
<td>
|
||||
<div class="dockerfile-location">
|
||||
<i class="fa fa-folder fa-lg"></i> {{ state.currentLocation || '(Repository Root)' }}
|
||||
</div>
|
||||
</td>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Step view -->
|
||||
<div class="step-view" next-step-counter="nextStepCounter" current-step-valid="currentStepValid"
|
||||
steps-completed="stepsCompleted()">
|
||||
steps-completed="stepsCompleted()">
|
||||
|
||||
<!-- Git URL Input -->
|
||||
<div class="step-view-step" complete-condition="state.gitURL">
|
||||
<div style="margin-bottom: 12px;">Please enter the URL used to clone the your git repository:</div>
|
||||
<input type="text" ng-pattern="">
|
||||
</div>
|
||||
<!-- Git URL Input -->
|
||||
<div class="step-view-step" complete-condition="state.gitURL" load-callback="nopLoad(callback)"
|
||||
load-message="Loading Git URL Input">
|
||||
<div style="margin-bottom: 12px;">Please enter the URL used to clone your git repository:</div>
|
||||
<input class="form-control" type="text" placeholder="git://example.com/namespace/repository.git" style="width: 100%;"
|
||||
ng-model="state.gitURL" ng-pattern="/(git|http|https):\/\/(.*)(\.git)/">
|
||||
</div>
|
||||
|
||||
<!-- Dockerfile folder select -->
|
||||
<div class="step-view-step" complete-condition="state.currentLocation" load-callback="nopLoad(callback)"
|
||||
load-message="Loading Folder Input">
|
||||
<div style="margin-bottom: 12px">Dockerfile Location:</div>
|
||||
<input class="form-control" type="text" placeholder="/" style="width: 100%;"
|
||||
ng-model="state.currentLocation">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Reference in a new issue