first commit

This commit is contained in:
Mateusz Gruszczyński
2025-07-19 15:51:29 +02:00
commit 7ac1ad269c
12 changed files with 328 additions and 0 deletions

16
templates/stats.html Normal file
View File

@@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block title %}Statystyki serwera | linuxiarz.pl{% endblock %}
{% block content %}
<div class="card">
<div class="card-body">
<h5 class="card-title">Statystyki użytkowników</h5>
<p class="card-text">Ostatnia aktualizacja: {{ last_update }}</p>
<p class="card-text">Serwer: {{ server_name }}</p>
{% for graph in graphs %}
<h6>{{ graph.title }}</h6>
<img src="/static/graphs/{{ graph.file }}" alt="{{ graph.title }}" class="img-fluid graph">
{% endfor %}
<p class="mt-3">Aktualny czas: {{ now }}</p>
</div>
</div>
{% endblock %}