mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 21:34:38 +03:00
show goversion and goos/goarch on admin page
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
// From HTML.
|
||||
declare let page: HTMLElement
|
||||
declare let moxversion: string
|
||||
declare let moxgoversion: string
|
||||
declare let moxgoos: string
|
||||
declare let moxgoarch: string
|
||||
|
||||
const login = async (reason: string) => {
|
||||
return new Promise<string>((resolve: (v: string) => void, _) => {
|
||||
@ -120,7 +123,9 @@ const footer = dom.div(
|
||||
style({marginTop: '6ex', opacity: 0.75}),
|
||||
link('https://www.xmox.nl', 'mox'),
|
||||
' ',
|
||||
moxversion,
|
||||
moxversion, ' ',
|
||||
moxgoversion, ' ',
|
||||
moxgoos, '/', moxgoarch,
|
||||
)
|
||||
|
||||
const age = (date: Date, future: boolean, nowSecs: number) => {
|
||||
|
Reference in New Issue
Block a user