mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-22 07:10:59 +00:00
8f57aa5f37
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
16 lines
665 B
HTML
16 lines
665 B
HTML
{% for announcement in announcements %}
|
|
<div class="announcement">
|
|
<a hx-post="{{ announcement.urls.dismiss }}" hx-target="closest .announcement" hx-swap="delete" class="dismiss" title="Dismiss announcement"><i class="fa-solid fa-xmark"></i></a>
|
|
{{ announcement.html }}
|
|
</div>
|
|
{% endfor %}
|
|
{% if messages %}
|
|
<ul class="messages">
|
|
{% for message in messages %}
|
|
<div class="message {{ message.tags }}">
|
|
<a class="dismiss" title="Dismiss" _="on click remove closest <div/>"><i class="fa-solid fa-xmark"></i></a>
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|