From 900e9a0898e8d469766ceec9f60a4b7fdb18b71d Mon Sep 17 00:00:00 2001 From: Bjarke Madsen <bjarke.madsen@geant.org> Date: Fri, 19 Feb 2021 11:32:35 +0100 Subject: [PATCH] Add dropdown template --- .../templates/shared/dropdown.json.j2 | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 brian_dashboard_manager/templating/templates/shared/dropdown.json.j2 diff --git a/brian_dashboard_manager/templating/templates/shared/dropdown.json.j2 b/brian_dashboard_manager/templating/templates/shared/dropdown.json.j2 new file mode 100644 index 0000000..ec3c1b8 --- /dev/null +++ b/brian_dashboard_manager/templating/templates/shared/dropdown.json.j2 @@ -0,0 +1,26 @@ +{ + "aliasColors": {}, + "collapsed": false, + "datasource": null, + "fill": null, + "fillGradient": null, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": {{ y }} + }, + "id": {{ id }}, + "legend": null, + "lines": null, + "linewidth": null, + "search": null, + "stack": null, + "tags": null, + "targets": null, + "title": "{{ title }}", + "type": "row", + "xaxis": null, + "yaxes": null, + "yaxis": null +} \ No newline at end of file -- GitLab