forked from MarseyWorld/MarseyWorld
35 lines
879 B
HTML
35 lines
879 B
HTML
{% extends "meta_navbar.html" %}
|
|
{% block pagetitle %}Statistics{% endblock %}
|
|
{% block content %}
|
|
<h3>Weekly Chart</h3>
|
|
<a href="/weekly_chart.webp" rel="noopener" target="_blank">
|
|
<img alt="Weekly Chart" class="img" src="/weekly_chart.webp">
|
|
</a>
|
|
|
|
<h3>Daily Chart</h3>
|
|
<a href="/daily_chart.webp" rel="noopener" target="_blank">
|
|
<img alt="Daily Chart" class="img" src="/daily_chart.webp">
|
|
</a>
|
|
|
|
<div class="overflow-x-auto mt-4">
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th class="disable-sort-click">Statistic</th>
|
|
<th class="disable-sort-click">Value</th>
|
|
</tr>
|
|
</thead>
|
|
{% for key, value in stats.items() %}
|
|
<tr>
|
|
<td>{{key}}</td>
|
|
{% if key == 'Time these stats were collected' -%}
|
|
<td data-time="{{value}}"></td>
|
|
{% else -%}
|
|
<td>{{value}}</td>
|
|
{%- endif %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
{% endblock %}
|