From a793d2da8785eef470cc0c935f9670fa2d61a1c7 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Sun, 14 Jan 2024 11:54:58 +0100 Subject: [PATCH] Create basic structure to show turniermeldungen --- themes/tsc_vfl/assets/css/main.scss | 19 +++++++++++++++ .../layouts/turniermeldung/single.html | 23 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 themes/tsc_vfl/layouts/turniermeldung/single.html diff --git a/themes/tsc_vfl/assets/css/main.scss b/themes/tsc_vfl/assets/css/main.scss index 192ded6..2bb23bb 100644 --- a/themes/tsc_vfl/assets/css/main.scss +++ b/themes/tsc_vfl/assets/css/main.scss @@ -924,6 +924,25 @@ table.time { } } +.turnier-details { + .title { + font-weight: 600; + } + .turnier { + font-weight: bold; + .nummer { + font-weight: normal; + font-style: italic; + } + } + .verein { + margin: 20px 0 0; + } + .contact { + font-style: italic; + } +} + .iframe-generic { display: block; width: 100%; diff --git a/themes/tsc_vfl/layouts/turniermeldung/single.html b/themes/tsc_vfl/layouts/turniermeldung/single.html new file mode 100644 index 0000000..7783d43 --- /dev/null +++ b/themes/tsc_vfl/layouts/turniermeldung/single.html @@ -0,0 +1,23 @@ +{{ define "main" }} + {{ $datum := time.AsTime .Params.dateCompetition }} + +

{{ .Params.ort }} am {{ $datum.Format "02.01.2006" }}

+
+

{{ .Params.partner }} / {{ .Params.partnerin }}

+
+ {{ with .Params.titel }} +
{{ . }}
+ {{ end }} +
+ {{ .Params.gruppe }} {{ .Params.klasse }} {{ .Params.sektion }} + {{ with .Params.nummer }} + ({{ . }}) + {{ end }} +
+
{{ .Params.verein }}
+
{{ .Params.ort }}
+
Telefon am Turniertag: {{ .Params.telefon }}
+
+ {{ .Content }} + {{ partial "totop" }} +{{ end }}