2014-08-25 01:02:34 +02:00
|
|
|
h1 Add Playbook
|
|
|
|
|
2014-09-11 19:42:13 +02:00
|
|
|
.row
|
|
|
|
.col-md-6
|
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
2014-08-25 01:02:34 +02:00
|
|
|
|
2014-09-11 19:42:13 +02:00
|
|
|
form.form-horizontal(name="playbookForm")
|
|
|
|
.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" required autofocus)
|
2014-08-25 01:02:34 +02:00
|
|
|
|
2014-09-11 19:42:13 +02:00
|
|
|
.form-group
|
|
|
|
label.control-label.col-sm-4 Playbook Location
|
|
|
|
.col-sm-7
|
|
|
|
input.form-control(type="text" placeholder="Playbook Git URL" ng-model="playbook.data.location" required)
|
2014-08-25 01:02:34 +02:00
|
|
|
|
2014-09-11 19:42:13 +02:00
|
|
|
.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 Identity
|
|
|
|
.col-sm-7
|
|
|
|
select.form-control(ng-options="identity._id as identity.name for identity in identitys" ng-model="playbook.data.identity")
|
|
|
|
option(value="") None Selected
|
|
|
|
|
|
|
|
.form-group
|
|
|
|
.col-sm-7.col-sm-offset-4
|
|
|
|
button.btn.btn-success(ng-click="add()" ng-disabled="playbookForm.$invalid") Add
|
|
|
|
.col-md-6
|
|
|
|
p.lead It is recommended you use create an identity before creating palybooks.
|