csp requires classes not styles
Ted Unangst tedu@tedunangst.com
Mon, 28 Aug 2023 22:56:19 -0400
4 files changed,
14 insertions(+),
8 deletions(-)
M
go.sum
→
go.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.html
→
views/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.css
→
views/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 {