add: post image uploads (supporter)

This commit is contained in:
trisua 2025-05-11 14:27:55 -04:00
parent ba1f8ef063
commit 70965298b5
18 changed files with 455 additions and 50 deletions

View file

@ -67,7 +67,7 @@ macros -%}
<body>
<div id="toast_zone"></div>
<div id="page" style="display: contents">
<div id="page">
<!-- prettier-ignore -->
{% if user and user.id == 0 %}
<article>
@ -281,6 +281,17 @@ macros -%}
</div>
</dialog>
<div class="lightbox hidden" id="lightbox">
<button
class="lightbox_exit small square quaternary red"
onclick="trigger('ui::lightbox_close')"
>
{{ icon "x" }}
</button>
<img src="" alt="Image" id="lightbox_img" />
</div>
{% if user %}
<dialog id="tokens_dialog">
<div class="inner flex flex-col gap-2">