-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
249 lines (190 loc) · 13.1 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
<!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=0.8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Expires" content="0"/>
<title>BTCPAY Market</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-dialog.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/jquery-ui.min.css">
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Creepster|Monoton|Prompt" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<script src="js/lib/jquery.min.js" defer></script>
<script src="js/lib/jquery.tablesorter.min.js" defer></script>
<script src="js/lib/jquery-qrcode-0.14.0.min.js" defer></script>
<script src="js/lib/bootstrap.min.js" defer></script>
<script src="js/lib/bootstrap-dialog.min.js" defer></script>
<script src="js/lib/moment.min.js" defer></script>
<script src="js/lib/jquery.dataTables.min.js" defer></script>
<script src="js/lib/dataTables.bootstrap.min.js" defer></script>
<script src="js/lib/mnemonic.js" defer></script>
<script src="js/lib/aes.js" defer></script>
<script src="js/lib/bitcore-lib-patched.min.js" defer></script>
<script src="js/lib/biginteger.js" async></script>
<script src="js/lib/xcp-js/util.js" defer></script>
<script src="js/lib/xcp-js/transactions.js" defer></script>
<script src="js/lib/xcp-js/dex.js" defer></script>
<script src="js/util.js" defer></script>
<script src="js/passphrase.js" defer></script>
<script src="js/wallet.js" defer></script>
<script src="js/orders.js" defer></script>
<script src="js/main.js" defer></script>
</head>
<body>
<div id="container">
<nav class="navbar navbar-default navbar-fixed-top" style="display: none;">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href=".">
<div id='navbar-img'><img src='./images/btcpm2.png' height="38px"></div>
<div id='navbar-sitename'>BTC<span style='color: #ed1650;'>PM</span></div>
</a>
</div>
<div class="collapse navbar-collapse navbar-right" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a id="balanceNav" href="#" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Address Balance" class="red-tooltip"><div id="btcBalance-box" class="inset-shadow"><span id="btcBalance">0</span> BTC <span id='usdBalance' class='showUsd small' style='font-style: italic; color: #266121;'></span></div></a></li>
<li class="dropdown red-tooltip" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Your Address">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-folder-open" aria-hidden="true"></i> <span id="addressCurrent" class="addressDropdownPubkey"></span> <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#" class="addressDropdown"><span class='address-1-label addressDropdownLabel'></span> <span class='address-1 addressDropdownPubkey'></span></a></li>
<li><a href="#" class="addressDropdown"><span class='address-2-label addressDropdownLabel'></span> <span class='address-2 addressDropdownPubkey'></span></a></li>
<li><a href="#" class="addressDropdown"><span class='address-3-label addressDropdownLabel'></span> <span class='address-3 addressDropdownPubkey'></span></a></li>
<li><a href="#" class="addressDropdown"><span class='address-4-label addressDropdownLabel'></span> <span class='address-4 addressDropdownPubkey'></span></a></li>
<li><a href="#" class="addressDropdown"><span class='address-5-label addressDropdownLabel'></span> <span class='address-5 addressDropdownPubkey'></span></a></li>
<li role="separator" class="divider"></li>
<li class="disabled"><a href="#">Add New Address</a></li>
</ul>
</li>
<li class="dropdown red-tooltip" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Asset Inventory">
<!-- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="navLabel">Assets</span> <span class="caret"></span></a>-->
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="navLabel" style="font-size: 13pt"><i class="fa fa-briefcase" aria-hidden="true"></i></span></a>
<ul class="dropdown-menu scrollable-menu" id="assetDropdown">
<li class="disabled"><a href="#">No Assets at this Address</a></li>
</ul>
</li>
<!-- <li><a id="resetNav" href="#"><span class="navLabel">Reset Wallet</span></a></li>-->
<li class="dropdown red-tooltip" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="Settings">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="navLabel" style="font-size: 13pt"><i class="fa fa-cogs" aria-hidden="true"></i></span></a>
<ul class="dropdown-menu">
<li><a id="toggleUsd" href="#">Toggle USD</a></li>
<li><a id="aboutNav" href="#">About</a></li>
<li role="separator" class="divider"></li>
<li><a id="resetNav" href="#">Reset Wallet</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div style="margin: 0 20px 0 20px;">
<div id="siteDisclaimer" class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close" id="btn-DismissWarning"><span aria-hidden="true">×</span></button>
<strong>Disclaimer: </strong>This site is in active development. Report bugs to <a href="mailto:[email protected]">[email protected]</a>
<!-- Source code available at <a href="https://github.com/loon3/btcpaymarket" target="_blank">https://github.com/loon3/btcpaymarket</a>-->
</div>
</div>
<div id="initLoading" style="margin: 100px 20px 0 20px;" align="center"><i class="fa fa-refresh fa-spin fa-5x fa-fw"></i><span class="sr-only">Loading...</span></div>
<div id="market-container" class="row no-gutter">
<div id="content-unconfirmed-container" class="col-lg-12">
<div id="content-unconfirmed-menubar-container">
<div id="btn-minimizeUnconfirmed-container">
<div id="btn-minimizeUnconfirmed"><i class="fa fa-minus"></i><span class="sr-only">Hide</span></div>
<div id="content-unconfirmed-menubar">Unconfirmed</div>
</div>
<div id="content-unconfirmed-subcontainer">
<div id="content-unconfirmed-header" align="center">
<!-- <div class="small">Refresh Window to Update</div>-->
<div class="small" align="center" style="font-style: italic">Transactions will appear here until they are confirmed.</div>
<!-- <button class="btn btn-default btn-xs" id="btn-refreshUnconfirmed" type="button">Refresh Unconfirmed</button> -->
</div>
<div id="content-unconfirmed" align="center">
</div>
</div>
</div>
</div>
<div id="content-matches-container" class="col-lg-6">
<div id="content-matches-menubar-container">
<div id="btn-minimizeOrderMatches-container">
<div id="btn-minimizeOrderMatches"><i class="fa fa-minus"></i><span class="sr-only">Hide</span></div>
<div id="content-matches-menubar">Order Matches</div>
</div>
<div id="content-matches-subcontainer">
<div id="content-matches-header" align="center">
<!-- <h3>Order Matches</h3>-->
<!-- <div class="small">Refresh Window to Update</div>-->
<!-- <h5 style="text-decoration: underline">You MUST click on Pending Order Matches to complete your asset order</h5>-->
<div class="small" align="center" style="font-style: italic">Pending Order Matches expire after 20 blocks (about 3 hours)</div>
</div>
<div id="content-matches" align="center">
<div style='padding: 0 0 10px 0;'>
<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
</div>
<div id="yourorders-container" class="col-lg-12">
<div id="yourorders-menubar-container">
<div id="btn-minimize-yourorders-container">
<div id="btn-minimize-yourorders"><i class="fa fa-minus"></i><span class="sr-only">Hide</span></div>
<div id="yourorders-menubar">Your Sell Orders</div>
</div>
<div id="yourorders-subcontainer">
<div id="yourorders-header" align="center">
<div class="small" align="center" style="font-style: italic">Active Sell Orders with less than 0.001 BTC remaining will not appear in the Asset Market</div>
</div>
<div id="yourorders" align="center">
<div style='padding: 0 0 10px 0;'>
<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
</div>
<div id="content-container" class="col-lg-12">
<div id="content-menubar-container">
<div id="btn-minimizeOrders-container">
<div id="btn-minimizeOrders"><i class="fa fa-minus"></i><span class="sr-only">Hide</span></div>
<div id="content-menubar">Asset Market</div>
</div>
<div id="content-subcontainer">
<div id="content-header" align="center">
<!-- <h3>Asset Market</h3>-->
<!-- <div class="small">Refresh Window to Update</div>-->
<!-- <h5>Click on an Active Order to buy assets with BTC</h5>-->
<div class="small" align="center" style="font-style: italic">All orders from the past 10,000 blocks (about 60 days)</div>
</div>
<div id="content" align="center">
<div style='padding: 0 0 10px 0;'>
<i class="fa fa-refresh fa-spin fa-3x fa-fw"></i>
<span class="sr-only">Loading...</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="content-footer" align="center">
<div style='padding: 20px 0 10px 0;'><a class='white-link' href="https://github.com/loon3/btcpaymarket" target="_blank"><i class="fa fa-github fa-2x"></i></a></div>
<div style='font-weight: bold;'>BTCPAY Market v0.3.1</div>
<div class='small' style='padding: 10px 0 0 0;'>BTC/USD Exchange Rate from Coindesk</div>
</div>
</div>
</body>
</html>