add: notifications ui

This commit is contained in:
trisua 2025-03-30 22:26:20 -04:00
parent 9dc75d7095
commit f5b75382e5
14 changed files with 179 additions and 14 deletions

View file

@ -0,0 +1,13 @@
{% import "macros.html" as macros %} {% extends "root.html" %} {% block head %}
<title>Notifications - {{ config.name }}</title>
{% endblock %} {% block body %} {{ macros::nav(selected="communities") }}
<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 %}