From c1787b71b7ba0b03dcca20c8d9136bc45cb8fed4 Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Tue, 5 Mar 2013 23:15:25 -0800 Subject: [PATCH] added and hiding buttons --- templates/_base.html | 1 + templates/index.html | 65 ++++++++++++++++++++++++++++++-------------- 2 files changed, 46 insertions(+), 20 deletions(-) diff --git a/templates/_base.html b/templates/_base.html index e716356..3e38d76 100644 --- a/templates/_base.html +++ b/templates/_base.html @@ -17,5 +17,6 @@ + {{ template "script" . }} diff --git a/templates/index.html b/templates/index.html index 44fa8c2..e2b2aee 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,27 +1,52 @@ {{ define "title" }}Welcome{{ end }} {{ define "content" }} -
+
- - - - - {{ range .children }} - - - - - {{ end }} - + + + + + + + + + {{ range .children }} + + + + + + + + {{ end }} +
- Name - - Amount -
- {{ .Name }} - - {{ dollarize .Money }} -
Allowance totals for our children
+ Name + + Amount +
+ {{ .Name }} + + {{ dollarize .Money }} +
+
+ + + + +
+
{{ end }} + +{{ define "script" }} + +{{ end }}