table for tabular data
Ted Unangst tedu@tedunangst.com
Sat, 09 Nov 2019 02:50:43 -0500
1 files changed,
9 insertions(+),
5 deletions(-)
jump to
M
views/about.html
→
views/about.html
@@ -2,10 +2,14 @@ {{ template "header.html" . }}
<main> <div class="info"> {{ .AboutMsg }} -<p><small>version: {{ .HonkVersion }} -<br>memory: {{ printf "%.02f" .Sensors.Memory }}MB -<br>uptime: {{ printf "%.02f" .Sensors.Uptime }}s -<br>cputime: {{ printf "%.02f" .Sensors.CPU }}s -</small> +<p> +<table style="font-size:0.8em"> +<tbody> +<tr><td>version:<td style="text-align:right">{{ .HonkVersion }} +<tr><td>memory:<td style="text-align:right">{{ printf "%.02f" .Sensors.Memory }}MB +<tr><td>uptime:<td style="text-align:right">{{ printf "%.02f" .Sensors.Uptime }}s +<tr><td>cputime:<td style="text-align:right">{{ printf "%.02f" .Sensors.CPU }}s +</table> +<p> </div> </main>