github.html
37 lines
| 1.7 KiB
| text/html
|
HtmlLexer
r0 | <div class="modal-header"> | |||
<h3 class="m-t-0">Add issue to Github</h3> | ||||
</div> | ||||
<div class="modal-body"> | ||||
<div class="alert alert-danger" ng-repeat="msg in ctrl.error_messages">{{msg}}</div> | ||||
<div class="text-center" ng-show="ctrl.loading"> | ||||
<span class="fa fa-cog fa-spin fa-5x loader m-a-4"></span> | ||||
</div> | ||||
<form role="form" ng-show="!ctrl.loading"> | ||||
<div class="form-group"> | ||||
<label for="issue_title">Issue Title</label> | ||||
<input type="text" class="form-control" id="issue_title" placeholder="Issue title" ng-model="ctrl.form.title"> | ||||
</div> | ||||
<div class="form-group row"> | ||||
<div class="col-sm-6"> | ||||
<label for="issue_status">Tag</label> | ||||
<select class="form-control" id="issue_status" ng-options="s for s in ctrl.statuses" ng-model="ctrl.form.status"></select> | ||||
</div> | ||||
<div class="col-sm-6"> | ||||
<label for="issue_responsible">Assignee</label> | ||||
<select class="form-control" id="issue_responsible" ng-options="a.user for a in ctrl.assignees" ng-model="ctrl.form.responsible"></select> | ||||
</div> | ||||
</div> | ||||
<div class="form-group"> | ||||
<label for="issue_description">Description</label> | ||||
<textarea id="issue_description" class="form-control" ng-model="ctrl.form.content" style="min-height: 100px"></textarea> | ||||
</div> | ||||
</form> | ||||
</div> | ||||
<div class="modal-footer"> | ||||
<button class="btn btn-primary" ng-click="ctrl.ok()">Add issue</button> | ||||
<button class="btn btn-warning" ng-click="ctrl.cancel()">Cancel</button> | ||||
</div> | ||||