refactor: move analytics into services directory

This commit is contained in:
Justin Lin committed 2025-05-05 19:55:40 +08:00
1 parent e43cbe26ce
commit 740cbcecb4
31 files changed
+6 -5

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
<body>
<div class='title'>
<img src='icon_totem.svg' class='styled-image' />
<h1>Welcome to {{title}}</h1>
</div>
<div class='container'>
<h2 class='heading'>Overview</h2>
<table class='data-table'>
<tr>
<th>Registered Users</th>
<td>{{userCount}}</td>
</tr>
<tr>
<th>Total Started Quests</th>
<td>{{totalQuests}}</td>
</tr>
<tr>
<th>Completed Quests</th>
<td>{{totalCompleted}}</td>
</tr>
<tr>
<th>Completed Rate</th>
<td>{{completedRate}}%</td>
</tr>
</table>
</div>
</body>