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-03 21:18:28 +00:00
|
|
|
<i class="fa fa-folder fa-lg"></i> {{ state.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-04-21 22:04:25 +00:00
|
|
|
steps-completed="stepsCompleted()">
|
2015-03-31 21:12:40 +00:00
|
|
|
|
|
|
|
<!-- Git URL Input -->
|
2015-04-21 22:04:25 +00:00
|
|
|
<!-- TODO(jschorr): make nopLoad(callback) no longer required -->
|
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">
|
2015-04-03 21:18:28 +00:00
|
|
|
<div style="margin-bottom: 12px;">Please enter an HTTP or SSH style 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.build_source" ng-pattern="/(((http|https):\/\/)(.+)|\w+@(.+):(.+))/">
|
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>
|