zapamietanie akcji
This commit is contained in:
@@ -41,10 +41,14 @@
|
||||
</div>
|
||||
</nav>
|
||||
{% endif %}
|
||||
<main class="container app-main {% if not current_user.is_authenticated %}auth-main{% endif %}">
|
||||
{% with msgs=get_flashed_messages(with_categories=true) %}
|
||||
{% with msgs=get_flashed_messages(with_categories=true) %}
|
||||
{% if msgs %}
|
||||
<div id="server-alerts" class="app-alert-host" aria-live="polite" aria-atomic="true">
|
||||
{% for cat,msg in msgs %}<div class="alert alert-{{cat}} alert-dismissible fade show app-alert" role="alert">{{msg}}<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Zamknij"></button></div>{% endfor %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
<main class="container app-main {% if not current_user.is_authenticated %}auth-main{% endif %}">
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
{% if current_user.is_authenticated %}<footer class="app-footer"><div class="container d-flex justify-content-between align-items-center small"><span>@linuxiarz.pl</span><a href="/docs" target="_blank" rel="noopener">Dokumentacja API</a></div></footer>{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user