Semaphore/public/html/projects/templates/list.jade
Matej Kramny b4cab16fda Improved UI
- Fixes #94
- Fixes admin permissions (needed to manipulate users)
2016-06-17 13:16:46 -07:00

19 lines
620 B
Plaintext

h3 Task Templates
button.btn.btn-success.btn-xs.pull-right(ng-click="add()") New Template
table.table.table-hover
thead: tr
th Playbook
th SSH Key
th Inventory
th Environment
th Repository
th  
tbody: tr(ng-repeat="tpl in templates" ng-click="update(tpl)" style="cursor: pointer;")
td {{ tpl.playbook }}
td {{ sshKeysAssoc[tpl.ssh_key_id].name }}
td {{ inventoryAssoc[tpl.inventory_id].name }}
td {{ environmentAssoc[tpl.environment_id].name }}
td {{ reposAssoc[tpl.repository_id].name }}
td
button.btn.btn-success.btn-xs.pull-right(ng-click="run(tpl); $event.stopPropagation();") run