diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-12-29 11:44:57 -0800 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-12-29 11:44:57 -0800 |
| commit | e7ef35277dd0b4bba5b3fb675d5eed3cd0f0fcb8 (patch) | |
| tree | 0fc0bd749cccdc0cf2be986c58c1a0cf98ebf0d3 /src/main/resources/templates/empty-files.html | |
| parent | 034ed93198bfd9387458489a4af6c240debd7e48 (diff) | |
refactor webui into templates
Diffstat (limited to 'src/main/resources/templates/empty-files.html')
| -rw-r--r-- | src/main/resources/templates/empty-files.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/templates/empty-files.html b/src/main/resources/templates/empty-files.html new file mode 100644 index 0000000..d5ca35a --- /dev/null +++ b/src/main/resources/templates/empty-files.html @@ -0,0 +1,16 @@ +<div class="empty-state"> + <div class="empty-state-icon"> + <i class="fas fa-folder-open"></i> + </div> + <h3>no files yet</h3> + <p>upload some files through discord to see them here</p> +</div> +<script> + document.getElementById('count-value').textContent = '0'; + function clearFilters() { + document.querySelector('input[name="search"]').value = ''; + document.querySelector('select[name="mimeType"]').value = ''; + document.querySelector('select[name="sortBy"]').value = 'created_at'; + htmx.trigger('.file-container', 'refresh'); + } +</script>
\ No newline at end of file |
