2025-04-08 15:49:41 -04:00
|
|
|
{% extends "root.html" %} {% block head %}
|
2025-03-30 22:26:20 -04:00
|
|
|
<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">
|
2025-04-03 20:05:21 -04:00
|
|
|
<div class="card-nest">
|
|
|
|
<div class="card small flex items-center justify-between gap-2">
|
|
|
|
<span class="flex items-center gap-2">
|
|
|
|
{{ icon "bell" }}
|
|
|
|
<span>{{ text "notifs:label.notifications" }}</span>
|
|
|
|
</span>
|
2025-03-30 22:26:20 -04:00
|
|
|
|
2025-04-03 20:05:21 -04:00
|
|
|
<button
|
|
|
|
onclick="trigger('me::clear_notifs')"
|
2025-04-12 22:25:54 -04:00
|
|
|
class="small red quaternary"
|
2025-04-03 20:05:21 -04:00
|
|
|
>
|
|
|
|
{{ icon "bomb" }}
|
|
|
|
<span>{{ text "notifs:action.clear" }}</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card tertiary flex flex-col gap-4">
|
|
|
|
{% for notification in notifications %} {{
|
|
|
|
components::notification(notification=notification) }} {% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2025-03-30 22:26:20 -04:00
|
|
|
</main>
|
|
|
|
{% endblock %}
|