Tweak statuses

This commit is contained in:
Josh Deprez 2024-04-26 13:59:21 +10:00
parent 12f0a08f2c
commit cbe0a56aef
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -313,7 +313,7 @@ func main() {
ctx, setStatus, done := status.AddSimpleItem(ctx, "EtherTalk inbound") ctx, setStatus, done := status.AddSimpleItem(ctx, "EtherTalk inbound")
defer done() defer done()
setStatus("Running") setStatus(fmt.Sprintf("Listening on %s", cfg.EtherTalk.Device))
for { for {
if ctx.Err() != nil { if ctx.Err() != nil {
@ -440,7 +440,7 @@ func main() {
ctx, setStatus, done := status.AddSimpleItem(ctx, "AURP inbound") ctx, setStatus, done := status.AddSimpleItem(ctx, "AURP inbound")
defer done() defer done()
setStatus("Running") setStatus(fmt.Sprintf("Listening on UDP port %d", cfg.ListenPort))
for { for {
if ctx.Err() != nil { if ctx.Err() != nil {

View file

@ -22,13 +22,13 @@
text-align: center; text-align: center;
font-size: 120%; font-size: 120%;
background: #eef; background: #eef;
padding: 4px; padding: 4px 0;
} }
summary { summary {
width: 100%; width: 100%;
font-size: 120%; font-size: 120%;
background: #eef; background: #eef;
padding: 0.2em; padding: 0.2em 0;
border: 1px #eef solid; border: 1px #eef solid;
} }
details { details {