tetratto/crates/app/src/public/html/misc/notifications.html

14 lines
528 B
HTML
Raw Normal View History

2025-03-30 22:26:20 -04:00
{% import "macros.html" as macros %} {% extends "root.html" %} {% block head %}
<title>Notifications - {{ config.name }}</title>
2025-03-31 11:45:34 -04:00
{% endblock %} {% block body %} {{ macros::nav(selected="notifications") }}
2025-03-30 22:26:20 -04:00
<main class="flex flex-col gap-2">
<button onclick="trigger('me::clear_notifs')">
{{ icon "bomb" }}
<span>{{ text "notifs:action.clear" }}</span>
</button>
{% for notification in notifications %} {{
components::notification(notification=notification) }} {% endfor %}
</main>
{% endblock %}