From debb3321b72a40ae220f04b8b42ec348335ddf74 Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke@nordu.net> Date: Wed, 24 Apr 2024 11:14:33 +0200 Subject: [PATCH] revert to 8.2.5 style info display --- .../templates/shared/dashboard.json.j2 | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/brian_dashboard_manager/templating/templates/shared/dashboard.json.j2 b/brian_dashboard_manager/templating/templates/shared/dashboard.json.j2 index 6b2e1d5..bbefccc 100644 --- a/brian_dashboard_manager/templating/templates/shared/dashboard.json.j2 +++ b/brian_dashboard_manager/templating/templates/shared/dashboard.json.j2 @@ -39,21 +39,22 @@ "version": 1, "links": [], "panels": [ - { - "datasource": null, - "gridPos": { - "h": 2, - "w": 15, - "x": 4, - "y": 0 - }, - "id": 1, - "options": { - "content": "<div style=\"display: flex; justify-content: center; align-items: center; height: 100%;\"><span>INFO: The average values displayed are only mean values for timescales of 2 days or less</span></div>", - "mode": "html" - }, - "title": "", - "type": "text" + { + "datasource": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 1, + "options": { + "content": "", + "mode": "html" + }, + "pluginVersion": "8.2.5", + "title": "INFO: The average values displayed are only mean values for timescales of 2 days or less", + "type": "text" }{{ "," if panels }} {% for panel in panels %} {{ panel }}{{ "," if not loop.last }} -- GitLab