From ef4b70eec385c79b5ba102cdea99029c222667f1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 3 Aug 2025 02:41:22 +0200 Subject: Move styling around --- src/templates/coins-mintages.html.tmpl | 42 +++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'src') diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl index cfac73b..7658ce7 100644 --- a/src/templates/coins-mintages.html.tmpl +++ b/src/templates/coins-mintages.html.tmpl @@ -1,5 +1,11 @@ {{ define "header" }} {{ template "header-navbar" . }} + + {{ end }} {{ define "content" }} @@ -53,17 +59,17 @@
{{ .Get "Standard Issue Coins" }}
- +
- - - - - - - - + + + + + + + + {{ $p := .Printer }} @@ -77,13 +83,13 @@ {{ range .Mintages }} {{ if eq . -1 }} - + {{ else if eq . -2 }} - + {{ else if eq . 0 }} - + {{ else }} - + {{ end }} {{ end }} @@ -95,7 +101,7 @@ {{ if ne (len .Mintages.Commemorative) 0 }}
{{ .Get "Commemorative Coins" }}
-
{{ .Get "Year" }}{{ .Printer.Ftom 0.01 }}{{ .Printer.Ftom 0.02 }}{{ .Printer.Ftom 0.05 }}{{ .Printer.Ftom 0.10 }}{{ .Printer.Ftom 0.20 }}{{ .Printer.Ftom 0.50 }}{{ .Printer.Ftom 1.00 }}{{ .Printer.Ftom 2.00 }}{{ .Printer.Ftom 0.01 }}{{ .Printer.Ftom 0.02 }}{{ .Printer.Ftom 0.05 }}{{ .Printer.Ftom 0.10 }}{{ .Printer.Ftom 0.20 }}{{ .Printer.Ftom 0.50 }}{{ .Printer.Ftom 1.00 }}{{ .Printer.Ftom 2.00 }}
{{ $p.Get "Unknown" }}{{ $p.Get "Unknown" }}{{ $p.Get "Error" }}{{ $p.Get "Error" }}{{ $p.Sprintf "{N}" (map "N" .) }}{{ $p.Itoa . }}
+
@@ -115,13 +121,13 @@ {{ with .Mintage }} {{ if eq . -1 }} - + {{ else if eq . -2 }} - + {{ else if eq . 0 }} - + {{ else }} - + {{ end }} {{ end }} -- cgit v1.2.3
{{ .Get "Year" }} {{ .Get "Commemorated Issue" }}{{ .Name }}{{ $p.Get "Unknown" }}{{ $p.Get "Unknown" }}{{ $p.Get "Error" }}{{ $p.Get "Error" }}{{ $p.Sprintf "{N}" (map "N" .) }}{{ $p.Itoa . }}