-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
262 lines (249 loc) · 9.78 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- Primary Meta Tags -->
<title>Karai Explorer</title>
<meta name="description" content="Explore Karai Transactions.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://karai.io/explore/">
<meta property="og:title" content="Karai Explorer">
<meta property="og:description" content="Explore Karai Transactions.">
<meta property="og:image" content="https://karai.io/explore/dist/img/karai-og.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://karai.io/explore/">
<meta property="twitter:title" content="Karai Explorer">
<meta property="twitter:description" content="Explore Karai Transactions.">
<meta property="twitter:image" content="https://karai.io/explore/dist/img/karai-og.png">
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin>
<meta name="msapplication-TileColor" content="#43b380" />
<meta name="theme-color" content="#43b380" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<link rel="shortcut icon" href="./dist/ico/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="./dist/ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./dist/ico/favicon-16x16.png">
<link rel="manifest" href="./dist/ico/site.webmanifest">
<link rel="mask-icon" href="./dist/ico/safari-pinned-tab.svg" color="#43b380">
<link href="./dist/css/tabler.min.css" rel="stylesheet" />
<link href="./dist/css/style.css" rel="stylesheet" />
<style>
body {
display: none;
}
</style>
<style type="text/css">
#graph-view {
height: 350px;
/* pointer-events: none; */
}
</style>
<!-- Demo - needs to be removed -->
<script src="./dist/js/third-party.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.28.0/moment.min.js" integrity="sha512-Q1f3TS3vSt1jQ8AwP2OuenztnLU6LwxgyyYOG1jgMW/cbEMHps/3wjvnl1P3WTrF3chJUWEoxDUEjMxDV8pujg==" crossorigin="anonymous"></script>
<script src="./dist/js/common.js"></script>
<script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>
<script src="./dist/js/index.js"></script>
</head>
<body class="antialiased">
<div class="page">
<header class="navbar navbar-expand-lg navbar-dark navbar-overlap">
<div class="container-xl">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-menu">
<span class="navbar-toggler-icon"></span>
</button>
<a href="./index.html" class="navbar-brand navbar-brand-autodark d-none-navbar-horizontal pr-0 pr-md-3">
<img src="./dist/img/turtlecoin-logo.svg" alt="Tabler" class="navbar-brand-image">
</a>
<div class="navbar-nav flex-row order-md-last">
<div class="nav-item d-md-flex">
<a href="#" class="nav-link px-0 mode-toggle">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-md" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"></path>
<circle cx="12" cy="12" r="9"></circle>
<line x1="12" y1="3" x2="12" y2="21"></line>
<path d="M12 9l4.65 -4.65"></path>
<path d="M12 14.3l7.37 -7.37"></path>
<path d="M12 19.6l8.85 -8.85"></path>
</svg>
</a>
</div>
</div>
<div class="collapse navbar-collapse" id="navbar-menu">
<div class="d-flex flex-column flex-lg-row flex-fill align-items-stretch align-items-lg-center">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="./index.html">
<span class="nav-link-icon d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"></path>
<polyline points="12 3 20 7.5 20 16.5 12 21 4 16.5 4 7.5 12 3"></polyline>
<line x1="12" y1="12" x2="20" y2="7.5"></line>
<line x1="12" y1="12" x2="12" y2="21"></line>
<line x1="12" y1="12" x2="4" y2="7.5"></line>
<line x1="16" y1="5.25" x2="8" y2="9.75"></line>
</svg>
</span>
<span class="nav-link-title">
Explorer
</span>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown">
<span class="nav-link-icon d-lg-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"></path>
<polyline points="14 3 14 8 19 8"></polyline>
<path d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"></path>
<line x1="9" y1="9" x2="10" y2="9"></line>
<line x1="9" y1="13" x2="15" y2="13"></line>
<line x1="9" y1="17" x2="15" y2="17"></line>
</svg>
</span>
<span id="chan-select-title" class="nav-link-title">
Icarus (Unstable)
</span>
</a>
<div class="dropdown-menu dropdown-menu-arrow">
<a id="select-daedalus" href="#" class="dropdown-item ">Daedalus (Stable)</a>
<a id="select-icarus" href="#" class="dropdown-item ">Icarus (Unstable)</a>
</div>
</li>
</ul>
<div class="ml-lg-auto pl-lg-4 py-2 py-md-0 order-last flex-grow-1 flex-md-grow-1">
<div>
<div class="input-icon">
<span class="input-icon-addon">
<svg xmlns="http://www.w3.org/2000/svg" class="icon" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z"></path>
<circle cx="10" cy="10" r="7"></circle>
<line x1="21" y1="21" x2="15" y2="15"></line>
</svg>
</span>
<input type="text" id="searchValue" class="form-control form-control-dark" placeholder="Search by Transaction Hash">
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<div class="content">
<div class="container-xl">
<!-- Page title -->
<div class="page-header text-white">
<div class="row align-items-center">
<div class="col-auto">
<h2 class="page-title">
Karai Explorer
</h2>
</div>
</div>
</div>
<div class="row row-deck row-cards">
<div class="col-sm-12 col-lg-4">
<div class="card" id="stats">
<div class="card-header">
<h4 class="card-title">Channel Stats</h4>
</div>
<table class="table card-table table-vcenter">
<tbody>
<tr>
<th>Name</th>
<td id="channelName"></td>
</tr>
<tr>
<th>Description</th>
<td id="channelDescription"></td>
</tr>
<tr>
<th>Version</th>
<td id="channelVersion"></td>
</tr>
<tr>
<th>Contact</th>
<td id="channelContact"></td>
</tr>
<tr>
<th>Public Key</th>
<td id="channelPubKey"></td>
</tr>
<tr>
<th>Transactions</th>
<td id="channelTxCount"></td>
</tr>
<tr>
<th>Registered Users</th>
<td id="channelUsersCount"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="col-sm-12 col-lg-8">
<div class="row row-deck row-cards">
<div class="col-12">
<div class="card">
<div class="card-body" id="graph-view">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<h4 class="card-title">Transactions</h4>
</div>
<div class="table-responsive">
<table id=transactions class="table table-vcenter card-table">
<thead>
<tr>
<th>Date</th>
<th>Type</th>
<th>Hash</th>
<th>Data</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
</div>
<footer class="footer footer-transparent">
<div class="container">
<div class="row text-center align-items-center flex-row-reverse">
<div class="col-lg-auto ml-lg-auto">
<ul class="list-inline list-inline-dots mb-0">
<li class="list-inline-item"><a href="https://github.com/karai/explore" target="_blank" class="link-secondary">Source code</a></li>
</ul>
</div>
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
Copyright © 2020 Powerd By
<a href="https://turtlecoin.lol/" target="_blank" class="link-secondary">TurtleCoin®</a>.
The source code is licensed under AGPL-3.0.
</div>
</div>
</div>
</footer>
</div>
</div>
<!-- Libs JS -->
<script src="./dist/js/bootstrap.bundle.min.js"></script>
<!-- Tabler Core -->
<script src="./dist/js/tabler.min.js"></script>
<!-- Dark Mode -->
<script src="./dist/js/dark-mode.js"></script>
<script>
document.body.style.display = "block"
</script>
</body></html>