commit 78ace63610c2210c83731d062028a82f635e7a36 parent 29a14bdb79f358dbfa75d21ac6600cfc52503ad9 Author: Amit Dutta <mail@amit.is-a.dev> Date: Fri, 4 Sep 2026 17:21:05 +0530 Update index.html Diffstat:
| M | app/templates/index.html | | | 16 | ---------------- |
1 file changed, 0 insertions(+), 16 deletions(-)
diff --git a/app/templates/index.html b/app/templates/index.html @@ -479,22 +479,6 @@ </div> </div> - <script> - const filterInput = document.getElementById('filter-input'); - const fileList = document.querySelectorAll('#file-list .list-item[data-name]'); - - if (filterInput) { - filterInput.addEventListener('input', (e) => { - const term = e.target.value.toLowerCase(); - {% if not items %} - <div class="empty-state"> - <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg> - <span>Empty directory</span> - </div> - {% endif %} - </div> - </div> - {% elif page == 'file' %} <div class="list-container" style="padding: 3rem 1.5rem; text-align: center;"> <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="var(--text-dim)" stroke-width="1.5" style="margin-bottom: 1rem;"><path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"/><polyline points="13 2 13 9 20 9"/></svg>