allowances/templates/index.html

42 lines
1.4 KiB
HTML
Raw Normal View History

{{ define "title" }}Welcome{{ end }}
{{ define "content" }}
2013-03-05 23:15:25 -08:00
<div class="container">
2013-03-05 22:40:17 -08:00
<table class="table table-striped table-bordered table-hover">
2013-03-05 23:15:25 -08:00
<caption>Allowance totals for our children</caption>
</thead>
<tr class="info">
<td>
Name
</td>
<td>
Amount
</td>
</tr>
</thead>
<tbody>
{{ range .children }}
2013-03-05 23:26:57 -08:00
<tr class="name">
<td>
2013-03-05 23:15:25 -08:00
{{ .Name }}
</td>
<td>
{{ dollarize .Money }}
</td>
</tr>
<tr class="controls">
2013-03-05 23:31:51 -08:00
<td colspan=2 style="text-align: center;">
2013-03-05 23:15:25 -08:00
<div class="btn-group">
<button class="btn" value=100>$1.00</button>
<button class="btn" value=25>25&cent;</button>
<button class="btn" value=10>10&cent;</button>
<button class="btn" value=5>5&cent;</button>
</div>
</td>
</tr>
{{ end }}
</tbody>
2013-03-05 22:40:17 -08:00
</table>
</div>
{{ end }}