actix-admin/templates/base.html

35 lines
814 B
HTML
Raw Normal View History

{% if render_partial and render_partial == true %}
{% block content %}
{% endblock content %}
{% else %}
2021-11-29 17:35:11 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
2022-10-07 17:03:09 +02:00
{% include "head.html" %}
</head>
<body>
2022-10-07 17:03:09 +02:00
{% include "navbar.html" %}
<div class="container is-fluid">
<div id="notifications">
{% if notifications %}
{% for notification in notifications -%}
<div class="notification mb-4 is-light {{ notification.css_class }}">
<button class="delete" onclick="this.parentElement.remove()"></button>
{{ notification.message }}
</div>
{% endfor %}
{% endif %}
</div>
<div>
{% block content %}
{% endblock content %}
</div>
</div>
</body>
</html>
{% endif %}