mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user