-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqa.html
48 lines (46 loc) · 2.17 KB
/
qa.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
43
44
45
46
47
48
<div ng-controller="QACtrl">
<h1>ILAB PRODUCT SECURITY STANDARDS</h1>
<form>
<div class="form-group">
<label for="projectName">Project Name:</label>
<input type="projectName" ng-model="jsonObj.projectName" class="form-control" id="projectName">
<label for="ManagersName">Manager Name:</label>
<input type="ManagerName" ng-model="jsonObj.managerName" class="form-control" id="ManagerName">
<label for="ReleaseDate">Release Date:</label>
<input type="ReleaseDate" class="form-control" id="ReleaseDate">
</div>
<uib-accordion close-others="oneAtATime">
<uib-accordion-group heading="{{item.desc}}" ng-repeat="item in items">
<div class="ans">
<button class="btn btn-primary" ng-click="myResponse($event,item.desc)">Yes</button>
<button class="btn btn-danger" ng-click="myResponse($event,item.desc)">No</button>
<!-- Button trigger modal -->
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#myModal{{$index}}">
More Info
</button>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal{{$index}}" tabindex="-1" role="dialog"
aria-labelledby="myModalTitle" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myModalTitle">More Info</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
{{item.info}}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</uib-accordion-group>
</uib-accordion>
<button ng-click="save()" type="submit" class="btn btn-default">Submit</button>
</form>
</div>