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

21 lines
735 B
Plaintext

.modal-header
h4.modal-title
span(ng-if="!env.id") New Environment
span(ng-if="env.id") Edit Environment
.modal-body
form.form-horizontal
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
.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 })")
span(ng-if="!env.id") Create
span(ng-if="env.id") Update