Semaphore/public/html/projects/templates/list.pug
Matej Kramny 80538908a8 update contributing.md
- fix ./make.sh watch
- rename .jade -> .pug
2017-02-22 03:51:23 -08:00

22 lines
653 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 Alias
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.alias }}
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