From 2d7d806fcf91402eb15ae3ffd916bf0b2c6508df Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Fri, 11 Aug 2023 20:53:11 -0600 Subject: fileserver: Slightly more fitting icons --- modules/caddyhttp/fileserver/browse.html | 80 +++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 22 deletions(-) diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html index aa9f1d0..0b558ce 100644 --- a/modules/caddyhttp/fileserver/browse.html +++ b/modules/caddyhttp/fileserver/browse.html @@ -44,12 +44,23 @@ {{- else if .HasExt ".pdf"}} - + - - - - + + + + + + + + {{- else if .HasExt ".csv" ".tsv"}} + + + + + + + {{- else if .HasExt ".txt" ".doc" ".docx" ".odt" ".fodt" ".rtf"}} @@ -171,22 +182,34 @@ {{- else if .HasExt ".html" ".htm"}} - + - - - - - - - + + + + + + + + + {{- else if .HasExt ".js"}} - + - - - + + + + + + {{- else if .HasExt ".css"}} + + + + + + + {{- else if .HasExt ".json" ".json5" ".jsonc"}} @@ -196,13 +219,26 @@ + {{- else if .HasExt ".ts"}} + + + + + + + + + {{- else if .HasExt ".sql"}} - + - - - - + + + + + + + {{- else if .HasExt ".db" ".sqlite" ".bak" ".mdb"}} -- cgit v1.2.3