Semaphore/public/html/projects/templates/list.jade
Matej Kramny 990f1e7f90 Improve UI, add Names to things
- Document some more
- Add names to Repository/environment/inventory
- UI for new Template
2016-04-11 11:02:10 +01:00

16 lines
447 B
Plaintext

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
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 }}
td {{ reposAssoc[tpl.repository_id].name }}