From 2dc2471b5ccc6e63b78e884b98876e9c7a39bcc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 28 Jan 2019 15:01:42 +0100 Subject: [PATCH] Revert "Updated home dashboard, removed home dashboard header" This reverts commit 0151846e1e0c624f2490dcf0bfbead5d0a8e9218. --- pkg/api/dashboard.go | 2 +- public/dashboards/home.json | 21 +++++++++++++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/pkg/api/dashboard.go b/pkg/api/dashboard.go index 5959c230fb9..2789b0bf51e 100644 --- a/pkg/api/dashboard.go +++ b/pkg/api/dashboard.go @@ -336,7 +336,7 @@ func addGettingStartedPanelToHomeDashboard(dash *simplejson.Json) { "id": 123123, "gridPos": map[string]interface{}{ "x": 0, - "y": 0, + "y": 3, "w": 24, "h": 4, }, diff --git a/public/dashboards/home.json b/public/dashboards/home.json index 17795d64aa3..f2c441053bb 100644 --- a/public/dashboards/home.json +++ b/public/dashboards/home.json @@ -10,6 +10,23 @@ "id": null, "links": [], "panels": [ + { + "content": "
\n Home Dashboard\n
", + "editable": true, + "id": 1, + "links": [], + "mode": "html", + "style": {}, + "title": "", + "transparent": true, + "type": "text", + "gridPos": { + "w": 24, + "h": 3, + "x": 0, + "y": 0 + } + }, { "folderId": 0, "headings": true, @@ -28,7 +45,7 @@ "w": 12, "h": 17, "x": 0, - "y": 1 + "y": 6 } }, { @@ -43,7 +60,7 @@ "w": 12, "h": 17, "x": 12, - "y": 1 + "y": 6 } } ],