Semaphore/public/html/projects/environment/add.pug

21 lines
735 B
Plaintext
Raw Normal View History

2016-04-11 18:54:35 +02:00
.modal-header
2016-06-14 05:40:16 +02:00
h4.modal-title
span(ng-if="!env.id") New Environment
span(ng-if="env.id") Edit Environment
2016-04-11 18:54:35 +02:00
.modal-body
form.form-horizontal
2016-06-14 05:40:16 +02:00
label.control-label Environment Name
input.form-control(type="text" ng-model="env.name" placeholder="Friendly name to identify your environment")
label.control-label Environment
textarea.form-control(ng-model="env.json" rows="20" placeholder="This has to be a JSON object")
p.help-block Must be valid JSON
2016-04-11 18:54:35 +02:00
.modal-footer
button.btn.btn-default.pull-left(ng-click="$dismiss()") Dismiss
button.btn.btn-danger(ng-click="$close({ remove: true })") Delete
button.btn.btn-success(ng-click="$close({ environment: env })")
2016-06-14 05:40:16 +02:00
span(ng-if="!env.id") Create
span(ng-if="env.id") Update