-
Notifications
You must be signed in to change notification settings - Fork 0
/
control.html
189 lines (127 loc) · 9.12 KB
/
control.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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cred Data Controller</title>
<meta name="description" content="Ideo CoLab demo control interface" />
<meta name="keywords" content="CoLab, IoT, blockchain, internet of things" />
<meta name="author" content="CoLab" />
<!-- <link rel="shortcut icon" href="../favicon.ico"> -->
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!-- FONT
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link href="https://fonts.googleapis.com/css?family=Roboto:700" rel="stylesheet">
<script src="https://use.fontawesome.com/b1ea2d65a4.js"></script>
<script src="js/modernizr.custom.js"></script>
</head>
<body style="background: #4795ea;">
<!-- Header
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!-- Begin of Moving Pages
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div id="pt-main" class="pt-perspective">
<!-- Begin Page 1 -->
<div class="pt-page pt-page-1">
<div class="container">
<div class="row" style="margin-top: 5%;">
</div>
</div>
<!-- Search bar -->
<div class="container">
<div class="row">
<div class="box">
<h1 style="font-size: 20px; margin-left:6.8%;">Data Controller</h1>
<br>
<button onclick="setAuthScore1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth1H</button>
<button onclick="setAuthScore1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth1L</button>
<button onclick="setAuthScore2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth2H</button>
<button onclick="setAuthScore2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth2L</button>
<button onclick="setAuthScore3high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth3H</button>
<button onclick="setAuthScore3low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">auth3L</button>
<br>
<button onclick="setAuthConf1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf1H</button>
<button onclick="setAuthConf1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf1L</button>
<button onclick="setAuthConf2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf2H</button>
<button onclick="setAuthConf2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf2L</button>
<button onclick="setAuthConf3high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf3H</button>
<button onclick="setAuthConf3low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">aConf3L</button>
<br>
<button onclick="datez1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ1H</button>
<button onclick="datez1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ1L</button>
<button onclick="datez2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ2H</button>
<button onclick="datez2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ2L</button>
<button onclick="datez3high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ3H</button>
<button onclick="datez3low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateZ3L</button>
<br>
<button onclick="datesd1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD1H</button>
<button onclick="datesd1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD1L</button>
<button onclick="datesd2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD2H</button>
<button onclick="datesd2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD2L</button>
<button onclick="datesd3high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD3H</button>
<button onclick="datesd3low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">dateSD3L</button>
<br>
<button onclick="statsz1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statZ1H</button>
<button onclick="statsz1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statZ1L</button>
<button onclick="statsz2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statZ2H</button>
<button onclick="statsz2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statZ2L</button>
<button onclick="statssd1high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statsSD3H</button>
<button onclick="statssd1low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statsSD3L</button>
<button onclick="statssd2high()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statsSD3H</button>
<button onclick="statssd2low()" style="background-color: #45B257; border-radius: 50%; width: 80px; height: 80px; margin-left:6.8%;">statsSD3L</button>
<br>
<button onclick="calculate()" style="background-color: #45B257; border-radius: 50%; width: 180px; height: 180px; margin-left:6.8%;">calculate</button>
</div>
</div>
</div>
<!-- <div class="contianer">
<div class="row">
<button onclick="checkInput()">Check Input</button>
</div>
</div> -->
</div>
<!-- End of Page 1 -->
</div>
<!-- End of Moving Pages -->
<!-- Update Broswer -->
<div class="pt-message">
</div>
<!-- Triggers and Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="pt-triggers">
<div class="container" style="">
<div id="dl-menu">
<ul class="dl-menu">
<div class="nav">
<!-- <li data-animation="1"><a href="#"><button class="icon"><i class="fa fa-phone" aria-hidden="true"></i></a></li>
<li data-animation="2"><a href="#"><button class="icon"><i class="fa fa-question" aria-hidden="true"></i></a></li> -->
</div>
</ul>
</div>
</div>
</div>
<!-- /triggers -->
<!-- Scripts
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<!-- App -->
<script src="https://www.gstatic.com/firebasejs/3.6.5/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDFnLR12NLwc8ZHFzq6YDwnDqz6sqPJOwI",
authDomain: "mediatrust-49aae.firebaseapp.com",
databaseURL: "https://mediatrust-49aae.firebaseio.com",
storageBucket: "mediatrust-49aae.appspot.com",
messagingSenderId: "251423011387"
};
firebase.initializeApp(config);
</script>
<script src="js/app.js"></script>
<!-- End
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>