Semaphore/public/html/projects/templates/list.jade
Matej Kramny ea0245b550 Events
- Complete more UI work
- Show events on dashboard & project dashboard
- Show list of tasks
2016-04-16 20:42:57 +01:00

18 lines
536 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
th  
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 }}
td: button.btn.btn-danger.btn-xs.pull-right(ng-click="remove(tpl)") remove