Semaphore/public/html/projects/environment/add.jade
Matej Kramny cd5a978bb9 Environment API/UI
- Implement Environment/Inventory API
- Edit Environment
- UI to add/edit environment
2016-04-13 17:09:44 +01:00

16 lines
481 B
Plaintext

.modal-header
h4.modal-title New Environment
.modal-body
form.form-horizontal
.form-group
label.control-label.col-sm-4 Name
.col-sm-6
input.form-control(type="text" ng-model="env.name")
.form-group
.col-sm-12
textarea.form-control(ng-model="env.json" rows="20" ng-init="env.json = '{}'")
p.help-block Must be valid JSON
.modal-footer
button.btn.btn-default.pull-left(ng-click="$dismiss()") Dismiss
button.btn.btn-success(ng-click="$close(env)") Create