This commit is contained in:
cangui 2025-06-21 07:25:19 +02:00
parent 70255f53aa
commit 708d254bd1

View File

@ -3,9 +3,8 @@
<div class="column is-4-mobile is-3-tablet">
<div class="card"
hx-get="{{ if .IsDir }}/folders?path={{ urlquery .Path }}{{ else }}/folders/detail?path={{ urlquery .Path }}{{ end }}"
hx-target="{{ if .IsDir }}#content{{ else }}#test{{ end }}"
hx-target="{{ if .IsDir }}#content{{ else }}#content{{ end }}"
hx-push-url="true"
hx-swap-oob="beforeend"
style="cursor:pointer">
<div class="card-image">
<figure class="image is-4by3">
@ -25,6 +24,3 @@
</div>
{{- end }}
</div>
<div id="test">
</div>