feat: migrate /images page to new typed methods

This commit is contained in:
Jef Roosens 2025-01-26 15:46:53 +01:00
parent 4e92c02e63
commit b17c2e7df6
No known key found for this signature in database
GPG key ID: 21FD3D77D56BAF49
7 changed files with 74 additions and 26 deletions

18
templates/list/card.html Normal file
View file

@ -0,0 +1,18 @@
<h1>{{ heading }}</h1>
<div id="items">
{% for item in items %}
{{ item | safe }}
{% endfor %}
{% if next_page_url %}
<div
aria-busy="true"
hx-get="{{ next_page_url }}"
hx-select="#items > *"
hx-trigger="revealed"
hx-target="this"
hx-swap="outerHTML">
</div>
{% endif %}
</div>