using table to render info
This commit is contained in:
parent
cd668ea8dc
commit
b0cda81247
@ -2,13 +2,26 @@
|
||||
|
||||
{{ define "content" }}
|
||||
<div class="container pw">
|
||||
This will have stuff {{ .children }}
|
||||
<ul>
|
||||
<table class="table table-striped table-bordered table-hover">
|
||||
<tr>
|
||||
<td>
|
||||
Name
|
||||
</td>
|
||||
<td>
|
||||
Amount
|
||||
</td>
|
||||
</tr>
|
||||
{{ range .children }}
|
||||
<li>
|
||||
{{ .Name }} {{ .Money }}
|
||||
</li>
|
||||
<tr>
|
||||
<td>
|
||||
{{ .Name }}
|
||||
</td>
|
||||
<td>
|
||||
{{ .Money }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</table>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user