2022-08-06 20:13:26 +02:00
|
|
|
{% if render_partial and render_partial == true %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
|
|
|
|
{% else %}
|
2021-11-29 17:35:11 +01:00
|
|
|
<!DOCTYPE html>
|
2022-08-06 20:13:26 +02:00
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
2022-10-07 17:03:09 +02:00
|
|
|
{% include "head.html" %}
|
2022-08-06 20:13:26 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2022-10-06 15:08:00 +02:00
|
|
|
<div id="loading" class="loader-wrapper htmx-indicator">
|
|
|
|
<div class="loader is-size-1"></div>
|
|
|
|
</div>
|
2022-10-07 17:03:09 +02:00
|
|
|
{% include "navbar.html" %}
|
2022-08-06 20:13:26 +02:00
|
|
|
<div class="container is-fluid">
|
2022-10-07 21:32:59 +02:00
|
|
|
<div id="notifications">
|
|
|
|
{% if notifications %}
|
|
|
|
{% for notification in notifications -%}
|
2022-10-11 18:54:45 +02:00
|
|
|
<div class="notification mb-4 is-light {{ notification.css_class }}">
|
|
|
|
<button class="delete" onclick="this.parentElement.remove()"></button>
|
2022-10-07 21:32:59 +02:00
|
|
|
{{ notification.message }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2022-10-11 18:54:45 +02:00
|
|
|
<div class="fade-in">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock content %}
|
|
|
|
</div>
|
2022-08-06 20:13:26 +02:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
{% endif %}
|