Browse Source

Updated home dashboard, removed home dashboard header

Torkel Ödegaard 7 years ago
parent
commit
0151846e1e
2 changed files with 3 additions and 20 deletions
  1. 1 1
      pkg/api/dashboard.go
  2. 2 19
      public/dashboards/home.json

+ 1 - 1
pkg/api/dashboard.go

@@ -336,7 +336,7 @@ func addGettingStartedPanelToHomeDashboard(dash *simplejson.Json) {
 		"id":   123123,
 		"gridPos": map[string]interface{}{
 			"x": 0,
-			"y": 3,
+			"y": 0,
 			"w": 24,
 			"h": 4,
 		},

+ 2 - 19
public/dashboards/home.json

@@ -10,23 +10,6 @@
   "id": null,
   "links": [],
   "panels": [
-    {
-      "content": "<div class=\"text-center dashboard-header\">\n  <span>Home Dashboard</span>\n</div>",
-      "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,
@@ -45,7 +28,7 @@
         "w": 12,
         "h": 17,
         "x": 0,
-        "y": 6
+        "y": 1
       }
     },
     {
@@ -60,7 +43,7 @@
         "w": 12,
         "h": 17,
         "x": 12,
-        "y": 6
+        "y": 1
       }
     }
   ],