forked from jl777/iguana
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
368 lines (334 loc) · 18.5 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
366
367
368
<!DOCTYPE HTML>
<html>
<head>
<title>iguana</title>
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/jquery.dropdown.css">
<link rel="stylesheet" type="text/css" href="css/ripples.css">
<!-- Gogole Theme -->
<link rel="stylesheet" type="text/css" href="css/googleFonts.css">
<link rel="stylesheet" type="text/css" href="css/googleIcons.css">
<link rel="stylesheet" type="text/css" href="css/googleTheme.css">
</head>
<body data-custom-load="true" data-name="iguana" data-tools="pnacl newlib glibc clang-newlib mac" data-configs="Debug Release"
data-path="{tc}/{config}">
<!-- <div class="jumbotron" style="height:100px;">
<h> Status: <code id="statusField">NO-STATUS</code></h>
<p>
<select id="pipe_name" hidden>
<option>urand</option>
<option>Pangea</option>
<option>MGW</option>
</select>
<input type="text" id="pipe_input_box" hidden>
</p>
<p><textarea id="pipe_output" hidden></textarea></p>
</div> -->
<div class="iguana">
<nav class="navbar navbar-default">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse">
<!--Hamburger-->
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!--<a class="navbar-brand" href="#">
<img alt="Brand" style="z-index:-1;" src="logo.png" width="25" height="25">
</a>-->
<a href="javascript:void(0)" class="navbar-brand">Iguana</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse">
<ul class="nav navbar-nav">
<li id="welcome"><a href="#">Welcome <span class="sr-only">(current)</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">More <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Wiki</a></li>
<li><a href="#">Wallet</a></li>
<li><a href="#">Community</a></li>
<li role="separator" class="divider"></li>
<li><a href="#">Contact</a></li>
<li role="separator" class="divider"></li>
<li><a>Upload Conf<input type="file" id="files" name="file" /></a></li>
<div id="byte_range"></div>
<div id="byte_content"></div>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<div class="container">
<div id="welcome_page" class="page" style="text-align: center;">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">Welcome</div>
<div class="panel-body">
<h2>iguana</h2>
<p>
iguana is fast.
</p>
<p>
iguana does all bitcoin compatibles.
</p>
<p>
iguana is fast.
</p>
</div>
</div>
</div>
<!-- eyedea page is for creating front-end markup -->
<div id="eyedea_page" class="page">
<div class="row" style="margin-bottom:15px;">
<div class="col-xs-4 col-sm-3 col-md-2">
<div class="api-navpills">
</div>
</div>
<div class="col-xs-8 col-sm-9 col-md-10">
<div class="panel-group">
<div class="panel panel-default api-call-All">
<div class="panel-heading">
<h4 class="panel-title api-panel-title">Json posting form</h4>
</div>
<!-- panel-heading -->
<div class="panel-body">
<div class="row">
<div class="col-xs-9 col-sm-10 col-md-8">
<div class="panel panel-default">
<div class="panel-body">
<div class="form-group">
<textarea name="json_to_submit" id="json_src" cols="30" rows="5" class="result form-control" placeholder='Paste json here'></textarea>
</div>
<div class="form-group">
<button class="btn btn-primary submit_api_request" id='submit_primary'>Submit</button>
</div>
</div>
</div>
</div>
<div class="col-xs-6 col-md-4 col-lg-4">
<div class="panel-body">
<h5 class='uri-link'>Response</h5>
<pre class="hljs json result">JSON response</pre>
<button class="btn btn-default clear-response">Clear response</button>
</div>
</div>
</div>
<hr>
<h3>
<span>Submitted JSON history</span>
<button id="clearHistory" style='float: right' class='btn btn-default'>Clear history</button>
</h3>
<div class="row">
<div class="col-md-12">
<table class="table" id='submit_history'>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<!-- panel-body -->
</div>
</div>
</div>
</div>
</div>
<!--Coin Management Starts-->
<div id="Coins_page" class="page">
<div class="panel panel-default">
<div class="panel-heading">
<h3>Coin Management</h3>
</div>
<div class="panel-body">
<div class="pull-right">
<button id="Coins_reset" class="btn btn-raised" title="Reset">Reset</button>
<button id="Coins_refresh" class="btn btn-raised" title="Refresh">Refresh</button>
<button id="Coins_add" class="btn btn-raised btn-primary" type="button" data-toggle="modal" data-target="#CoinEditModal" title="Add">Add</button>
</div>
<table id="Coins_table" class="table table-hover table-condensed table-bordered ">
<thead>
<tr>
<th>Symbol</th>
<th>Description</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<!--Modal starts-->
<div class="modal fade" id="CoinEditModal" tabindex="-1" role="dialog" aria-labelledby="editCoinHeader">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="editCoinHeader">Edit Coin</h4>
</div>
<div class="modal-body">
<div id="coinEditFormContainer">
<form class="form-horizontal" id="frmCoinEdit" name="frmCoinEdit">
<div id="txtSymbolGroup" class="form-group">
<label for="txtSymbol" class="control-label col-xs-2 col-md-2">Symbol</label>
<div class="col-xs-10 col-md-10">
<input type="text" id="txtSymbol" name="txtSymbol" class="form-control input-sm" />
</div>
</div>
<div id="txtDescriptionGroup" class="form-group">
<label for="txtDescription" class="control-label col-xs-2 col-md-2">Description</label>
<div class="col-xs-10 col-md-10">
<input type="text" id="txtDescription" name="txtDescription" class="form-control input-sm" />
</div>
</div>
<div id="ddCoinStatus" class="form-group">
<label for="ddStatus" class="control-label col-xs-2 col-md-2">Status</label>
<div class="col-xs-10 col-md-10">
<select type="text" id="ddStatus" name="ddStatus" class="form-control input-sm"></select>
</div>
</div>
</form>
</div>
</div>
<div class="modal-footer">
<button id="btnClearCoinForm" type="button" class="btn btn-raised btn-default" data-dismiss="modal">Nevermind</button>
<button id="btnSaveCoinForm" type="button" class="btn btn-raised btn-primary" data-dismiss="modal">Save</button>
<!-- <button id="btnSaveCoinForm" type="button" class="btn btn-primary">Save</button> -->
</div>
</div>
</div>
</div>
<!--Modal Ends-->
</div>
</div>
</div>
<!--Coin Management Ends-->
<!-- peers tab -->
<div id="Peers_page" class="page">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<h3>
<span>Peer Management</span>
</h3>
</div>
<div class="panel-body">
<div class="pull-right">
<span class="checkbox"><label><input id="cbShowFavoritePeers" type="checkbox"/> Favorites</label></span>
</div>
<table id="peersTable" class="table table-hover table-bordered">
<thead>
<tr>
<th>IP Address</th>
<th>Coin Type</th>
<th>Height</th>
<th>Rank</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="peersTableBody"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="Settings_page" class="page">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Settings</h3>
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-6 col-md-6 col-lg-6">
<div id="agent_settings"></div>
</div>
<div class="col-xs-6 col-md-6 col-lg-6">
<div id="config_settings"></div>
<div class="function" id="fread" hidden>
<span>
<select class="file-handle" id="freadHandle"></select>
Count:
<input type="text" id="freadBytes">
<button>fread</button>
</span>
</div>
<div class="function" id="fwrite" hidden>
<span>
<select class="file-handle" id="fwriteHandle"></select>
Data:
<input type="text" id="fwriteData">
<button>fwrite</button>
</span>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-6 col-lg-6">
<div class="form-group">
<button class="btn btn-primary" id="save_settings">Save</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="Debug_page" class="page">
<div class="jumbotron">
<div class="debuglog" hidden> <pre id="log" style="font-weight: bold"></pre></div>
</div>
</div>
<div id="Blockexplorer_page" class="page">
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">
<h3>Block Explorer tab</h3>
</div>
<div class="panel-body center">
<h3>Block Explorer</h3>
<p>
Page dedicated to searching blockchain.
</p>
<p>
** Awaiting specific requirements **
</p>
</div>
</div>
<style type="text/css">
#Blockexplorer_page .center {
text-align: center;
}
</style>
</div>
<div id="listener"></div>
</div>
</div>
<!--jQuery-->
<script type="text/javascript" src="js/jquery-2.1.4.min.js"></script>
<!--Bootstrap-->
<script type="text/javascript" src="js/bootstrap.js"></script>
<!--Google Theme-->
<script type="text/javascript" src='js/googleTheme.min.js'></script>
<script type="text/javascript" src='js/ripples.min.js'></script>
<script type="text/javascript" src='js/jquery.dropdown.js'></script>
<!--Iguana genric code-->
<script type="text/javascript" src="js/api.js" " charset="utf-8 "></script>
<script type="text/javascript " src="js/util.js "></script>
<script type="text/javascript " src="js/sites.js " charset="utf-8 "></script>
<script type="text/javascript " src="app/common.js "></script>
<script type="text/javascript " src="app/startup.js " ></script>
<!--if android style ripple effect is not working, try temporarily deleting the following line-->
<script type="text/javascript " src="example.js "></script>
<!--Iguana tabs-->
<script src='js/form.js'></script>
<script src="app/coin_mgmt.js "></script>
<script type="text/javascript " src='js/peerlist.js'></script>
<script type="text/javascript " src="js/methods.js " charset="utf-8 "></script>
<script type="text/javascript " src="js/settings.js " charset="utf-8 "></script>
</body>
</html>