nyazoom/templates/linklist.html

24 lines
575 B
HTML
Raw Permalink Normal View History

2024-11-14 15:33:36 +00:00
{% extends "base.html" %}
{% block content %}
<div class="form-wrapper">
<div class="column-container">
<ul>
2024-11-21 14:45:08 +00:00
{% for key in cache_names %}
2024-11-14 15:33:36 +00:00
<li class="link-wrapper">
<a href="/link/{{ key }}">{{ key }}</a>
<button
style="margin-left: 1em;"
hx-target="closest .link-wrapper"
hx-swap="outerHTML"
hx-delete="/link/{{ key }}"
>
2024-11-14 15:57:42 +00:00
X
2024-11-14 15:33:36 +00:00
</button>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock content %}