2015-03-27 21:07:06 +00:00
|
|
|
<div class="trigger-setup-custom-element">
|
|
|
|
<div class="selected-info" ng-show="nextStepCounter > 0">
|
2015-03-31 21:12:40 +00:00
|
|
|
<table style="width: 100%;">
|
|
|
|
<tr ng-show="nextStepCounter > 0">
|
|
|
|
<td width="200px">Repository</td>
|
2015-04-01 17:31:51 +00:00
|
|
|
<td>{{ state.build_source }}</td>
|
2015-03-31 21:12:40 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr ng-show="nextStepCounter > 1">
|
|
|
|
<td>Dockerfile Location:</td>
|
|
|
|
<td>
|
|
|
|
<div class="dockerfile-location">
|
2015-04-01 17:31:51 +00:00
|
|
|
<i class="fa fa-folder fa-lg"></i> {{ state.subdir == '/' || !state.subdir ? '(Repository Root)' : subdir }}
|
2015-03-31 21:12:40 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</table>
|
2015-03-27 21:07:06 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Step view -->
|
|
|
|
<div class="step-view" next-step-counter="nextStepCounter" current-step-valid="currentStepValid"
|
2015-03-31 21:12:40 +00:00
|
|
|
steps-completed="stepsCompleted()">
|
|
|
|
|
|
|
|
<!-- Git URL Input -->
|
2015-04-01 17:31:51 +00:00
|
|
|
<div class="step-view-step" complete-condition="trigger['config']['build_source']" load-callback="nopLoad(callback)"
|
2015-03-31 21:12:40 +00:00
|
|
|
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%;"
|
2015-04-01 17:31:51 +00:00
|
|
|
ng-model="state.build_source" ng-pattern="/(git|http|https):\/\/(.+)(\.git)/">
|
2015-03-31 21:12:40 +00:00
|
|
|
</div>
|
2015-03-27 21:07:06 +00:00
|
|
|
|
2015-03-31 21:12:40 +00:00
|
|
|
<!-- Dockerfile folder select -->
|
2015-04-01 17:31:51 +00:00
|
|
|
<div class="step-view-step" complete-condition="trigger.$ready" load-callback="nopLoad(callback)"
|
2015-03-31 21:12:40 +00:00
|
|
|
load-message="Loading Folder Input">
|
|
|
|
<div style="margin-bottom: 12px">Dockerfile Location:</div>
|
|
|
|
<input class="form-control" type="text" placeholder="/" style="width: 100%;"
|
2015-04-01 17:31:51 +00:00
|
|
|
ng-model="state.subdir" ng-pattern="/^($|\/|\/.+)/">
|
2015-03-31 21:12:40 +00:00
|
|
|
</div>
|
2015-03-27 21:07:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|