diff --git a/static/images/grid_management.svg b/static/images/grid_management.svg index be8a424..2163cf9 100644 --- a/static/images/grid_management.svg +++ b/static/images/grid_management.svg @@ -7,7 +7,7 @@ viewBox="0 0 36 36" version="1.1" id="svg1" - inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)" + inkscape:version="1.4.2 (ebf0e94, 2025-05-08)" sodipodi:docname="grid_management.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" @@ -25,15 +25,15 @@ inkscape:deskcolor="#ffffff" inkscape:document-units="px" showborder="false" - inkscape:zoom="4" - inkscape:cx="47.625" - inkscape:cy="77.625001" - inkscape:window-width="2190" - inkscape:window-height="1401" - inkscape:window-x="1463" + inkscape:zoom="1" + inkscape:cx="49.5" + inkscape:cy="139" + inkscape:window-width="1916" + inkscape:window-height="1161" + inkscape:window-x="0" inkscape:window-y="0" inkscape:window-maximized="1" - inkscape:current-layer="g144" + inkscape:current-layer="layer1" showgrid="false"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/js/dashboard.mjs b/static/js/dashboard.mjs index cd00746..a6655ef 100644 --- a/static/js/dashboard.mjs +++ b/static/js/dashboard.mjs @@ -112,8 +112,10 @@ export class SmonDashboard extends CustomHTMLElement {// {{{
- - + + + +
@@ -164,8 +166,8 @@ export class SmonDashboard extends CustomHTMLElement {// {{{ this.widgetsEdited = false this.elEditDashboard.addEventListener('click', () => this.classList.toggle('edit')) - this.elAddColumns.addEventListener('click', () => { this.addColumns += 5; this.render() }) - this.elAddRows.addEventListener('click', () => { this.addRows += 5; this.render() }) + this.elGridAddEmptyColumns.addEventListener('click', () => { this.addColumns += 5; this.render() }) + this.elGridAddEmptyRows.addEventListener('click', () => { this.addRows += 5; this.render() }) this.elUpdateDashboard.addEventListener('click', () => this.updateDashboard()) this.elEditUpdate.addEventListener('click', () => this.editUpdate()) @@ -185,7 +187,7 @@ export class SmonDashboard extends CustomHTMLElement {// {{{ this.render() this.fetchData() // Retrieve one as fast as possible since setInterval doesn't run before an interval. - setInterval(() => this.fetchData(), 1000) + setInterval(() => this.fetchData(), 10000) }// }}} render() {// {{{