all repos — honk @ 9943d358f37564e962837374e0a70f28667ca1b5

my fork of honk

csp requires classes not styles
Ted Unangst tedu@tedunangst.com
Mon, 28 Aug 2023 22:56:19 -0400
commit

9943d358f37564e962837374e0a70f28667ca1b5

parent

0270f317e01359e2e50824f2d9773669ed68615c

4 files changed, 14 insertions(+), 8 deletions(-)

jump to
M go.modgo.mod

@@ -9,7 +9,7 @@ github.com/mattn/go-runewidth v0.0.13

golang.org/x/crypto v0.12.0 golang.org/x/net v0.14.0 humungus.tedunangst.com/r/go-sqlite3 v1.1.3 - humungus.tedunangst.com/r/webs v0.7.6 + humungus.tedunangst.com/r/webs v0.7.7 ) require (
M go.sumgo.sum

@@ -48,5 +48,5 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=

golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= humungus.tedunangst.com/r/go-sqlite3 v1.1.3 h1:G2N4wzDS0NbuvrZtQJhh4F+3X+s7BF8b9ga8k38geUI= humungus.tedunangst.com/r/go-sqlite3 v1.1.3/go.mod h1:FtEEmQM7U2Ey1TuEEOyY1BmphTZnmiEjPsNLEAkpf/M= -humungus.tedunangst.com/r/webs v0.7.6 h1:P+lve8d0zRp7Xlj4wN4LbVZ9umk5tQgej1su5856tr4= -humungus.tedunangst.com/r/webs v0.7.6/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk= +humungus.tedunangst.com/r/webs v0.7.7 h1:1IITkwf5T3Zv2mG0rzmORPVcXuP/YGoTPeh6uBpUkCo= +humungus.tedunangst.com/r/webs v0.7.7/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk=
M views/about.htmlviews/about.html

@@ -5,10 +5,10 @@ {{ .AboutMsg }}

<p> <table class="font08em"> <tbody> -<tr><td>version:<td class="textright">{{ .HonkVersion }} -<tr><td>memory:<td class="textright">{{ printf "%.02f" .Sensors.Memory }}MB -<tr><td>uptime:<td class="textright">{{ printf "%.02f" .Sensors.Uptime }}s -<tr><td>cputime:<td class="textright">{{ printf "%.02f" .Sensors.CPU }}s +<tr><td>version:<td class="text-right">{{ .HonkVersion }} +<tr><td>memory:<td class="text-right">{{ printf "%.02f" .Sensors.Memory }}MB +<tr><td>uptime:<td class="text-right">{{ printf "%.02f" .Sensors.Uptime }}s +<tr><td>cputime:<td class="text-right">{{ printf "%.02f" .Sensors.CPU }}s </table> <p> </div>
M views/style.cssviews/style.css

@@ -389,8 +389,14 @@ .hide {

display: none; } -.textright { +.text-left { + text-align: left; +} +.text-right { text-align: right; +} +.text-center { + text-align: center; } .font08em {