##// END OF EJS Templates
utils: added get_es_info function
r159:61d79e6b
Show More
bitbucket.html
36 lines | 1.7 KiB | text/html | HtmlLexer
project: initial commit
r0 <div class="modal-header">
<h3 class="m-t-0">Add issue to Bitbucket</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_priority">Priority</label>
<select class="form-control" id="issue_priority" ng-options="s for s in ctrl.priorities" ng-model="ctrl.form.priority"></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_content">Description</label>
<textarea id="issue_content" 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>