aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/empty-files.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/empty-files.html')
-rw-r--r--src/main/resources/templates/empty-files.html16
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage