csp requires classes not styles

This commit is contained in:
Ted Unangst 2023-08-28 22:56:19 -04:00
parent 1a1c56200c
commit 7dc99cec9b
4 changed files with 14 additions and 8 deletions

2
go.mod
View File

@ -9,7 +9,7 @@ require (
golang.org/x/crypto v0.12.0 golang.org/x/crypto v0.12.0
golang.org/x/net v0.14.0 golang.org/x/net v0.14.0
humungus.tedunangst.com/r/go-sqlite3 v1.1.3 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 ( require (

4
go.sum
View File

@ -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= 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 h1:G2N4wzDS0NbuvrZtQJhh4F+3X+s7BF8b9ga8k38geUI=
humungus.tedunangst.com/r/go-sqlite3 v1.1.3/go.mod h1:FtEEmQM7U2Ey1TuEEOyY1BmphTZnmiEjPsNLEAkpf/M= 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.7 h1:1IITkwf5T3Zv2mG0rzmORPVcXuP/YGoTPeh6uBpUkCo=
humungus.tedunangst.com/r/webs v0.7.6/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk= humungus.tedunangst.com/r/webs v0.7.7/go.mod h1:ylhqHSPI0Oi7b4nsnx5mSO7AjLXN7wFpEHayLfN/ugk=

View File

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

View File

@ -389,9 +389,15 @@ li.details {
display: none; display: none;
} }
.textright { .text-left {
text-align: left;
}
.text-right {
text-align: right; text-align: right;
} }
.text-center {
text-align: center;
}
.font08em { .font08em {
font-size: 0.8em; font-size: 0.8em;