trophies update and hamburger fix

This commit is contained in:
2025-06-05 00:40:47 +02:00
parent be951d296f
commit 3dfc40cdb0
3 changed files with 29 additions and 25 deletions

View File

@@ -3,22 +3,26 @@
{% block title %}Statystyki{% endblock %}
{% block content %}
<section class="section-stats">
<h2>Ogólne statystyki</h2>
<div class="stats">
<div class="stat-box">
<h3>{{ trophy.name}}</h3>
<p>Gole</p>
</div>
<div class="stat-box">
<h3>{{ trophy.name }}</h3>
<p>Asysty</p>
</div>
<div class="stat-box">
<h3>{{ trophy.name }}</h3>
<p>Występy</p>
</div>
</div>
<section class="section__matches">
<h2>📅 Trofea</h2>
<table>
<tr>
<th>Nazwa</th>
<th>Data/Sezon</th>
</tr>
{% for trophy in trophy %}
<tr>
<td>{{ trophy.name }}</td>
{% if trophy.year == NULL %}
<td>{{ trophy.sezon }}</td>
{% endif %}
{% if trophy.sezon == NULL %}
<td>{{ trophy.year }}</td>
{% endif %}
</tr>
{% endfor %}
</table>
</section>
{% endblock %}