all repos — honk @ 22ce83ee5f3c1c8f53a09e344c1fa90bfedaddcc

my fork of honk

table for tabular data
Ted Unangst tedu@tedunangst.com
Sat, 09 Nov 2019 02:50:43 -0500
commit

22ce83ee5f3c1c8f53a09e344c1fa90bfedaddcc

parent

41a07fd9627aa61e8b45ca94bc2a41ee75a5a09b

1 files changed, 9 insertions(+), 5 deletions(-)

jump to
M views/about.htmlviews/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>