-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodal-template.html
42 lines (42 loc) · 1.9 KB
/
modal-template.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="exampleModalLabel">Edit Issue</h4>
</div>
<div class="modal-body">
<form novalidate class="row" >
<div class="form-group col-sm-12">
<label for="description" class="control-label">Description:</label>
<textarea class="form-control" name="description" id="description" ng-model="selectedIssue.Description">{{selectedIssue.Description}}</textarea>
</div>
<div class="form-group col-sm-6">
<label for="priority" class="control-label">Priority:</label>
<select class="form-control" id="priority" name="priority" ng-model="selectedIssue.Priority">
<option value="0">Critical</option>
<option value="1">High</option>
<option value="2">Medium</option>
<option value="3">Low</option>
</select>
</div>
<div class="form-group col-sm-6">
<label for="status" class="control-label">Status:</label>
<select class="form-control" id="status" name="status" ng-model="selectedIssue.RecordStatus">
<option value="0">Open</option>
<option value="1">Not an issue</option>
<option value="2">Wip</option>
<option value="3">Paused</option>
<option value="4">Closed</option>
<option value="5">Hidden</option>
</select>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary" ng-click="editIssue(selectedIssue)">Save changes</button>
</div>
</div>
</div>
</div>