Updates to pull in analytics.

This commit is contained in:
dan612
2026-03-22 17:45:37 -04:00
parent b568a283ac
commit 5df09b1f2f
4 changed files with 183 additions and 15 deletions

View File

@@ -5,9 +5,30 @@
<h4>Actions</h4>
<ul id="dash-menu">
<li><a href="/planner" class="btn btn-primary"><span class="material-symbols-outlined">edit_calendar</span>Planner</a></li>
<li><a href="/analytics" class="btn btn-primary"><span class="material-symbols-outlined">area_chart</span>Analytics</a></li>
<li><a href="/user-logout" class="btn btn-accent"><span class="material-symbols-outlined"> logout </span>Logout</a></li>
<li><a href="/user-logout" class="btn btn-accent"><span class="material-symbols-outlined">logout</span>Logout</a></li>
</ul>
</div>
<div id="pageviews">
<h2>Pageviews</h2>
<div class="table-wrapper">
<table class="data-table">
<thead>
<tr>
<th>Title</th>
<th>Page</th>
<th>Referrer</th>
<th>IP</th>
<th>Language</th>
<th>Screen</th>
<th>Timestamp</th>
</tr>
</thead>
<tbody>
{{ pageview_rows }}
</tbody>
</table>
</div>
</div>
</div>
</section>