blob: 5885a61b27a29c798942ba7ad220486a5fcd0733 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
<div class="ball" style="padding:5px;">
<div class="modal-body">
<div class="form-horizontal">
<fieldset>
<div class="form-group">
<legend>{{projectModalCtrl.data.text}}</legend>
<div class="row">
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label"> Project Name: </label>
</div>
<div class="col-sm-6">
<input type="text" class="form-control" ng-model="projectModalCtrl.project.project"/>
<p class="help-block"></p>
</div>
</div>
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label"> Trust Indicator: </label>
</div>
<div class="col-sm-6">
<button class="btn btn-primary" ng-click="projectModalCtrl.openTrustIndicatorModal()">Add Trust Indicator</button>
<p class="help-block"></p>
</div>
</div>
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label"> Score: </label>
</div>
<div class="col-sm-6">
<button class="btn btn-primary" ng-click="projectModalCtrl.openScoreModal()">Add Score</button>
<p class="help-block"></p>
</div>
</div>
<div class="update-project">
<div class="col-sm-4">
<label for="cpid" class="control-label"> Custom: </label>
</div>
<div class="col-sm-6">
<button class="btn btn-primary" ng-click="projectModalCtrl.openCustomModal()">Add Custom</button>
<p class="help-block"></p>
</div>
</div>
</div>
</div>
</fieldset>
</div>
<div class='clo-md-12' style="padding-right:0px">
<h3>Scores</h3>
<div class="table-responsive">
<table class="table table-bordered table-hover" ng-data="projectModalCtrl.project.scores">
<thead>
<tr style="
text-align: center;">
<th style="width: 1%;">Score</th>
<th style="width: 19%;">Date</th>
</tr>
</thead>
<tbody>
<tr ng-repeat-start="(index, score) in projectModalCtrl.project.scores" style="padding:9px">
<td>{{score.score}}</td>
<td>{{score.date}}</td>
</tr>
<tr ng-repeat-end=>
</tr>
</tbody>
</table>
</div>
</div>
<div class='clo-md-12' style="padding-right:0px">
<h3>Trust Indicator</h3>
<div class="table-responsive">
<table class="table table-bordered table-hover" ng-data="projectModalCtrl.project.trust_indicators">
<thead>
<tr style="
text-align: center;">
<th style="width: 1%;">Status</th>
<th style="width: 19%;">Date</th>
</tr>
</thead>
<tbody>
<tr ng-repeat-start="(index, trustIndicator) in projectModalCtrl.project.trust_indicators" style="padding:9px">
<td>{{trustIndicator.status}}</td>
<td>{{trustIndicator.date}}</td>
</tr>
<tr ng-repeat-end=>
</tr>
</tbody>
</table>
</div>
</div>
<div class='clo-md-12' style="padding-right:0px">
<h3>Customs</h3>
<div class="table-responsive">
<table class="table table-bordered table-hover" ng-data="projectModalCtrl.project.customs">
<thead>
<tr style="
text-align: center;">
<th style="width: 1%;">Custom</th>
</tr>
</thead>
<tbody>
<tr ng-repeat-start="(index, custom) in projectModalCtrl.project.customs" style="padding:9px">
<td>{{custom}}</td>
</tr>
<tr ng-repeat-end=>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="modal-footer">
<div ng-show="projectModalCtrl.showCreateError" style="padding:0px;" class="col-md-6 alert alert-danger" role="alert">
<span class="pull-right"> {{projectModalCtrl.error}}</span>
<span class="glyphicon glyphicon-exclamation-sign pull-right" aria-hidden="true" >Error:</span>
</div>
<button class="btn btn-primary" ng-click="projectModalCtrl.confirm()">Ok</button>
<button class="btn btn-default" ng-click="projectModalCtrl.cancel()">Cancel</button>
</div>
</div>
|