Fix how table is displayed

This commit is contained in:
Isaac Shoebottom 2024-10-03 09:13:54 -03:00
parent 5f1a8a4995
commit 42f2b864a2

View File

@ -51,19 +51,19 @@
<button type="submit">Submit</button> <button type="submit">Submit</button>
</form> </form>
{{end}} {{end}}
{{ range .Timestamps}}
<table style="text-align: center"> <table style="text-align: center">
<tr> <tr>
<th>Taken</th> <th>Taken</th>
<th>Ends</th> <th>Ends</th>
<th>Has Ended</th> <th>Has Ended</th>
</tr> </tr>
{{ range .Timestamps}}
<tr> <tr>
<td>{{ index . 0}}</td> <td>{{ index . 0}}</td>
<td>{{ index . 1}}</td> <td>{{ index . 1}}</td>
<td>{{ index . 2}}</td> <td>{{ index . 2}}</td>
</tr> </tr>
{{end}}
</table> </table>
{{end}}
</div> </div>
</body> </body>