Semaphore/public/html/projects/repositories/add.jade
Matej Kramny 990f1e7f90 Improve UI, add Names to things
- Document some more
- Add names to Repository/environment/inventory
- UI for new Template
2016-04-11 11:02:10 +01:00

20 lines
759 B
Plaintext

.modal-header
h4.modal-title Create Repository
.modal-body
form.form-horizontal
.form-group
label.control-label.col-sm-4 Name
.col-sm-6
input.form-control(type="text" ng-model="repo.name" placeholder="Friendly Repository Name")
.form-group
label.control-label.col-sm-4 Repository
.col-sm-6
input.form-control(type="text" ng-model="repo.git_url" placeholder="git@github.com:user/repo.git")
.form-group
label.control-label.col-sm-4 SSH Key
.col-sm-6
select.form-control(ng-model="repo.ssh_key_id" ng-options="key.id as key.name for key in keys")
option(value="") -- Select SSH Key --
.modal-footer
button.btn.btn-default.pull-left(ng-click="$dismiss()") Dismiss
button.btn.btn-success(ng-click="$close(repo)") Create