-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstats.html
More file actions
96 lines (92 loc) · 3.28 KB
/
Copy pathstats.html
File metadata and controls
96 lines (92 loc) · 3.28 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Stats | tbd</title>
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/terminal.css" />
<link rel="stylesheet" href="css/stats.css" />
<link rel="icon" type="image/png" href="favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="tbd RSS Feed" href="/feed.xml" />
</head>
<body>
<header></header>
<div class="container">
<main class="main-content">
<h1>Stats</h1>
<div id="auth-screen">
<div class="auth-line">
<span class="prompt">></span>
<span>connecting to tbd.codes analytics...</span>
</div>
<div class="auth-line">
<span class="prompt">></span>
<label for="token-input">passphrase:</label>
<input
type="password"
id="token-input"
autocomplete="off"
spellcheck="false"
/>
</div>
<div id="auth-error" class="hidden"></div>
</div>
<div id="dashboard" class="hidden">
<div class="stats-summary" id="summary"></div>
<div class="stats-charts">
<div class="chart-card">
<p class="chart-title">$ reads --by-category</p>
<div id="chart-categories"></div>
</div>
<div class="chart-card">
<p class="chart-title">$ reads --by-post-month</p>
<div id="chart-months"></div>
</div>
<div class="chart-card">
<p class="chart-title">$ reactions --by-emoji</p>
<div id="chart-emoji"></div>
</div>
<div class="chart-card">
<p class="chart-title">$ reads --over-time</p>
<div id="chart-history"></div>
</div>
</div>
<table class="stats-table" id="stats-table">
<thead>
<tr>
<th class="th-rank">#</th>
<th class="th-title">title</th>
<th class="th-date" data-sort="date">
date<span class="sort-arrow"></span>
</th>
<th class="th-views" data-sort="views">
views<span class="sort-arrow">▼</span>
</th>
<th class="th-bar"></th>
<th class="th-reactions" data-sort="reactions">
reactions<span class="sort-arrow"></span>
</th>
</tr>
</thead>
<tbody id="stats-tbody"></tbody>
</table>
</div>
</main>
</div>
<footer></footer>
<script src="js/main.js"></script>
<script src="js/include-components.js"></script>
<script src="js/site-data.js"></script>
<script src="js/presence.js"></script>
<script src="js/term-core.js"></script>
<script src="js/term-commands.js"></script>
<script src="js/now-data.js"></script>
<script src="js/term-overlay.js"></script>
<script src="js/stats.js"></script>
</body>
</html>