7bf6936154
- Add a new build button to the build history page -
27 lines
1.3 KiB
HTML
27 lines
1.3 KiB
HTML
<div class="dockerfile-build-dialog-element">
|
|
<!-- Modal message dialog -->
|
|
<div class="modal fade" id="dockerfilebuildModal">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
<h4 class="modal-title">
|
|
Start new Dockerfile build
|
|
</h4>
|
|
</div>
|
|
<div class="modal-body token-dialog-body">
|
|
<div class="alert alert-danger" ng-show="errorMessage">
|
|
{{ errorMessage }}
|
|
</div>
|
|
<div class="dockerfile-build-form" repository="repository" upload-failed="handleBuildFailed(message)"
|
|
build-started="handleBuildStarted(build)" build-failed="handleBuildFailed(message)" start-now="startCounter"
|
|
has-dockerfile="hasDockerfile" uploading="uploading" building="building"></div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-primary" ng-click="startBuild()" ng-disabled="building || uploading || !hasDockerfile">Start Build</button>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
|
</div>
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div><!-- /.modal -->
|
|
</div>
|