aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/file-row.html
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-12-29 11:44:57 -0800
committerPinapelz <yukais@pinapelz.com>2025-12-29 11:44:57 -0800
commite7ef35277dd0b4bba5b3fb675d5eed3cd0f0fcb8 (patch)
tree0fc0bd749cccdc0cf2be986c58c1a0cf98ebf0d3 /src/main/resources/templates/file-row.html
parent034ed93198bfd9387458489a4af6c240debd7e48 (diff)
refactor webui into templates
Diffstat (limited to 'src/main/resources/templates/file-row.html')
-rw-r--r--src/main/resources/templates/file-row.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/resources/templates/file-row.html b/src/main/resources/templates/file-row.html
new file mode 100644
index 0000000..b6219eb
--- /dev/null
+++ b/src/main/resources/templates/file-row.html
@@ -0,0 +1,17 @@
+<tr>
+ <td>
+ <a href="/fetch?fileId={{id}}" target="_blank" class="file-link">
+ <i class="{{fileIcon}} file-icon"></i>
+ {{name}}
+ </a>
+ </td>
+ <td class="file-description">{{description}}</td>
+ <td class="file-size">{{size}}</td>
+ <td><span class="file-type">{{fileType}}</span></td>
+ <td class="file-date">{{createdDate}}</td>
+ <td class="file-actions">
+ <button class="btn-delete" onclick="deleteFile({{id}}, '{{escapedName}}')" title="Delete file">
+ <i class="fas fa-trash"></i>
+ </button>
+ </td>
+</tr> \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage