-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
110 lines (105 loc) · 4.91 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
<!DOCTYPE html>
<!--
I am index.html for electron-quick-start
augmented by raxy, last upd 27jan18
-->
<html>
<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>Raxy's Leaderboard (electroned)</title>
<link href="https://fonts.googleapis.com/css?family=Galada|Ubuntu:400,500,700" rel="stylesheet">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script type="text/javascript" src="js/iota-0.4.6.js"></script>
<script type="text/javascript" src="js/helpers/updateLeaderboardHTML.js"></script>
<script type="text/javascript" src="js/helpers/updateAddressHTML.js"></script>
<!-- All of the Node.js APIs are available in this renderer process. -->
<script>
// electron style, else use "src=..." as above !
require("./renderer.js");
let jQuery = require("./js/jquery-3.2.1.js");
require("./js/bootstrap-3.3.7.js");
let $ = jQuery;
require("./js/index.js");
</script>
</head>
<body>
<main>
<header class="header">
<p class="header__title">Raxy's <span><img class="header__logo" src="images/logo.png" /></span> Leaderboard</p>
<nav>
<div class="nav-right hidden-xs">
<div class="button" id="btn">
<div class="bar top"></div>
<div class="bar middle"></div>
<div class="bar bottom"></div>
</div>
</div>
</nav>
</header>
<section class="leaderboard">
<table class="table-fill">
<thead>
<tr>
<th class="rank__title">Rank</th>
<th class="address__title">from</th>
<th class="amount__title">Message</th>
<th class="full__title">amount</th>
</tr>
</thead>
<tbody id="leaderboard">
<tr>
<td class="iota__rank"></td>
<td class="iota__name"></td>
<td class="iota__message">No transfer displayed for now: In the side panel on the right, submit your connection params, generate an address and then have someone send a transaction+message to it.</td>
<td class="iota__value"></td>
</tr>
</tbody>
</table>
</section>
<div id="console">
</div>
</main>
<!-- Sidebar -->
<div class="sidebar donotdisplay">
<ul class="sidebar-list">
<li class="sidebar-item">
<a href="#" class="sidebar-anchor" data-toggle="collapse" data-target="#setSeed" aria-expanded="false" aria-controls="setSeed">connection to Tangle</a>
<div class="collapse" id="setSeed">
<div class="well" id="enterSeed">
<div class="form-group">
<input type="password" id="userSeed" class="form-control" placeholder="my Seed">
<input type="text" id="walletSrvHost" class="form-control" placeholder="walletServer name or @">
<input type="text" id="walletSrvPort" class="form-control" placeholder="walletServer port">
</div>
<button type="button" id="seedSubmit" class="btn btn-default">Go!</button>
</div>
</div>
</li>
<li class="sidebar-item">
<a href="#" class="sidebar-anchor" data-toggle="collapse" data-target="#getAddresses" aria-expanded="false" aria-controls="getAddresses">My Addresses</a>
<div class="collapse" id="getAddresses">
<div class="genAddress__div">
<div id="overlay">
<div class="panel panel-danger">
<div class="panel-heading">Generating Address</div>
<div class="panel-body">
<p>Currently generating your address. This can take anywhere between 1 - 20minutes so be patient. Once your address was generated this note will disappear.</p>
</div>
</div>
</div>
<button type="button" id="genAddress" class="btn btn-success">Generate Address</button>
<div id="allAddresses">
</div>
</div>
</div>
</li>
</ul>
</div>
We are using Node.js <script>document.write(process.versions.node)</script>,
Chromium <script>document.write(process.versions.chrome)</script>,
and Electron <script>document.write(process.versions.electron)</script>.
</body>
</html>