-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathindex.html
102 lines (92 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dashboard</title>
<!-- Bootstrap core CSS -->
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
padding-left: 50px;
padding-right: 50px;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div>
<h1 class="page-header">SolarChain Dashboard</h1>
<div class="panel panel-default">
<div class="panel-body">
<div class="row placeholders">
<div class="col-xs-6 col-sm-3 placeholder">
<h4>ETH</h4>
<span class="text-muted" id="label1"></span>
</div>
<div class="col-xs-6 col-sm-3 placeholder">
<h4>Block</h4>
<span class="text-muted" id="label2"></span>
</div>
<div class="col-xs-6 col-sm-3 placeholder">
<h4>Sols</h4>
<span class="text-muted" id="label3"></span>
</div>
<div class="col-xs-6 col-sm-3 placeholder">
<h4>Energy</h4>
<span class="text-muted" id="label4">Something else</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div>
<h2 class="sub-header">Operations</h2>
<form class="form-inline" role="form">
<div class="form-group">
<label for="sell">Sell energy:</label>
<input type="number" class="form-control" id="sell">
</div>
<button type="submit" class="btn btn-primary">Sell</button>
</form>
<form class="form-inline" role="form">
<div class="form-group">
<label for="buy">Buy energy:</label>
<input type="number" class="form-control" id="buy">
</div>
<button type="submit" class="btn btn-primary">Buy</button>
</form>
</div>
</div>
<div class="row">
<div>
<h2 class="sub-header">Transactions</h2>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>block#</th>
<th>from</th>
<th>to</th>
<th>input</th>
</tr>
</thead>
<tbody id="transactions">
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/web3/dist/web3.min.js"></script>
<script src="abi.js"></script>
<script src="main.js"></script>
</body>
</html>