first commit

This commit is contained in:
Mateusz Gruszczyński
2025-03-07 22:35:43 +01:00
commit 6bd6284f49
17 changed files with 652 additions and 0 deletions

14
templates/index.html Normal file
View File

@ -0,0 +1,14 @@
{% extends 'base.html' %}
{% block title %}Lista Zbiórek{% endblock %}
{% block content %}
<h1>Lista Zbiórek</h1>
<div class="list-group">
{% for z in zbiorki %}
<a href="{{ url_for('zbiorka', zbiorka_id=z.id) }}" class="list-group-item list-group-item-action bg-secondary text-light">
{{ z.nazwa }}
</a>
{% else %}
<p>Brak zbiórek</p>
{% endfor %}
</div>
{% endblock %}