xP: improve the activity indicator
Also adjust the Makefile to reflect resource embedding.
This commit is contained in:
@@ -6,7 +6,7 @@ tools = ../liberty/tools
|
||||
outputs = xP proto.go public/proto.js public/mithril.js
|
||||
all: $(outputs) public/ircfmt.woff2
|
||||
|
||||
xP: xP.go proto.go
|
||||
xP: xP.go proto.go public/proto.js public/mithril.js public/xP.css public/xP.js
|
||||
go build -o $@
|
||||
proto.go: $(tools)/lxdrgen.awk $(tools)/lxdrgen-go.awk ../xC.lxdr
|
||||
$(AWK) -f $(tools)/lxdrgen.awk -f $(tools)/lxdrgen-go.awk \
|
||||
|
||||
@@ -66,6 +66,9 @@ body {
|
||||
bottom: -1px;
|
||||
background: #ccc;
|
||||
}
|
||||
.invisible {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2022 - 2025, Přemysl Eric Janouch <p@janouch.name>
|
||||
// Copyright (c) 2022 - 2026, Přemysl Eric Janouch <p@janouch.name>
|
||||
// SPDX-License-Identifier: 0BSD
|
||||
import * as Relay from './proto.js'
|
||||
|
||||
@@ -1127,7 +1127,9 @@ let Main = {
|
||||
overlay,
|
||||
m('.title', {}, [
|
||||
m('span', [
|
||||
rpc.busy ? '⋯ ' : undefined,
|
||||
// Midline Horizontal Ellipsis, No-Break Space
|
||||
m('span', {class: rpc.busy ? undefined : 'invisible'},
|
||||
`\u22EF\u00A0`),
|
||||
m('b', {}, `xP`),
|
||||
]),
|
||||
m(Topic),
|
||||
|
||||
Reference in New Issue
Block a user