zmiana month na m i poprawka w kolorach paginaci

This commit is contained in:
Mateusz Gruszczyński
2025-08-13 14:56:34 +02:00
parent 4dfd1fa45f
commit c9f5a37e1f
2 changed files with 29 additions and 5 deletions

View File

@@ -47,7 +47,9 @@
{{ month_names[month|int - 1] }} {{ year }}
</option>
{% endfor %}
<option value="">Wyświetl wszystko</option>
<option value="all" {% if selected_month == 'all' %}selected{% endif %}>
Wyświetl wszystko
</option>
</select>
</div>
@@ -235,7 +237,8 @@
{{ month_names[month|int - 1] }} {{ year }}
</a>
{% endfor %}
<a href="{{ url_for('main_page') }}" class="btn btn-outline-secondary {% if not selected_month %}active{% endif %}">
<a href="{{ url_for('main_page', month='all') }}"
class="btn btn-outline-secondary {% if selected_month == 'all' %}active{% endif %}">
📋 Wyświetl wszystkie
</a>
</div>