view settings and images

This commit is contained in:
nahakubuilde
2025-08-25 18:15:51 +01:00
parent da71deb7e2
commit c85372e695
7 changed files with 132 additions and 8 deletions

View File

@@ -74,6 +74,11 @@
<i class="fas fa-edit"></i>
</a>
{{end}}
{{if eq .Type "image"}}
<a href="/serve_attached_image/{{.Path}}" target="_blank" class="text-yellow-400 hover:text-yellow-300 p-2" title="View">
<i class="fas fa-eye"></i>
</a>
{{end}}
{{if ne .Type "dir"}}
<a href="/download/{{.Path}}" class="text-green-400 hover:text-green-300 p-2" title="Download">
<i class="fas fa-download"></i>