From 4ea04ef5b382b147d789240ef78dc24bd142df95 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sat, 23 Mar 2024 16:39:52 +0300 Subject: Enha: demonstraton of layouts --- components/index.html | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'components/index.html') diff --git a/components/index.html b/components/index.html index 7c4cb82..d32154a 100644 --- a/components/index.html +++ b/components/index.html @@ -1,3 +1,4 @@ +{{define "main"}} @@ -12,20 +13,21 @@
HELLO {{.ID}}
- You have {{len .Actions}} actions. -
- Your current score: {{.Score}} -
- {{ range .Actions }} - Action Name: {{.Name}} -
- Action Magnitude: {{.Magnitude}} -
- Action Type: {{.Type}} -
- Repeatable: {{.Repeatable}} -
- {{end}} + + + + + + + + + + + + + + + {{ template "UserScore" . }}
@@ -34,7 +36,7 @@


-
+


@@ -47,3 +49,4 @@
+{{end}} -- cgit v1.2.3