work+htmx
This commit is contained in:
parent
34f3367a08
commit
d248c99242
11 changed files with 111 additions and 29 deletions
12
core/templates/htmx/reports.html
Executable file
12
core/templates/htmx/reports.html
Executable file
|
@ -0,0 +1,12 @@
|
|||
{% if reports|length != 0 %}
|
||||
{% for report in reports %}
|
||||
|
||||
{% include 'component/report.html' with report=report %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<div hx-get="/reports?page={{ next }}"
|
||||
hx-trigger="revealed"
|
||||
hx-swap="outerHTML">
|
||||
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue