dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 825777978c0c6e7d21819be2ff3c3768e446deab
parent 3972794caa32f9adb977da805f595e2de085cf2d
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Thu,  8 Feb 2024 20:52:41 -0800

improve template

Diffstat:
Mpkg/web/public/views/pages/public-profile.gohtml | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/pkg/web/public/views/pages/public-profile.gohtml b/pkg/web/public/views/pages/public-profile.gohtml @@ -70,11 +70,10 @@ PGP key: <span style="color: #82e17f;">{{ .Data.User.GPGPublicKey | getKeyFingerprint }}</span> {{ if .Data.GpgKeyExpiredTime }} - <span class="ml-3"> - ( Expires on: - <span style="color: {{ if .Data.GpgKeyExpired }}red;{{ else if .Data.GpgKeyExpiredSoon }}orange{{ else }}#82e17f{{ end }};"> - {{ .Data.GpgKeyExpiredTime.Format "Jan 02, 2006 15:04:05" }} - </span>) + <br /> + Expires on: + <span style="color: {{ if .Data.GpgKeyExpired }}#ff5959;{{ else if .Data.GpgKeyExpiredSoon }}orange{{ else }}#82e17f{{ end }};"> + {{ .Data.GpgKeyExpiredTime.Format "Jan 02, 2006 15:04:05" }} </span> {{ end }} </label><br />