-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (82 loc) · 4.16 KB
/
index.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
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
<html>
<head>
<meta charset="utf-8"/>
<title>Features</title>
<link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="static/images/favicon.ico" type="image/x-icon">
<link href='http://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet' type='text/css'>
<!-- Load jQuery -->
<script src="//code.jquery.com/jquery-1.12.3.js"></script>
<!-- Load JsRender latest version, from www.jsviews.com: -->
<script src="//www.jsviews.com/download/jsrender.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
crossorigin="anonymous"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap3-dialog/1.34.9/css/bootstrap-dialog.min.css" rel="stylesheet" type="text/css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap3-dialog/1.34.9/js/bootstrap-dialog.min.js"></script>
<link rel="stylesheet" type="text/css" href="static/css/app.css"/>
</head>
<body style="padding: 30px;" >
<script language="JavaScript">
if(localStorage.getItem('deploymentFeatures.isAdmin')){
document.write('<button type="button" class="btn btn-default navbar-btn" onclick="sendEmail();">Send email</button>');
}
</script>
<div class="panel panel-info">
<!-- Default panel contents -->
<div class="panel-heading">Features</div>
<table class=table>
<thead>
<tr>
<th class="col-fnf">FnF</th>
<th class="col-usweb02" >Us-web02</th>
<th class="col-checkpoint" >Checkpoint</th>
<th class="col-owner">Owner</th>
<th>Task</th>
<th>Feature Toggle</th>
<th class="col-checkbox">Tests</th>
<th class="col-checkbox">Demo</th>
</tr>
</thead>
<tbody>
<script id="featuresTemplate" type="text/x-jsrender">
<tr id="tr-{{>_id}}">
<td style="text-align: center; vertical-align: middle; width: 50px;">
<input type="checkbox" id="fnf_{{>_id}}" onchange="verifyChanged(this)"/>
</td>
<td style="text-align: center; vertical-align: middle; width: 100px;">
<input type="checkbox" id="usweb02_{{>_id}}" onchange="verifyChanged(this)"/>
</td>
<td style="text-align: center; vertical-align: middle; width: 100px;">
<input type="checkbox" id="checkpoint_{{>_id}}" onchange="verifyChanged(this)"/>
</td>
<td class="col-owner">{{>author_name}}</td>
<td>{{>message}}</td>
<td>
<select id="featureflag_{{>_id}}" onchange="featureFlagChanged(this)">
<option id="featureflag_na_{{>_id}}" value="featureflag_na">N/A</option>
<option id="featureflag_on_{{>_id}}" value="featureflag_on">On</option>
<option id="featureflag_off_{{>_id}}" value="featureflag_off">Off</option>
</select>
</td>
<td class="col-checkbox">
<input type="checkbox" id="unittests_{{>_id}}" onchange="verifyChanged(this)"/>
</td>
<td class="col-checkbox">
<input type="checkbox" id="demo_{{>_id}}" onchange="verifyChanged(this)"/>
</td>
</tr>
</script>
</tbody>
</table>
</div>
<script src="static/js/app.js"></script>
</body>
</html>