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/file-row.html | |
| parent | 034ed93198bfd9387458489a4af6c240debd7e48 (diff) | |
refactor webui into templates
Diffstat (limited to 'src/main/resources/templates/file-row.html')
| -rw-r--r-- | src/main/resources/templates/file-row.html | 17 |
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 |
