Dashboards: Default Home Dashboard Update (#21534)

* HomeLinks: WIP panel for getting started links

* Progress

* progress

* Updated styling

* Updated default home dashboard

* Update light card styles

* Tweaks based on feedback
This commit is contained in:
Torkel Ödegaard
2020-01-17 09:43:17 +01:00
committed by GitHub
parent 1e2f7567f0
commit 15b2bf3e5c
15 changed files with 296 additions and 75 deletions

View File

@@ -214,7 +214,7 @@ func getPanelSort(id string) int {
switch id {
case "graph":
sort = 1
case "singlestat":
case "stat":
sort = 2
case "gauge":
sort = 3
@@ -222,14 +222,18 @@ func getPanelSort(id string) int {
sort = 4
case "table":
sort = 5
case "text":
case "singlestat":
sort = 6
case "heatmap":
case "text":
sort = 7
case "alertlist":
case "heatmap":
sort = 8
case "dashlist":
case "alertlist":
sort = 9
case "dashlist":
sort = 10
case "news":
sort = 10
}
return sort
}