-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·365 lines (353 loc) · 18.8 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
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
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>EOS Resource Planner</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="author" content="Andrew Coutts">
<meta name="author" content="Gary Hobson">
<meta name="Description" content="ERP is a free and open-source tool to display the current price for EOS network storage and bandwidth resources.">
<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="favicon-128.png" sizes="128x128" />
<meta name="application-name" content="EOS Resource Planner"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="mstile-310x310.png" />
<!-- Favicons -->
<!-- Sripts -->
<link href="css/reset.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="css/convert.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/styles.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/jquery.fancybox.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/responsive.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/flexslider.css" rel="stylesheet" type="text/css" media="screen">
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<script src="js/modernizr.js" type="text/javascript"></script>
<script src="js/jquery-1.12.4.min.js" type="text/javascript"></script>
<script src="js/jquery.isotope.load.js" type="text/javascript"></script>
<!-- Scripts -->
</head>
<body>
<!-- start preloader -->
<div id="preloader">
<div id="status">
<div class="parent">
<div class="child">
<p>loading</p>
</div>
</div>
</div>
</div>
<!-- end preloader -->
<div id="wrap">
<div id="menu-button">
<div class="centralizer">
<div class="cursor">
<div id="nav-button"> <span class="nav-bar"></span> <span class="nav-bar"></span> <span class="nav-bar"></span> </div>
</div>
</div>
</div>
<!-- start header -->
<header id="header" class="clearfix">
<h1 id="logo"><a href="index.html">EOS Resource Planner</a></h1>
<!-- start main nav -->
<h4 id="headertitle">EOS Resource Planner</h4>
<nav id="main-nav">
<ul class="clearfix" id="options">
<li> <a href="#">Overview</a></li>
<li> <a href="#calc">Calculator</a></li>
</ul>
</nav>
<!-- end main nav -->
<p id="eos-price-usd"></p>
</header>
<!-- end header -->
<!-- start content -->
<div id="content">
<div class="container clearfix">
<!-- ITEMS PERSISTED ON ALL PAGES -->
<h4 id="headertitle-inner">EOS Resource Planner</h4>
<div class="extra-padding-top">
<!-- GLOBAL ALERT BANNER -->
<div class="alert alert-info hidden" id="headeralert" role="alert">
<center><strong>Heads Up!</strong> We are currently working to ensure the best available data and will have the service updated shortly.</center>
</div>
<div class="alert alert-danger hidden" id="request_error" role="alert">
<strong>Request Error</strong><br />
<span id="request_error_message"></span>
</div>
<!-- END GLOBAL ALERT BANNER -->
<div id="container">
<div class="element tile-1 home calc bg-change">
<h4 class="header icon-to-the-right">Current RAM Price</h4>
<p id="ram-price-eos"></p>
<p id="ram-price-usd"></p>
<p class="hint">Cost to persist 1 KiB of data in RAM</p>
<div class="icons futuro_icons_253 absolute-top-right"></div>
</div>
<div class="element tile-1 home calc bg-change">
<h4 class="header icon-to-the-right">Current Network Price</h4>
<p id="net-price-eos"></p>
<p id="net-price-usd"></p>
<p class="hint">Cost to reserve 1 KiB/Day Network Bandwidth</p>
<div class="icons futuro_icons_143 absolute-top-right"></div>
</div>
<div class="element tile-1 home calc bg-change">
<h4 class="header icon-to-the-right">Current CPU Price</h4>
<p id="cpu-price-eos"></p>
<p id="cpu-price-usd"></p>
<p class="hint">Cost to reserve 1 MS/Day CPU Bandwidth</p>
<div class="icons futuro_icons_186 absolute-top-right"></div>
</div>
<!-- END PERSISTED ITEMS -->
<!-- LANDING PAGE ITEMS -->
<div class="element tile-5 home bg-change">
<p class="small">Introduction</p>
<div>
<h4 class="header icon-to-the-right">What is RAM?</h4>
<p>RAM is required to store data on the blockchain and must be purchased. You get a set number of bytes of storage based on the current RAM market price. The price automatically adjusts up and down with buying and selling action. When you release storage you can sell RAM back to recover EOS at the current ram market price.</p>
</div>
<div>
<h4 class="header icon-to-the-right">What is Network Bandwidth?</h4>
<p>Network Bandwidth is measured as your average consumption in bytes over the last 3 days. Net bandwidth is temporarily consumed every time you send an action or transaction but decreases over time returning to 0. The more tokens you stake for net bandwidth the more you get to use. You can unstake at any time to reclaim your EOS tokens.</p>
</div>
<div>
<h4 class="header icon-to-the-right">What is CPU Bandwidth?</h4>
<p>CPU Bandwidth is measured as your average consumption in microseconds over the last 3 days. CPU bandwidth is temporarily consumed when you send an action or transaction but decreases over time returning to 0. The longer your transaction runs, the more CPU bandwidth it will consume. You can unstake at any time to reclaim your EOS tokens.</p>
</div>
<div class="icons futuro_icons_285 absolute-top-right"></div>
</div>
<div class="element tile-4 home bg-change">
<p class="small">Network Statistics</p>
<h4 class="header icon-to-the-right">Overall RAM</h4>
<p class="hint">This is the total amount of RAM that has been reserved across the network. Note: this is not indicative of RAM used by token holders and applications.</p>
<div>
<p class="col">Total Available: </p>
<p class="col" id="maxRam">0.00 GiB</p>
</div>
<div>
<p class="col">Total Reserved: </p>
<p class="col" id="allocatedRam">0.00 GiB</p>
</div>
<div>
<p class="col">Reserved: </p>
<p class="col" id="utilizedRam">0.00 %</p>
</div>
<div>
<div class="progress">
<div id="ramUtilBar" class="progress-bar progress-bar-striped" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">
<p id="ramUtilVal">10%</p>
</div>
</div>
<p class="hint">Note: Block producers will manage the available RAM and add additional capacity as needed.</p>
</div>
<div class="icons futuro_icons_346 absolute-top-right"></div>
</div>
<!-- END LANDING PAGE ITEMS -->
<!-- CALCULATE PAGE ITEMS -->
<div class="element tile-2 calc bg-change">
<p class="small">What can I afford?</p>
<div class="convert">
<h3 class="header">I currently have:</h3>
<div>
<p class="col"><input name="eos-afford-ram" type="text" class="calc-change" id="eos-afford-ram" size="10" title="0.00000000" /></p>
<p class="col">
<select size="1" class="calc-change" id="ram-have-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> available for RAM</p>
</div>
<div>
<p class="col"><input name="eos-afford-net" type="text" class="calc-change" id="eos-afford-net" size="10" title="0.00000000" /></p>
<p class="col">
<select size="1" class="calc-change" id="net-have-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> available for Net</p>
</div>
<div>
<p class="col"><input name="eos-afford-cpu" type="text" class="calc-change" id="eos-afford-cpu" size="10" title="0.00000000" /></p>
<p class="col">
<select size="1" class="calc-change" id="cpu-have-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> available for CPU</p>
</div>
<!-- <input type="submit" value="calculate-afford" id="calculate-afford" name="Calculate" /> -->
<br>
<br>
<h3 class="header">You can afford:</h3>
<div>
<p class="col" id="result-afford-ram">0</p>
<p class="col">
<select size="1" class="calc-change" id="ram-afford-unit">
<option value="net-cost-bytes">bytes</option>
<option value="net-cost-kilobytes">KiB</option>
<option value="net-costmegabytes">MiB</option>
<option value="net-cost-gigabytes">GiB</option>
</select>
</p>
<p class="col"> of RAM</p>
</div>
<div>
<p class="col" id="result-afford-net">0</p>
<p class="col">
<select size="1" class="calc-change" id="net-afford-unit">
<option value="net-cost-bytes">bytes / day</option>
<option value="net-cost-kilobytes">KiB / day</option>
<option value="net-costmegabytes">MiB / day</option>
<option value="net-cost-gigabytes">GiB / day</option>
</select>
</p>
<p class="col"> of Network Bandwidth</p>
</div>
<div>
<p class="col" id="result-afford-cpu">0</p>
<p class="col">
<select size="1" class="calc-change" id="cpu-afford-unit">
<option value="microseconds">µs / day</option>
<option value="milliseconds">ms / day</option>
<option value="seconds">s / day</option>
</select>
</p>
<p class="col"> of CPU Bandwidth</p>
</div>
</div>
</div>
<div class="element tile-2 calc bg-change">
<p class="small">What will it cost?</p>
<div class="convert">
<h3 class="header">I need to buy:</h3>
<div>
<p class="col"><input name="eos-cost-ram" type="text" class="calc-change" id="eos-cost-ram" size="8" title="0" /></p>
<p class="col">
<select size="1" class="calc-change" id="ram-need-unit">
<option value="ram-cost-bytes">bytes</option>
<option value="ram-cost-kilobytes">KiB</option>
<option value="ram-cost-megabytes">MiB</option>
<option value="ram-cost-gigabytes">GiB</option>
</select>
</p>
<p class="col"> of RAM</p>
</div>
<div>
<p class="col"><input name="eos-cost-net" type="text" class="calc-change" id="eos-cost-net" size="8" title="0" /></p>
<p class="col">
<select size="1" class="calc-change" id="net-need-unit">
<option value="net-cost-bytes">bytes / day</option>
<option value="net-cost-kilobytes">KiB / day</option>
<option value="net-costmegabytes">MiB / day</option>
<option value="net-cost-gigabytes">GiB / day</option>
</select>
</p>
<p class="col"> of Network Bandwidth</p>
</div>
<div>
<p class="col"><input name="eos-cost-cpu" type="text" class="calc-change" id="eos-cost-cpu" size="8" title="0" /></p>
<p class="col">
<select size="1" class="calc-change" id="cpu-need-unit">
<option value="microseconds">µs / day</option>
<option value="milliseconds">ms / day</option>
<option value="seconds">s / day</option>
</select>
</p>
<p class="col"> of CPU Bandwidth</p>
</div>
<!-- <input type="submit" value="Calculate" id="calculate-eos" name="Calculate" /> -->
<br>
<br>
<h3 class="header">It will cost:</h3>
<div>
<p class="col" id="result-cost-ram">0.00000000</p>
<p class="col">
<select size="1" class="calc-change" id="ram-cost-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> for RAM</p>
</div>
<div>
<p class="col" id="result-cost-net">0.00000000</p>
<p class="col">
<select size="1" class="calc-change" id="net-cost-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> for Net Bandwidth</p>
</div>
<div>
<p class="col" id="result-cost-cpu">0.00000000</p>
<p class="col">
<select size="1" class="calc-change" id="cpu-cost-unit">
<option value="eos">EOS</option>
<option value="usd">USD</option>
</select>
</p>
<p class="col"> for CPU Bandwidth</p>
</div>
</div>
</div>
</div>
<!-- END CALCULATE PAGE ITEMS -->
</div>
</div>
</div>
<!-- end content -->
<footer id="footer">
<div class="container clearfix">
<div class="col">
<div class="col" id="sourcecode">
<p>ERP is free & open source - help contribute here:<br />
<a href="https://github.com/telosrp/eosrp.github.io" target="_blank" title="">Source Code</a>
</p>
</div>
<div class="col">
<ul class="social-list clearfix col">
<li> <a href="https://t.me/ghobson"><i class="fa fa-telegram"></i></a> </li>
<li> <a href="https://twitter.com/ghobsons"><i class="fa fa-twitter"></i></a> </li>
</ul>
<a class="col" id="ghobsonlogo" href="https://www.boid.com"></a>
</div>
</div>
</div>
</footer>
</div>
<!-- end wrap -->
<script src="js/jquery-easing-1.3.js" type="text/javascript"></script>
<script src="js/jquery.touchSwipe.min.js" type="text/javascript"></script>
<script src="js/jquery.isotope2.min.js" type="text/javascript"></script>
<script src="js/jquery.ba-bbq.min.js" type="text/javascript"></script>
<script src="js/packery-mode.pkgd.min.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<script src="js/jquery.form.js" type="text/javascript"></script>
<script src="js/input.fields.js" type="text/javascript"></script>
<script src="js/preloader.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/jquery.fancybox.pack.js" type="text/javascript"></script>
</body>
</html>