-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathindex.html
executable file
·211 lines (190 loc) · 9.39 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>$ETHO Desktop Wallet</title>
<link href="https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles/materialize.min.css">
<link rel="stylesheet" href="./assets/styles/datatables.min.css">
<link rel="stylesheet" href="./assets/styles/iziModal.min.css">
<link rel="stylesheet" href="./assets/styles/iziToast.min.css">
<link rel="stylesheet" href="./assets/styles/transactions.css">
<link rel="stylesheet" href="./assets/styles/please-wait.css">
<link rel="stylesheet" href="./assets/styles/indicators.css">
<link rel="stylesheet" href="./assets/styles/tablesort.css">
<link rel="stylesheet" href="./assets/styles/all.min.css">
<link rel="stylesheet" href="./assets/styles/spinner.css">
<link rel="stylesheet" href="./assets/styles/buttons.css">
<link rel="stylesheet" href="./assets/styles/style.css">
<link rel="stylesheet" href="./assets/styles/forms.css">
<link rel="stylesheet" href="./assets/styles/about.css">
<!-- Insert this line above script imports -->
<script>
if (typeof module === 'object') {
window.module = module;
module = undefined;
}
</script>
<span id="nodestorage" style="display:none;">Loading</span>
<!-- normal script imports etc -->
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@1.0.0-beta.36/dist/web3.min.js" integrity="sha256-nWBTbvxhJgjslRyuAKJHK+XcZPlCnmIAAMixz6EefVk=" crossorigin="anonymous"></script>
<script src="./assets/scripts/jquery.min.js"></script>
<script src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>
<script src="./assets/scripts/handlebars.js"></script>
<script src="./assets/scripts/materialize.min.js"></script>
<script src="./assets/scripts/datatables.min.js"></script>
<script src="./assets/scripts/iziModal.min.js"></script>
<script src="./assets/scripts/iziToast.min.js"></script>
<script src="./assets/scripts/tippy.min.js"></script>
<script src="./assets/scripts/progressbar.min.js"></script>
<script src="./assets/scripts/sprintf.min.js"></script>
<script src="./assets/scripts/please-wait.js "></script>
<script src="./assets/scripts/moment.min.js"></script>
<script src="./assets/scripts/datetime-moment.js"></script>
<script src="./assets/scripts/datatables-absolute.js"></script>
<script src="./assets/scripts/jquery.floatThead.min.js"></script>
<script src="./assets/scripts/tablesort.min.js"></script>
<script src="./assets/scripts/tablesort.number.min.js"></script>
<script src="./assets/scripts/jquery.qrcode.min.js"></script>
<script src="./assets/scripts/all.min.js"></script>
<script src="./assets/scripts/Chart.js"></script>
<script src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.7.8/dist/semantic.min.js"></script>
<script src="assets/dashboard/plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
<script src="assets/dashboard/plugins/node-waves/waves.js"></script>
<script src="assets/dashboard/plugins/jquery-countto/jquery.countTo.js"></script>
<!-- Insert this line after script imports -->
<script>
if (window.module)
module = window.module;
</script>
</head>
<body>
<script>
var loadingHtml = "<div class='spinner'><div class='bounce bounce1'></div><div class='bounce bounce2'></div><div class='bounce bounce3'></div></div><div class='loadingText' id='startextEL'>Loading Resources...</div>";
var loading_screen = pleaseWait({
logo: "assets/images/logo-glitch.gif",
backgroundColor: '#000000',
loadingHtml: loadingHtml
});
var timeouts = [
{ text: "Starting Node...", delay: 1250 },
{ text: "Connecting to Network...", delay: 6400 },
{ text: "Updating...", delay: 7320 },
{ text: "Launching...", delay: 7400 }
];
timeouts.forEach((item, index) => {
setTimeout(() => {
document.getElementById('startextEL').innerHTML = item.text;
}, item.delay + Math.random() * 50 * index);
});
$(document).on("onGethReady", function () {
setTimeout(() => {
loading_screen.finish();
}, 5500);
});
$(window).on("beforeunload", function () {
EthoBlockchain.closeConnection();
});
</script>
<div class="inner">
<!-- The sidebar -->
<div class="ui left demo vertical inverted sidebar labeled icon menu">
<a class="item">
<img src="assets/images/EthoFS-Glitch.gif" alt="ethoFS Logo" style="width: 90%;padding-left: 5px;">
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnWallets" href="#" data-tippy="Wallets" data-tippy-delay="100">
<i class="fas fa-wallet fa-1x"></i>
<span class="walletID"> Wallets </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnAddressBoook" href="#" data-tippy="Address Book" data-tippy-delay="100">
<i class="far fa-address-book fa-1x"></i>
<span class="AddrBook"> Addresses </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnSend" href="#" data-tippy="Send Funds" data-tippy-delay="100">
<i class="fas fa-comment-dollar fa-1x"></i>
<span class="sendEtho"> Send </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnTransactions" href="#" data-tippy="Transactions" data-tippy-delay="100">
<i class="fas fa-exchange-alt fa-1x"></i>
<span class="txlist"> Transactions </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnMarkets" href="#" data-tippy="Markets" data-tippy-delay="100">
<i class="fas fa-poll fa-1x"></i>
<span class="Markets"> Market </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnSettings" href="#" data-tippy="Settings" data-tippy-delay="100">
<i class="fas fa-cog fa-1x"></i>
<span class="Settings"> Settings </span>
</a>
<a class="item" style="padding-top: 30px; padding-left: 13px" id="mainNavBtnAbout" href="#" data-tippy="About us" data-tippy-delay="100">
<i class="far fa-question-circle fa-1x"></i>
<span class="About"> About Us </span>
</a>
<div id="peerCount">
Peer Count: 0
</div>
</div>
<div id="mainContent"></div>
<div id="syncProgress"></div>
<script>
// You can also require other files to run in this process
require('./renderer/about.js');
require('./renderer/send.js');
require('./renderer/utils.js');
require('./renderer/maingui.js');
require('./renderer/syncing.js');
require('./renderer/markets.js');
require('./renderer/settings.js');
require('./renderer/wallets.js');
require('./renderer/database.js');
require('./renderer/blockchain.js');
require('./renderer/addressBook.js');
require('./renderer/transactions.js');
require('./renderer/tableTransactions.js');
</script>
</div>
<!-- The modal for general error -->
<div id="dlgGeneralError" class="modalDialog" data-izimodal-title="Application Error" data-izimodal-subtitle="Something went wrong, don't kill the fish..." data-izimodal-icon="icon-home">
<div class="modalBody">
<div class="form-group">
<span id="txtGeneralError"></span>
</div>
<button type="button" class="btn btn-etho btn-dialog-confirm" id="btnGeneralErrorOK">OK</button>
</div>
</div>
<!-- The modal for general confirmation -->
<div id="dlgGeneralConfirm" class="modalDialog" data-izimodal-title="Confirmation" data-izimodal-subtitle="" data-izimodal-icon="icon-home">
<div class="modalBody">
<div class="form-group">
<span id="txtGeneralConfirm"></span>
</div>
<button type="button" class="btn btn-etho btn-dialog-cancel" id="btnGeneralConfirmNo">No</button>
<button type="button" class="btn btn-etho btn-dialog-confirm" id="btnGeneralConfirmYes">Yes</button>
</div>
</div>
<!-- The modal for about info -->
<div id="dlgAboutInfo" class="modalDialog" data-izimodal-title="About Etho Protocol Wallet" data-izimodal-icon="icon-home">
<div class="modalBody">
<div class="aboutInfo">
<div class="infoText" id="aboutInfoWallet">Etho Protocol Wallet</div>
<div class="infoText" id="aboutInfoGitHub">GitHub:
<a id="urlOpenGitHub" href="https://github.com/Ether1Project/Ether1DesktopWallet">https://github.com/Ether1Project/Ether1DesktopWallet</a>
</div>
<div class="infoText" id="aboutInfoLicence">Made under
<a id="urlOpenLicence" href="https://choosealicense.com/licenses/gpl-3.0">GPL v3.0</a>
licence
</div>
<div class="infoText" id="aboutInfoVersion">Version:
<span id="versionNumber"></span></div>
</div>
<button type="button" class="btn btn-etho btn-dialog-confirm" id="btnAboutInfoClose">Close</button>
</div>
</div>
</body>
<!-- The modal for QR-Code info -->
<div id="dlgShowAddressQRCode" class="modalDialog" data-izimodal-title="Address QR-Code" data-izimodal-subtitle="Scan the QR-Code to get the address..." data-izimodal-icon="icon-home">
<div class="modalBody">
<div id="addrQRCode"></div>
<button type="button" class="btn btn-etho btn-dialog-confirm" id="btnScanQRCodeClose">Close</button>
</div>
</div>
</html>