This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
forked from forkdelta/classic-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
464 lines (428 loc) · 23.2 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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="manifest" href="/manifest.json" />
<meta http-equiv="content-language" content="en-GB" />
<meta name="fragment" content="!" />
<link href="/craftdelta/css/main.css" rel="stylesheet" />
<link href="/craftdelta/css/theme.css" rel="stylesheet" id="stylesheet" />
<link href="/craftdelta/css/small.css" rel="stylesheet" media="only screen and (max-width: 767px)" />
<title>CraftDelta | Decentralised ERC20 Token Exchange</title>
<meta name="description" content="CraftDelta is a decentralised Ethereum Token Exchange, based on EtherDelta and ForkDelta, with a tidier, Mobile-optimised Interface, to make trading cryptocurrency from DApp Browsers a breeze." />
<meta name="keywords" content="token, cryptocurrency, exchange, dex, decentralised, ethereum, erc20" />
<meta property="og:site_name" content="CraftDelta" />
<meta property="og:title" content="CraftDelta | Decentralised ERC20 Token Exchange" />
<meta property="og:url" content="https://craftdelta.co" />
<meta property="og:image" content="https://chaincraft.cc/icons/chaincraft-icon.png" />
<meta property="og:description" content="CraftDelta is a decentralised Ethereum Token Exchange, based on EtherDelta and ForkDelta, with a tidier, Mobile-optimised Interface, to make trading cryptocurrency from DApp Browsers a breeze." />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_GB" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="CraftDelta | Decentralised ERC20 Token Exchange" />
<meta name="twitter:description" content="CraftDelta is a decentralised Ethereum Token Exchange, based on EtherDelta and ForkDelta, with a tidier, Mobile-optimised Interface, to make trading cryptocurrency from DApp Browsers a breeze." />
<meta name="twitter:creator" content="@chaincraft_cc" />
<meta name="twitter:image:src" content="https://chaincraft.cc/icons/chaincraft-icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<link rel="icon" type="image/png" sizes="512x512" href="/icons/chaincraft-icon.png" />
<link rel="icon" type="image/png" sizes="192x192" href="/icons/android-icon-192x192.png" />
<link rel="icon" type="image/png" sizes="96x96" href="/icons/favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png" />
<link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-icon-180x180.png" />
<meta name="msapplication-TileColor" content="#4CAF50" />
<meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png" />
<meta name="theme-color" content="#4CAF50" />
<script type="application/ld+json">
{
"@context": "http:\/\/www.schema.org",
"@graph": [
{
"@type": "Organization",
"name": "Chaincraft.cc",
"description": "Create your own cryptocurrency Token on the Ethereum Blockchain within minutes.",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/icons\/chaincraft-icon.png",
"height": 512,
"width": 512
},
"url": "https:\/\/chaincraft.cc",
"sameAs": [
"https:\/\/twitter.com\/chaincraft_cc",
"https:\/\/t.me\/chaincraft",
"https:\/\/reddit.com\/r\/Chaincraft_cc",
"https:\/\/github.com\/Chaincraft-cc"
]
},
{
"@type": "WebPage",
"name": "CraftDelta | Decentralised ERC20 Token Exchange",
"description": "CraftDelta is a decentralised Ethereum Token Exchange, based on EtherDelta and ForkDelta, with a tidier, Mobile-optimised Interface, to make trading cryptocurrency from DApp Browsers a breeze.",
"url": "https:\/\/chaincraft.cc\/craftdelta",
"keywords": "token, cryptocurrency, exchange, dex, decentralised, ethereum, erc20",
"image": [
{
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/craftdelta\/images\/craftdelta.png",
"width": 1600,
"height": 400
},
{
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/icons\/chaincraft-banner_720x480.png",
"width": 720,
"height": 480
},
{
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/icons\/chaincraft-banner_1200x800.png",
"width": 1200,
"height": 800
}
],
"inLanguage": "en-GB",
"creator": {
"@type": "Organization",
"name": "Chaincraft.cc",
"description": "Create your own cryptocurrency Token on the Ethereum Blockchain within minutes.",
"logo": {
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/icons\/chaincraft-icon.png",
"height": 512,
"width": 512
},
"url": "https:\/\/chaincraft.cc"
},
"breadcrumb": {
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"item": {
"@type": "WebPage",
"@id": "https:\/\/chaincraft.cc",
"name": "Chaincraft.cc"
}
},
{
"@type": "ListItem",
"position": 2,
"item": {
"@type": "WebPage",
"@id": "https:\/\/chaincraft.cc\/craftdelta",
"name": "CraftDelta DEX"
}
}
]
}
},
{
"@type": "WebApplication",
"operatingSystem": "All",
"browserRequirements": "DApp Browser or MetaMask Browser Extension",
"name": "Chaincraft.cc",
"url": "https:\/\/chaincraft.cc",
"applicationCategory": "FinanceApplication",
"image": {
"@type": "ImageObject",
"url": "https:\/\/chaincraft.cc\/icons\/chaincraft-icon.png",
"height": 512,
"width": 512
},
"offers": {
"@type": "Offer",
"price": "0.00",
"priceCurrency": "EUR",
"url": "https:\/\/chaincraft.cc"
}
}
]
}
</script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<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" id="toggleNavigation" class="trn">toggle_navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/craftdelta">
<img src="/craftdelta/images/craftdelta_header.png" alt="CraftDelta DEX by Chaincraft.cc" />
</a>
</div>
<div class="navbar-select-text selectToken">Select Token:</div>
<ul class="nav navbar-nav navbar-left">
<li class="dropdown" id="tokensDropdown">
</li>
</ul>
<div class="nav navbar-nav navbar-left viewSelector viewSelectorTop padding-left">
<div class="navbar-select-text">Select View:</div>
<ul class="select-view" role="tablist">
<li class="active"><a href="#tradeView" aria-controls="tradeView" role="tab" data-toggle="tab">
<i class="fa fa-exchange"></i> Trade & Deposit
</a></li>
<li class="div" role="presentation"> | </li>
<li><a href="#chartsView" aria-controls="chartsView" role="tab" data-toggle="tab">
<i class="fa fa-line-chart"></i> Charts & Volume
</a></li>
</ul>
</div>
<div class="clearfix"></div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="viewSelector viewSelectorNav">
<span class="navbar-select-text">Select View:</span>
<ul class="select-view" role="tablist">
<li class="active"><a href="#tradeView" aria-controls="tradeView" role="tab" data-toggle="tab">
<i class="fa fa-exchange"></i> Trade & Deposit
</a></li>
<li class="div" role="presentation"> | </li>
<li><a href="#chartsView" aria-controls="chartsView" role="tab" data-toggle="tab">
<i class="fa fa-line-chart"></i> Charts & Volume
</a></li>
</ul>
</li>
<li class="dropdown" id="accounts"></li>
<li><a href="/about"><i class="fa fa-university"></i> About</a></li>
<li><a href="/faq"><i class="fa fa-comments-o"></i> FAQ</a></li>
<li class="dropdown" id="helpDropdown"></li>
<li class="dropdown" id="tokenGuidesDropdown"></li>
<li class="dropdown" id="connection"></li>
<li class="dropdown" id="languages"></li>
<li><a href="/create-token"><i class="fa fa-magic"></i> Create your Token</a></li>
<li><a href="https://www.coinbase.com/join/5a4fe76e49d3f302a1111321" target="_blank" rel="noopener"><i class="fa fa-credit-card"></i> Buy ETH</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
<div id="main_content" class="container tab-content" role="main">
<div class="tab-pane active" role="tabpanel" id="tradeView">
<div class="row">
<div class="col-sm-4 col-md-4 no-float">
<div class="row-container">
<!--new order-->
<div class="row-header trn">new_order</div>
<div class="row-box nav-header">
<ul class="nav nav-tabs two columns" role="tablist">
<li role="presentation" class="active"><a href="#buy" aria-controls="buy" role="tab" data-toggle="tab" class="trn">buy</a></li>
<li role="presentation"><a href="#sell" aria-controls="sell" role="tab" data-toggle="tab" class="trn">sell</a></li>
</ul>
</div>
<div class="row-box padding">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="buy"></div>
<div role="tabpanel" class="tab-pane" id="sell"></div>
</div>
</div>
<!--balance-->
<div class="row-header trn">balance</div>
<div id="balance"></div>
</div>
</div>
<div class="col-sm-8 col-md-8 no-float">
<div class="row">
<!--order book-->
<div class="col-sm-12 col-md-5 col-lg-4 no-float">
<div class="row-container">
<div class="row-header trn">order_book</div>
<div id="orders"></div>
</div>
</div>
<div id="my_transactions" class="col-sm-12 col-md-7 col-lg-8 no-float">
<div class="row-container">
<div class="row-header trn">my_transactions</div>
<div class="row-box nav-header">
<ul class="nav nav-tabs four columns" role="tablist">
<li role="presentation" class="active"><a href="#important" aria-controls="info" role="tab" data-toggle="tab" class="trn">important</a></li>
<li role="presentation"><a href="#myTrades" aria-controls="myTrades" role="tab" data-toggle="tab" class="trn">trades</a></li>
<li role="presentation"><a href="#myOrders" aria-controls="myOrders" role="tab" data-toggle="tab" class="trn">orders</a></li>
<li role="presentation"><a href="#myFunds" aria-controls="myFunds" role="tab" data-toggle="tab" class="trn">funds</a></li>
</ul>
</div>
<div class="row-box">
<div class="row-box scroll">
<div class="tab-content">
<div role="tabpanel" class="tab-pane active" id="important">
<div class="info-box">
<p>
<a href="https://twitter.com/chaincraft_cc" target="_blank" rel="noopener"><img alt="Follow us on Twitter" src="https://img.shields.io/badge/Twitter-%40chaincraft__cc-blue.svg" /></a>
<a href="https://www.reddit.com/r/Chaincraft_cc" target="_blank" rel="noopener"><img alt="Join us on Reddit" src="https://img.shields.io/badge/Reddit-Chaincraft__cc-red.svg" /></a>
<a href="https://t.me/Chaincraft" target="_blank" rel="noopener"><img alt="Chat on Telegram" src="https://img.shields.io/badge/chat-on%20Telegram-blue.svg" /></a>
<a href="https://github.com/Chaincraft-cc/CraftDelta.co" target="_blank" rel="noopener"><img alt="Fork us on GitHub" src="https://img.shields.io/badge/fork_us-on%20GitHub-lightgrey.svg" /></a>
</p>
<p style="color: #4CAF50; font-weight: bold;">Notices</p>
<p style="font-size: 12px;">
The URL of this project is <a href="https://chaincraft.cc/craftdelta">chaincraft.cc/craftdelta</a>.
<br />
<a href="https://craftdelta.co">craftdelta.co</a> is the only official shortcut and will always redirect
to <b>chaincraft.cc/craftdelta</b>.
Always check the Address Bar of your Browser. Bookmark CraftDelta once and use the bookmark for your own safety!
</p>
<p style="font-size: 12px;">
This App is a fork of <a href="https://forkdelta.github.io" target="_blank" rel="noopener">ForkDelta</a> using the original
<a href="https://etherdelta.com" target="_blank" rel="noopener">EtherDelta</a> Smart Contract and Order Book.
<br />
In the wake of modern ÐApp Browsers coming to all devices, we've put heavy emphasis
on a tidy and Mobile-optimised experience. We've uncluttered the EtherDelta interface by splitting
it into a <strong>Trade & Deposit</strong> and a <strong>Charts & Volume</strong> screen, and
put the spotlight on what matters the most: the Token you want to trade.
Additionally, essential parts of CraftDelta are cached on your device
upon your first visit, allowing blazing fast access even on a poor mobile Internet connection.
</p>
<p style="color: #4CAF50; font-weight: bold;">How to Start Trading</p>
<p style="font-size: 12px;">
<strong>Use the Deposit form ("Balance" on the lower left) to put your funds (ETH and tokens) on the exchange.</strong> Do <b>not</b> send your tokens directly to the smart contract, or they will be lost and unrecoverable. CraftDelta cannot help you with funds incorrectly deposited to the EtherDelta trading smart contract.
</p>
<p style="color: #4CAF50; font-weight: bold;">CraftDelta Disclaimer</p>
<p style="font-size: 12px;">
CraftDelta is a decentralized trading platform that lets
you trade Ether and Ethereum-based tokens directly with other users.
You are responsible for your own account, funds, and private keys.
You are responsible for your own trading decisions, and the details
and mechanics of the tokens you trade.
CraftDelta is not responsible for your decisions, actions, or losses that result from
using CraftDelta. CraftDelta makes no guarantee about the tokens that you trade using
CraftDelta. CraftDelta does not hold your funds and does not offer refunds.
While the information contained on CraftDelta is periodically updated, no guarantee is given
that the information provided on CraftDelta is correct, complete, or up-to-date.
By using CraftDelta, you acknowledge this and agree to these terms.
</p>
</div>
</div>
<div role="tabpanel" class="tab-pane" id="myTrades"></div>
<div role="tabpanel" class="tab-pane" id="myOrders"></div>
<div role="tabpanel" class="tab-pane" id="myFunds"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="tab-pane active" role="tabpanel" id="chartsView">
<div class="row">
<div class="col-sm-3 col-md-3 no-float">
<div class="row-container">
<div class="row-header trn">volume</div>
<div id="volume"></div>
</div>
</div>
<div class="col-sm-9 col-md-9 no-float">
<div class="row">
<div class="col-sm-12 col-md-5 col-lg-4 no-float">
<div class="row-container">
<div class="row-header">
<span class="trn">trades</span>
</div>
<div class="row-box scroll">
<div id="trades"></div>
</div>
<div class="row-box scroll">
<div id="updates"></div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-7 col-lg-8 no-float">
<div class="row-container">
<div class="row-header trn">price_chart</div>
<div class="row-box nav-header">
<ul class="nav nav-tabs two columns" role="tablist">
<li role="presentation" class="active"><a href="#chartPrice" aria-controls="chartPrice" role="tab" data-toggle="tab" class="trn">price</a></li>
<li role="presentation"><a href="#chartDepth" aria-controls="chartDepth" role="tab" data-toggle="tab" class="trn">depth</a></li>
</ul>
</div>
<div class="row-box height3">
<div class="tab-content" style="height: 100%;">
<div role="tabpanel" class="tab-pane active" id="chartPrice" style="height: 100%; width: 100%; background: #000;"></div>
<div role="tabpanel" class="tab-pane" id="chartDepth" style="height: 100%; width: 100%; background: #000;"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="buyTrade"></div>
<div id="sellTrade"></div>
<div id="importAccount"></div>
<div id="otherToken"></div>
<div id="gasPrice"></div>
<div id="tokenGuide"></div>
<div id="screencast"></div>
<div id="ledger"></div>
<!-- Service Worker -->
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('service-worker.js').catch(function(e) {
console.warn(e);
});
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-29558196-10', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
<script src="/craftdelta/js/dependencies.js" type="text/javascript"></script>
<script src="/craftdelta/js/main-unminified.js" type="text/javascript"></script>
<script>
if (window.location.href.indexOf('index.html') > -1) {
window.location.href = window.location.href.replace('index.html', '');
}
$(document).ready(function() {
// don't collapse charts when loaded hidden
setTimeout(function() {
if ($('#chartsView').hasClass('active') && $('#tradeView').hasClass('active')) {
$('#chartsView').removeClass('active');
}
$('body').css({overflowY: 'auto'});
$('#tokensDropdown .dropdown-menu li, #tokensDropdown .dropdown-menu a')
.on('click', function() {
if (!($('#chartsView').hasClass('active'))) {
$('#chartsView').addClass('active');
$('body').css({overflowY: 'hidden'});
setTimeout(function() {
$('#chartsView').removeClass('active');
$('body').css({overflowY: 'auto'});
}, 2000);
}
});
}, 10000);
// close mobile nav on content click
$('#main_content, .select-view>li>a').on('click', function() {
if ($('.navbar-toggle').attr('aria-expanded') == 'true') {
$('.navbar-toggle').click();
}
});
});
</script>
</body>
</html>