2013-02-20 21:11:44 -08:00
|
|
|
{{ 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¢</button>
|
|
|
|
<button class="btn" value=10>10¢</button>
|
|
|
|
<button class="btn" value=5>5¢</button>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</tbody>
|
2013-03-05 22:40:17 -08:00
|
|
|
</table>
|
2013-02-20 21:27:09 -08:00
|
|
|
</div>
|
2013-02-20 21:11:44 -08:00
|
|
|
{{ end }}
|