feat: add usercount, session count and complete rate

This commit is contained in:
wancat committed 2023-10-14 16:03:44 +08:00
1 parent add6bfd100
commit cc95bb195b
7 files changed
+131 -5

No files matched your search

+22 -1
View File
@@ -1,2 +1,23 @@
<h1>Welcome to {{title}}</h1>
<p>This is the content of the homepage.</p>
<p>This is the content of the homepage.</p>
<div>
<h2>Users</h2>
<table>
<tr>
<th>Registered Users</th>
<td>{{userCount}}</td>
</tr>
<tr>
<th>Session Count</th>
<td>{{sessionCount}}</td>
</tr>
<tr>
<th>Completed Session</th>
<td>{{sessionCompleted}}</td>
</tr>
<tr>
<th>Completed Rate</th>
<td>{{completedRate}}%</td>
</tr>
</table>
</div>