Better mobile formatting

This commit is contained in:
2018-06-18 08:49:15 -05:00
parent 4591d3c827
commit 88ce4097b6
13 changed files with 259 additions and 207 deletions

View File

@@ -9,16 +9,15 @@
<table id="votes-table" class="sortable pure-table pure-table-bordered center">
<thead>
<tr>
<th>Timestamp</th>
<th>Client ID</th>
<th>Time</th>
<th>Rankings</th>
<th class="only-large">Client ID</th>
</tr>
</thead>
<tbody>
{{ range $i, $v := .TemplateData.AllVotes }}
<tr>
<td>{{ $v.Timestamp }}</td>
<td>{{ $v.ClientId }}</td>
<td>
<ol>
{{ range $ci, $cv := $v.Choices }}
@@ -26,6 +25,7 @@
{{ end }}
</ol>
</td>
<td class="only-large">{{ $v.ClientId }}</td>
</tr>
{{ end }}
</tbody>