-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
69 lines (66 loc) · 2.45 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>NEXT</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link href="static/plugins/ionicons/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
<link href="static/plugins/fontawesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="static/plugins/semantic/semantic.min.css" rel="stylesheet" type="text/css"/>
<link href="static/css/nucleo-icons.css" rel="stylesheet" type="text/css"/>
<link href="static/plugins/highlightjs/tomorrow.min.css" rel="stylesheet" type="text/css"/>
<link href="static/plugins/cryptocoins/webfont/cryptocoins.css" rel="stylesheet" type="text/css"/>
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<script src="static/plugins/ckeditor/ckeditor.js"></script>
<script src="static/plugins/jquery/jquery.min.js"></script>
<script src="static/plugins/jsonq/jsonq.min.js"></script>
<script src="static/plugins/moment/moment-with-locales.js"></script>
<script src="static/plugins/clipboard/clipboard.min.js"></script>
<script src="static/plugins/sweetalert2/sweetalert2.all.min.js"></script>
<script src="static/plugins/axios/axios.min.js"></script>
<script src="static/plugins/highlightjs/highlight.min.js"></script>
<script src="static/plugins/qrcode/qrcode.js"></script>
<script src="static/plugins/semantic/semantic.min.js"></script>
</head>
<body>
<div id="app">
</div>
</body>
</html>
<script>
function sortByKey(array, key)
{
return array.sort(function(a, b) {
var x = a[key]; var y = b[key];
return ((x < y) ? -1 : ((x > y) ? 1 : 0));
});
}
function secondsToDhms(seconds)
{
seconds=Number(seconds);
var d=Math.floor(seconds / (3600*24));
var h=Math.floor(seconds % (3600*24) / 3600);
var m=Math.floor(seconds % 3600 / 60);
var s=Math.floor(seconds % 3600 % 60);
var dDisplay = d > 0 ? d + (d == 1 ? " day " : " days ") : "";
return dDisplay;
}
function copy(selector)
{
swal("Success!", "Your wallet address copied to clipboard", "success");
var $temp = $("<div>");
$("body").append($temp);
$temp.attr("contenteditable", true)
.html($("#"+selector).html()).select()
.on("focus", function() { document.execCommand('selectAll',false,null) })
.focus();
document.execCommand("copy");
$temp.remove();
}
</script>
<style>
.swal2-popup .swal2-select {
font-size: 11pt;
}
</style>