Semaphore/public/html/projects/templates/list.pug

22 lines
653 B
Plaintext
Raw Normal View History

h3 Task Templates
button.btn.btn-success.btn-xs.pull-right(ng-click="add()") New Template
table.table.table-hover
thead: tr
2016-11-15 16:44:41 +01:00
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;")
2016-11-15 16:44:41 +01:00
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 }}
2016-04-17 02:20:23 +02:00
td
2016-11-15 16:44:41 +01:00
button.btn.btn-success.btn-xs.pull-right(ng-click="run(tpl); $event.stopPropagation();") run