aboutsummaryrefslogtreecommitdiffstats
path: root/templates/fragments/files_list.html
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2023-10-12 09:39:50 +0300
committerJan Tuomi <jans.tuomi@gmail.com>2023-10-12 09:43:39 +0300
commit9cb1b001ae709fc40dc3502f2e7d56178fee4acf (patch)
tree15bf9c7f8f10035c616c13e38fd20003d4cd67fd /templates/fragments/files_list.html
parent873e0766f31dd427f52f0d51477ec71173eed5fa (diff)
Improve stuffHEADmain
Diffstat (limited to 'templates/fragments/files_list.html')
-rw-r--r--templates/fragments/files_list.html18
1 files changed, 0 insertions, 18 deletions
diff --git a/templates/fragments/files_list.html b/templates/fragments/files_list.html
deleted file mode 100644
index aba3000..0000000
--- a/templates/fragments/files_list.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<div id="files-list">
- <ul>
- {% for item in listing %}
- <li>
- {% if item.kind == "file" %}
- <a href="{{ item.static_path }}">📄 {{ item.name }}</a>
- {% else %}
- <a
- href="/?show_files=1&dir={{ item.full_path | urlencode }}"
- hx-post="/navigate_files/{{ item.full_path | urlencode }}"
- hx-trigger="click"
- hx-target="#files-list"
- hx-swap="outerHTML">📂 {{ item.name }}/</a>
- {% endif %}
- </li>
- {% endfor %}
- </ul>
-</div>