From cf264c04fc6b4e6a7a090ceb7109b6c5bfad046c Mon Sep 17 00:00:00 2001 From: Bram Date: Fri, 27 Feb 2026 15:44:14 +0100 Subject: [PATCH] fix admin page --- templates/admin.html | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/templates/admin.html b/templates/admin.html index a686c26..b67467c 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -15,6 +15,7 @@ tr:hover { background: #f9f9f9; } .status-tag { font-weight: bold; font-size: 10px; padding: 2px 4px; border: 1px solid #000; } .status-deleted { background: #ffcccc; text-decoration: line-through; } + .status-no{ background: #ffcccc; } .status-active { background: #ccffcc; } button { border: 1px solid #000; background: #eee; padding: 2px 8px; cursor: pointer; font-size: 11px; font-weight: bold; } button:hover { background: #000; color: #fff; } @@ -38,6 +39,7 @@ Created Expires Hits + Burn after Status Actions @@ -45,10 +47,21 @@ {{range .Files}} - {{.Filename}} - {{.CreatedAt.Format "Jan 02, 15:04"}} - {{.ExpiresAt.Format "Jan 02, 15:04"}} - {{.DownloadCount}} {{if .DeleteAfterDownload}}(1-SHOT){{end}} + + {{.Filename}} + + {{.CreatedAt.Format "Jan 02, 2006 15:04"}} + {{.ExpiresAt.Format "Jan 02, 2006 15:04"}} + + {{.DownloadCount}} + + + {{if .DeleteAfterDownload}} + YES + {{else}} + NO + {{end}} + {{if .Deleted}} REMOVED @@ -61,7 +74,6 @@
- {{else}} {{end}}