-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
186 lines (166 loc) · 8.96 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
<html>
<head>
<title>ethers.io</title>
<style type="text/css">
/* Custom Font; see ./assets/build-font */
@font-face {
font-family: "ethers";
src: url(./static/ethers.woff) format("woff");
font-weight: normal;
font-style: normal;
}
</style>
<link href="./static/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="templates">
<!-- Standard Wallet Interface (Navigation Controller 0) -->
<div class="nav-wallet">
<div class="info">
<div class="address"><input class="populate-address" readonly="readonly" type="text" /></div>
<div class="nickname populate-nickname"></div>
<div class="onboard">You do not have any accounts — <span class="add-account">Click here to add one</span></div>
</div>
<span> </span>
<div class="balance"><span class="unit">Ξ</span> <span class="populate-balance-whole">1</span>.<span class="decimal populate-balance-decimal">1</span></div>
</div>
<!-- Transaction Notice -->
<div class="nav-notice">
<div class="title"><span class="populate-title">[title]</span></div>
<div class="blurb"><span class="populate-blurb">[blurb]</span></div>
</div>
<!-- Upload JSON Wallet -->
<div class="nav-button">
<div class="title"><span class="populate-title">[title]</span></div>
<div class="blurb"><span class="populate-blurb">[blurb]</span></div>
<div class="button"><a class="populate-action">[action]</a></div>
</div>
<!-- Transaction Summary; Shown if account is locked before unlock workflow -->
<div class="nav-transaction-summary">
<div class="title"><span>Send Transaction</span></div>
<table>
<tr>
<th><span class="populate-header-address">To:</span></th>
<td><span class="populate-address"></span></td>
</tr>
<tr>
<th>Amount:</th>
<td class="nowrap"><span class="unit">Ξ</span> <span class="populate-amount"></span></td>
</tr>
<tr>
<th>Data:</th>
<td><span class="nowrap populate-data-length"></span></td>
</tr>
</table>
<div class="button"><a>UNLOCK ACCOUNT...</a></div>
</div>
<!-- Transaction Confirmation -->
<div class="nav-transaction">
<div class="title"><span>Send Transaction</span></div>
<table>
<tr>
<th><span class="populate-header-address">To:</span></th>
<td><span class="populate-address"></span></td>
</tr>
<tr>
<th>Amount:</th>
<td class="nowarp"><span class="unit">Ξ </span> <span class="populate-amount"></span></td>
</tr>
<tr>
<th>Gas Price:</th>
<td class="nowrap"><div class="options-container"><div class="arrow">►</div><div class="options"></div></div></td>
</tr>
<tr>
<th class="populate-header-gas-limit">Gas Limit:</th>
<td class="nowrap"><span class="populate-gas-limit">calculating...</span></td>
</tr>
<tr>
<th class="populate-header-fee">Transaction Fee:</th>
<td class="nowrap"><span class="unit">Ξ </span> <span class="populate-fee">calculating...</span></td>
</tr>
<tr>
<th>Data:</th>
<td><span class="nowrap populate-data-length"></span></td>
</tr>
</table>
<div class="button"><a>SEND</a></div>
</div>
<!-- Transaction Summary; Shown if account is locked before unlock workflow -->
<div class="nav-message">
<div class="title"><span>Sign Message</span></div>
<table>
<tr>
<th><span class="populate-header">Message:</span></th>
<td><span class="populate-message"></span></td>
</tr>
</table>
<div class="button"><a class="populate-action">SIGN MESSAGE</a></div>
</div>
<!-- Password Entry -->
<div class="nav-password">
<div class="title"><span>Enter Password</span></div>
<div class="blurb"><span class="populate-blurb"> </div>
<div><div class="input-container"><input placeholder="password" type="password" value="" /></div></div>
<div class="button"><a class="populate-action">SUBMIT</a></div>
</div>
<!-- Progress Bar -->
<div class="nav-progress">
<div class="title"><span class="populate-title">Progress</span></div>
<div class="blurb"><span class="populate-blurb"> </span></div>
<div><span class="progress-container"><span class="progress-bar"><span class="highlight"></span> </span><span class="percent populate-percent">0%</span></span></div>
</div>
<!-- Add Account -->
<div class="nav-add-account">
<div class="title"><span class="populate-title">Add Account</span></div>
<div class="button"><a data-name="create">Create New Account</a></div>
<div class="button"><a data-name="import">Import Existing Account</a></div>
</div>
<!-- Upload JSON Wallet -->
<div class="nav-upload">
<div class="title"><span class="populate-title">Verify Account JSON Wallet</span></div>
<div class="blurb"><span class="populate-blurb"></span></div>
<div class="button"><a>Verify</a></div>
</div>
<!-- Import Wallet -->
<div class="nav-import">
<div class="title"><span class="populate-title">Import Account</span></div>
<div class="blurb"><span class="populate-blurb">Drag-and-Drop a JSON Wallet, type a 12 word backup phrase or enter a raw private key below.</span></div>
<div><div class="input-container"><input type="text" placeholder="Select import method" value="" /></div></div>
<div class="button"><a>Import</a></div>
</div>
<!-- Account Item in the #account-list -->
<div class="account">
<span class=""><span class="icon lock-state locked populate-locked icon-locked"></span></span>
<input class="clickable nickname populate-nickname" readonly="readonly" value="foo"/>
<span class="action edit"><span class="icon icon-edit" title="Edit Name"></span></span>
<span class="action download"><a class="icon icon-download" title="Download"></a></span>
<span class="action remove"><span class="icon icon-remove" title="Remove"></span></span>
</div>
<!-- Option Item in the gas-limit .options -->
<div class="option"><b class="populate-name"></b>  — <i class="populate-duration"></i><span class="price populate-price"></span></div>
</div>
<div id="app-container" class="fullscreen"></div>
<div id="header">
<div id="controllers"></div>
</div>
<div id="logo">
<div id="account-list">
<div class="title">Accounts</div>
<div class="accounts"></div>
<div class="no-accounts">no accounts</div>
<div class="button add-account"><div><span class="icon icon-plus"></span> Add Account</div></div>
</div>
<span class="icon icon-logo icon-big"></span>
</div>
<div id="cancel" class="hidden"><span>×</span></div>
<div id="footer">
<div class="address-bar-container">
<div class="address-bar"><span>https://</span><input type="text" /><div>GO</div></div>
</div>
<span class="button"><a class="home icon icon-home" title="Home"></a></span>
<span class="button"><a class="wallet icon icon-wallet" title="Wallet"></a></span>
</div>
<script src="./ethers-app/node_modules/ethers/dist/ethers.js" type="text/javascript"></script>
<script src="./static/script.js" type="text/javascript"></script>
</body>
</html>