mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 22:54:37 +03:00
show goversion and goos/goarch on admin page
This commit is contained in:
@ -2182,7 +2182,7 @@ const cmdHelp = async () => {
|
||||
return;
|
||||
}
|
||||
window.alert('"mailto:" protocol handler unregistered.');
|
||||
})), dom.div(style({ marginTop: '2ex' }), 'Mox is open source email server software, this is version ' + moxversion + '. Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new'), '.'))));
|
||||
})), dom.div(style({ marginTop: '2ex' }), 'Mox is open source email server software, this is version ', moxversion, ', built with ', moxgoversion, '. Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new'), '.'))));
|
||||
};
|
||||
// Show tooltips for either the focused element, or otherwise for all elements
|
||||
// that aren't reachable with tabindex and aren't marked specially to prevent
|
||||
|
@ -112,6 +112,9 @@ const zindexes = {
|
||||
// From HTML.
|
||||
declare let page: HTMLElement
|
||||
declare let moxversion: string
|
||||
declare let moxgoversion: string
|
||||
declare let moxgoos: string
|
||||
declare let moxgoarch: string
|
||||
|
||||
// All logging goes through log() instead of console.log, except "should not happen" logging.
|
||||
let log: (...args: any[]) => void = () => {}
|
||||
@ -1197,7 +1200,7 @@ const cmdHelp = async () => {
|
||||
window.alert('"mailto:" protocol handler unregistered.')
|
||||
}),
|
||||
),
|
||||
dom.div(style({marginTop: '2ex'}), 'Mox is open source email server software, this is version '+moxversion+'. Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new'), '.'),
|
||||
dom.div(style({marginTop: '2ex'}), 'Mox is open source email server software, this is version ', moxversion, ', built with ', moxgoversion, '. Feedback, including bug reports, is appreciated! ', link('https://github.com/mjl-/mox/issues/new'), '.'),
|
||||
),
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user