table for tabular data
This commit is contained in:
parent
8a6eaf5fe1
commit
ea81f1fa20
|
@ -2,10 +2,14 @@
|
||||||
<main>
|
<main>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
{{ .AboutMsg }}
|
{{ .AboutMsg }}
|
||||||
<p><small>version: {{ .HonkVersion }}
|
<p>
|
||||||
<br>memory: {{ printf "%.02f" .Sensors.Memory }}MB
|
<table style="font-size:0.8em">
|
||||||
<br>uptime: {{ printf "%.02f" .Sensors.Uptime }}s
|
<tbody>
|
||||||
<br>cputime: {{ printf "%.02f" .Sensors.CPU }}s
|
<tr><td>version:<td style="text-align:right">{{ .HonkVersion }}
|
||||||
</small>
|
<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>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Reference in New Issue