Semaphore/lib/views/playbook/add.jade

27 lines
861 B
Plaintext
Raw Normal View History

2014-08-25 01:02:34 +02:00
h1 Add Playbook
form.form-horizontal
.form-group
label.control-label.col-sm-4 Name
.col-sm-7
input.form-control(type="text" placeholder="Playbook Name" ng-model="playbook.data.name")
.form-group
label.control-label.col-sm-4 Location
.col-sm-7
input.form-control(type="text" placeholder="Git Location" ng-model="playbook.data.location")
.form-group
label.control-label.col-sm-4 Vault Password
.col-sm-7
input.form-control(type="text" placeholder="Vault Password" ng-model="playbook.data.vault_password")
.form-group
label.control-label.col-sm-4 Credentials
.col-sm-7
select.form-control(ng-options="credential._id as credential.name for credential in credentials" ng-model="playbook.data.credential")
option(value="") None Selected
2014-08-25 01:02:34 +02:00
.form-group
.col-sm-7.col-sm-offset-4
2014-08-25 12:35:49 +02:00
button.btn.btn-default(ng-click="add()") Add