Skip to content

Commit

Permalink
Use tooltips insead of help-block
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Mar 9, 2018
1 parent 9e8c5e5 commit 98fdb20
Show file tree
Hide file tree
Showing 2 changed files with 6,410 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/html/projects/templates/add.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98fdb20

Please sign in to comment.