42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{{ define "title" }}Welcome{{ end }}
|
|
|
|
{{ define "content" }}
|
|
<div class="container">
|
|
<table class="table table-striped table-bordered table-hover">
|
|
<caption>Allowance totals for our children</caption>
|
|
</thead>
|
|
<tr class="info">
|
|
<td>
|
|
Name
|
|
</td>
|
|
<td>
|
|
Amount
|
|
</td>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range .children }}
|
|
<tr class="name">
|
|
<td>
|
|
{{ .Name }}
|
|
</td>
|
|
<td>
|
|
{{ dollarize .Money }}
|
|
</td>
|
|
</tr>
|
|
<tr class="controls">
|
|
<td colspan=2>
|
|
<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>
|
|
</table>
|
|
</div>
|
|
{{ end }}
|