Files

28 lines
961 B
HTML
Raw Permalink Normal View History

2026-07-01 21:10:06 +02:00
{% extends "base.html" %}
{% block title %}Forside{% endblock %}
{% block content %}
<h1>⚡ Pokémon TCG serier</h1>
<p style="color:var(--text-muted);margin-bottom:24px;">{{ series|length }} serie(r) i databasen</p>
2026-07-01 21:10:06 +02:00
<div class="card-grid">
{% for serie in series %}
<a href="/series/{{ serie.name|urlencode }}" class="card-set">
2026-07-01 21:10:06 +02:00
<div class="card">
<h3 style="margin-bottom:6px;">📦 {{ serie.name }}</h3>
<p style="font-size:0.85rem;color:var(--text-muted);">
{{ serie.sets|length }} sæt
</p>
{% if serie.description %}
<p style="font-size:0.85rem;color:var(--text-muted);margin-top:6px;">{{ serie.description }}</p>
2026-07-01 21:10:06 +02:00
{% endif %}
</div>
</a>
{% endfor %}
</div>
{% if series|length == 0 %}
2026-07-01 21:10:06 +02:00
<div class="card" style="text-align:center;color:var(--text-muted);">
<p>Ingen serier i databasen endnu.</p>
2026-07-01 21:10:06 +02:00
</div>
{% endif %}
{% endblock %}