This commit is contained in:
dmc
2024-01-24 19:15:15 +01:00
parent fa3993e473
commit af088cfed6
4 changed files with 145 additions and 99 deletions

View File

@@ -48,6 +48,22 @@ customElements.define('pear-welcome', class extends HTMLElement {
})
customElements.define('system-status', class extends HTMLElement {
router = null
connectedCallback () {
this.root.addEventListener('click', (evt) => {
this.router.onclick(evt)
})
}
load () {
this.style.display = ''
}
unload () {
this.style.display = 'none'
}
constructor () {
super()
this.zsh = false