mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-22 16:20:44 +01:00
0f180756ab
- Restructuring & co
48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
h1 Jobs
|
|
button.btn.btn-default.pull-right(ng-click="add()") Add Job
|
|
|
|
table.table.table-hover
|
|
thead
|
|
tr
|
|
th Job Name
|
|
th Play File
|
|
th
|
|
tbody
|
|
tr(ng-repeat="job in jobs.jobs")
|
|
td {{ job.data.name }}
|
|
td {{ job.data.play_file }}
|
|
td
|
|
.btn-group.pull-right
|
|
button.btn.btn-default(ng-click="runJob(job)"): i.fa.fa-fw.fa-play
|
|
button.btn.btn-danger(ng-click="deleteJob(job)"): i.fa.fa-trash-o.fa-fw
|
|
|
|
#addJob.modal.fade
|
|
.modal-dialog
|
|
.modal-content(ng-controller="AddJobCtrl")
|
|
.modal-header
|
|
button(data-dismiss="modal").close: span ×
|
|
h4.modal-title Add Job
|
|
.modal-body
|
|
form.form-horizontal
|
|
.form-group
|
|
label.control-label.col-sm-4 Name
|
|
.col-sm-7
|
|
input.form-control(type="text" placeholder="Group Name" ng-model="job.data.name")
|
|
|
|
.form-group
|
|
label.control-label.col-sm-4 Play
|
|
.col-sm-7
|
|
input.form-control(type="text" placeholder="myplay.yml" ng-model="job.data.play_file")
|
|
|
|
.form-group
|
|
.col-sm-7.col-sm-offset-4
|
|
.checkbox
|
|
label
|
|
input(type="checkbox" ng-model="job.data.use_vault")
|
|
| Use Vault
|
|
|
|
.form-group
|
|
.col-sm-7.col-sm-offset-4
|
|
button.btn.btn-default(ng-click="add()") Add Job
|
|
|
|
blockquote Jobs tell Semaphore which task file to run in your playbook. |