diff --git a/cmd/fibr/templates/edit-modal.html b/cmd/fibr/templates/edit-modal.html index ae12a46f..62790477 100644 --- a/cmd/fibr/templates/edit-modal.html +++ b/cmd/fibr/templates/edit-modal.html @@ -18,6 +18,13 @@

Rename

+ {{ if not .IsDir }} +

+ + +

+ {{ end }} + {{ if .HasThumbnail }}

diff --git a/cmd/fibr/templates/exif.html b/cmd/fibr/templates/exif.html index e6d9b72a..3ce51583 100644 --- a/cmd/fibr/templates/exif.html +++ b/cmd/fibr/templates/exif.html @@ -1,7 +1,7 @@ {{ define "exif-modal-btn" }} {{ if .Exif.HasData }} - - Exif + + info {{ end }} {{ end }} diff --git a/cmd/fibr/templates/file.html b/cmd/fibr/templates/file.html index 787dbd17..1efb8d8f 100644 --- a/cmd/fibr/templates/file.html +++ b/cmd/fibr/templates/file.html @@ -57,7 +57,7 @@ {{ else }} {{ if .File.IsImage }} - {{ .File.Name }} + Image {{ .File.Name }} {{ else }} {{ end }} diff --git a/cmd/fibr/templates/files.html b/cmd/fibr/templates/files.html index 949999d0..9008d781 100644 --- a/cmd/fibr/templates/files.html +++ b/cmd/fibr/templates/files.html @@ -9,7 +9,7 @@ {{ if .Request.CanEdit }} - + @@ -161,15 +161,15 @@

@@ -213,13 +213,13 @@