From 87d71e65ed131b3e15510af968dd5ba0d30d851d Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sat, 23 Mar 2024 07:26:24 +0300 Subject: Feat: parse input; show actions --- components/index.html | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'components/index.html') diff --git a/components/index.html b/components/index.html index 90e8050..7c4cb82 100644 --- a/components/index.html +++ b/components/index.html @@ -10,7 +10,22 @@

- HELLO {{.}} + 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}}
@@ -22,6 +37,10 @@


+ + + +
-- cgit v1.2.3