File tree Expand file tree Collapse file tree 1 file changed +85
-0
lines changed
Expand file tree Collapse file tree 1 file changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < link
5+ rel ="icon "
6+ href ="https://indexsupply.net/ga.ico "
7+ type ="image/x-icon "
8+ />
9+ < meta charset ="utf-8 " />
10+ < title > Index Supply / API Key</ title >
11+ < style >
12+ body {
13+ font-family : system, sans-serif;
14+ font-size : 0.95em ;
15+ letter-spacing : -0.005em ;
16+ line-height : 1.58 ;
17+
18+ max-width : 500px ;
19+ margin : 0 auto;
20+ padding : 0 0 50px 0 ;
21+ }
22+ form {
23+ width : 100% ;
24+ }
25+ input {
26+ font-size : x-large;
27+ width : 100% ;
28+ box-sizing : border-box;
29+ }
30+ input ::placeholder {
31+ color : lightgray;
32+ font-family : monospace;
33+ font-style : italic;
34+ }
35+ button {
36+ margin : 10px 0 0 0 ;
37+ width : 100% ;
38+ box-sizing : border-box;
39+ }
40+ span .capitalize {
41+ font-weight : bold;
42+ text-transform : capitalize;
43+ }
44+ table {
45+ font-family : monospace;
46+ width : 100% ;
47+ border-collapse : collapse;
48+ }
49+ th ,
50+ td {
51+ border : 0.5px solid black;
52+ padding : 8px ;
53+ text-align : left;
54+ }
55+ th {
56+ background-color : whitesmoke;
57+ }
58+ tr : nth-child (even) {
59+ background-color : whitesmoke;
60+ }
61+ </ style >
62+ </ head >
63+ < body >
64+ < h1 > API Key Status</ h1 >
65+ < p > You are viewing key: < strong > < code > {{secret}}</ code > </ strong > < br > </ p >
66+ {{#if snapshot }}
67+ < h2 > IP Address Active Connections</ h2 >
68+ < table >
69+ < thead >
70+ < tr > < th > Client</ th > < th > Connections</ th > </ tr >
71+ </ thead >
72+ < tbody >
73+ {{#each snapshot.active_clients}}
74+ < tr >
75+ < td > {{@key}}</ td >
76+ < td > {{this}}</ td >
77+ </ tr >
78+ {{/each}}
79+ </ tbody >
80+ </ table >
81+ {{else}}
82+ < p > No active connections</ p >
83+ {{/if}}
84+ </ body >
85+ </ html >
You can’t perform that action at this time.
0 commit comments