summaryrefslogtreecommitdiff
path: root/components/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'components/index.html')
-rw-r--r--components/index.html21
1 files changed, 20 insertions, 1 deletions
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 @@
<div id="ancestor">
<hr />
<div>
- HELLO {{.}}
+ HELLO {{.ID}}
+ <br />
+ You have {{len .Actions}} actions.
+ <br />
+ Your current score: {{.Score}}
+ <br />
+ {{ range .Actions }}
+ Action Name: {{.Name}}
+ <br />
+ Action Magnitude: {{.Magnitude}}
+ <br />
+ Action Type: {{.Type}}
+ <br />
+ Repeatable: {{.Repeatable}}
+ <br />
+ {{end}}
</div>
<div>
@@ -22,6 +37,10 @@
<input type="number" default="1" name="magnitude"><br />
<label>Repeatable:</label><br />
<input type="checkbox" name="repeatable"></input><br />
+ <input type="radio" name="act_type" value="plus" checked>
+ <label for="plus">Plus</label>
+ <input type="radio" name="act_type" value="minus">
+ <label for="minus">Minus</label><br>
<input type="submit">
</form>
</div>