add: notifications ui
This commit is contained in:
parent
9dc75d7095
commit
f5b75382e5
14 changed files with 179 additions and 14 deletions
13
crates/app/src/public/html/misc/notifications.html
Normal file
13
crates/app/src/public/html/misc/notifications.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue