Use tooltips insead of help-block

This commit is contained in:
Denis 2018-02-28 22:57:37 +05:00
parent 9e8c5e5989
commit 98fdb20f6e
2 changed files with 6410 additions and 4 deletions

View File

@ -44,15 +44,15 @@
hr
.form-group
label.control-label.col-sm-4 Extra CLI Arguments (*MUST* be a JSON array!)
label.control-label.col-sm-4(uib-tooltip='*MUST* be a JSON array! Each argument must be an element of the array, for example: ["-i", "@myinventory.sh", "--private-key=/there/id_rsa", "-vvvv"]') Extra CLI Arguments
.col-sm-6
div(ui-ace="{mode: 'json', workerPath: '/public/js/ace/'}" style="height: 100px" class="form-control" ng-model="task.environment")
div(ui-ace="{mode: 'json', showGutter: false, workerPath: '/public/js/ace/'}" style="height: 100px" class="form-control" ng-model="task.environment")
.form-group
.col-sm-6.col-sm-offset-4
.checkbox: label
.checkbox(uib-tooltip="Usually semaphore prepends arguments like `--private-key=/location/id_rsa` to make sure everything goes smoothly. This option is for special needs, where semaphore conflicts with one of your arguments."): label
input(type="checkbox" ng-model="user.admin")
| Override semaphore arguments
p.help-block Usually semaphore prepends arguments like `--private-key=/location/id_rsa` to make sure everything goes smoothly. This option is for special needs, where semaphore conflicts with one of your arguments.
p.help-block
.modal-footer
button.btn.btn-default.pull-left(ng-click="$dismiss()") Dismiss
button.btn.btn-danger(ng-if="tpl.id" ng-click="$close({ remove: true })") remove

6406
util/bindata.go Normal file

File diff suppressed because one or more lines are too long