-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstatus.html
214 lines (179 loc) · 7.37 KB
/
status.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
<!doctype html>
<html lang="en">
<head>
<title>Schneider | Status</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="private cabinet for electricity contract settlement">
<meta name="keywords" content="Schneider">
<link rel="dns-prefetch" href="//fonts.googleapis.com">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/materialize.css" type="text/css" rel="stylesheet" media="screen,projection" />
<link href="css/style.css" type="text/css" rel="stylesheet" media="screen,projection" />
</head>
<body data-spy="scroll" data-target="#navbar" data-offset="30">
<nav class="white" role="navigation">
<div class="nav-wrapper container">
<a id="logo-container" href="/" class="brand-logo">Schneider</a>
<ul class="right hide-on-med-and-down">
<li><a class='token_balance teal-text' style="font-weight: bold;"> ... </a></li>
<li><a href="/">Overview</a></li>
<li class="active"><a class="teal-text" href="/pay.html">Order now</a></li>
</ul>
<ul id="nav-mobile" class="sidenav">
<li><a class='token_balance teal-text' style="font-weight: bold;"> ... </a></li>
<li><a href="/">Overview</a></li>
<li class="active"><a class="teal-text" href="/pay.html">Order now</a></li>
</ul>
<a href="#" data-target="nav-mobile" class="sidenav-trigger">
<i class="material-icons">menu</i></a>
</div>
</nav>
<div class="container">
<div class="section" id="overview">
<h2 class="center teal-text darken-3">Status</h2>
<!-- <div class="col center" style="margin-top: 20px;">
<span style="font-size: 20px;">
Some information about this exact contract
</span>
</div> -->
<div class="col center" style="margin-bottom: 20px">
<span style="font-size: 14px;" class="contract-address">
0x...
<!-- 0xPyPa1LyP4PoshLiP0l7ch4tZ4rpl4tyViT0gEvS3P3rePut4l1 -->
</span>
</div>
<div class="progress" style="margin-bottom: 80px; margin-top: 40px">
<div class="progress-timeline determinate"></div>
</div>
<div class="row">
<div class="col center m6 s12">
<span class="black-text">
currently monthly consumption
</span>
<div class="black-text" style="font-size: 60px; border-bottom: dotted 5px black; white-space: nowrap;">
<span id="status_page_span_number_1" class="future-cons-data" style="font-size: 60px;">
...
</span>
<span style="font-size: 30px;">
kWh
</span>
</div>
</div>
<div class="col center m6 s12">
<span class="teal-text">
promised monthly consumption
</span>
<div class="teal-text" style="font-size: 60px; border-bottom: solid 5px teal; white-space: nowrap;">
<span id="status_page_span_number_2" class="future-cons-data" style="font-size: 60px;">
...
</span>
<span style="font-size: 30px;">
kWh
</span>
</div>
</div>
</div>
<div class="row" style="margin-top: 80px;">
<div class="col center m6 s12">
<span class="black-text">
estimated usual consumption
</span>
<div class="black-text" style="font-size: 60px; border-bottom: dotted 5px black; white-space: nowrap;">
<span style="font-size: 40px;">
~
</span>
<span id="status_page_span_number_3" class="future-cons-data" style="font-size: 80px;">
...
</span>
<span style="font-size: 40px;">
kWh
</span>
</div>
</div>
<div class="col center m6 s12">
<span class="teal-text">
current consumed
</span>
<div class="teal-text" style="font-size: 60px; border-bottom: solid 5px teal; white-space: nowrap;">
<span id="status_page_span_number_4" class="future-cons-data" style="font-size: 80px;">
...
</span>
<span style="font-size: 40px;">
kWh
</span>
</div>
</div>
</div>
</div>
</div>
<div class="row" style="margin-top: 40px">
<div class="pay-button col center s12" style="margin-top: 20px">
<span style="font-size: 30px;">
<a id="sneaky_button" onclick="updateStatusPage()" class="btn-large waves-effect waves-light purple lighten">
UPDATE
</a>
</span>
</div>
<div id="sneaky_progress_bar" class="progress-bar col hide center s12" data-loader-for="pay-button">
<div class="progress">
<div class="indeterminate"></div>
</div>
</div>
</div>
<div class="parallax-container valign-wrapper">
<div class="section no-pad-bot">
<div class="container">
<div class="row center">
<h5 class="header col s12 light">save your planet</h5>
</div>
</div>
</div>
<div class="parallax"><img src="background3.jpg" alt="Unsplashed background img 3"></div>
</div>
<footer class="page-footer teal">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">Company</h5>
<p class="grey-text text-lighten-4">
We are a team of college students working on this project like it's our full time job.
</p>
</div>
<div class="col l3 s12">
<h5 class="white-text">Sources</h5>
<ul>
<li><a class="white-text" href="https://github.com/energy-hack">github</a></li>
<li><a class="white-text" href="https://github.com/energy-hack/schneider-electric-contracts">smart contract</a></li>
</ul>
</div>
<div class="col l3 s12">
<h5 class="white-text">Team</h5>
<ul>
<li><a class="white-text" href="https://bykhun.com">@caffeinum</a></li>
<li><a class="white-text" href="https://tele.click/quasa">@quasar</a></li>
<li><a class="white-text" href="https://tele.click/dmitx">@dmitx</a></li>
<li><a class="white-text" href="https://tele.click/Yuliaazak">Yulia</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Developed by <a class="white-text" href="https://github.com/energy-hack">winners</a>. CSS by <a class="brown-text text-lighten-3"
href="http://materializecss.com">Materialize Framework</a>
</div>
</div>
</footer>
<!-- Scripts-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<script src="js/materialize.js"></script>
<script src="js/init.js"></script>
<script src="js/web3.js"></script>
<script src="js/ERC20ABI.js"></script>
<script src="js/SchneiderSysABI.js"></script>
<script src="js/SchneiderSysBIN.js"></script>
<script src="js/wallet.js"></script>
<script src="js/script.js"></script>
</body>