2016-04-11 12:02:10 +02:00
|
|
|
h3 Task Templates
|
|
|
|
button.btn.btn-success.btn-xs.pull-right(ng-click="add()") New Template
|
|
|
|
|
|
|
|
table.table
|
|
|
|
thead: tr
|
|
|
|
th Playbook
|
|
|
|
th SSH Key
|
|
|
|
th Inventory
|
|
|
|
th Environment
|
|
|
|
th Repository
|
2016-04-16 21:42:57 +02:00
|
|
|
th
|
2016-04-11 12:02:10 +02:00
|
|
|
tbody: tr(ng-repeat="tpl in templates")
|
|
|
|
td {{ tpl.playbook }}
|
|
|
|
td {{ sshKeysAssoc[tpl.ssh_key_id].name }}
|
|
|
|
td {{ inventoryAssoc[tpl.inventory_id].name }}
|
|
|
|
td {{ environmentAssoc[tpl.environment_id].name }}
|
2016-04-16 21:42:57 +02:00
|
|
|
td {{ reposAssoc[tpl.repository_id].name }}
|
2016-04-17 02:20:23 +02:00
|
|
|
td
|
|
|
|
button.btn.btn-danger.btn-xs.pull-right(ng-click="remove(tpl)") remove
|
|
|
|
button.btn.btn-success.btn-xs.pull-right(ng-click="run(tpl)" style="margin-right: 10px;") run
|