diff --git a/pkg/api/index.go b/pkg/api/index.go index 01e85f92654..4a94a418c8e 100644 --- a/pkg/api/index.go +++ b/pkg/api/index.go @@ -104,6 +104,7 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) { {Text: "Home", Url: setting.AppSubUrl + "/", Icon: "fa fa-fw fa-home"}, {Text: "Playlists", Id: "playlists", Url: setting.AppSubUrl + "/playlists", Icon: "fa fa-fw fa-film"}, {Text: "Snapshots", Id: "snapshots", Url: setting.AppSubUrl + "/dashboard/snapshots", Icon: "icon-gf icon-gf-fw icon-gf-snapshot"}, + {Text: "Dashboard List", Description: "Manage Dashboards And Folders", Id: "dashboards", Url: setting.AppSubUrl + "/dashboards", Icon: "fa fa-fw fa-bars"}, } data.NavTree = append(data.NavTree, &dtos.NavLink{ @@ -208,21 +209,16 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) { Children: []*dtos.NavLink{ { Text: "Data Sources", - Icon: "icon-gf icon-gf-fw icon-gf-datasources", + Icon: "gicon gicon-datasources", Description: "Add and configure data sources", Id: "datasources", Url: setting.AppSubUrl + "/datasources", Children: []*dtos.NavLink{ - {Text: "List", Url: setting.AppSubUrl + "/datasources", Icon: "icon-gf icon-gf-datasources"}, + {Text: "List", Url: setting.AppSubUrl + "/datasources", Icon: "gicon gicon-datasources"}, {Text: "New", Url: setting.AppSubUrl + "/datasources", Icon: "fa fa-fw fa-plus"}, }, }, - { - Text: "Dashboard List", - Description: "Manage Dashboards And Folders", - Id: "dashboards", - Url: setting.AppSubUrl + "/dashboards", - }, + { Text: "Preferences", Id: "org", diff --git a/public/app/features/dashboard/dashgrid/AddPanelPanel.tsx b/public/app/features/dashboard/dashgrid/AddPanelPanel.tsx index 5b03cb8af54..8415d9c14b2 100644 --- a/public/app/features/dashboard/dashgrid/AddPanelPanel.tsx +++ b/public/app/features/dashboard/dashgrid/AddPanelPanel.tsx @@ -34,7 +34,7 @@ export class AddPanelPanel extends React.Component + + + + + + + + + + + + + + + + + + + diff --git a/public/img/icons_dark_theme/icon_add_folder.svg b/public/img/icons_dark_theme/icon_add_folder.svg index 3eddd5ddc5d..0e3357d1086 100644 --- a/public/img/icons_dark_theme/icon_add_folder.svg +++ b/public/img/icons_dark_theme/icon_add_folder.svg @@ -7,11 +7,12 @@ .st1{fill:url(#SVGID_1_);} - - - + + + @@ -21,8 +22,8 @@ - + diff --git a/public/img/icons_dark_theme/icon_data_sources.svg b/public/img/icons_dark_theme/icon_data_sources.svg new file mode 100644 index 00000000000..5cce28eb217 --- /dev/null +++ b/public/img/icons_dark_theme/icon_data_sources.svg @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/public/img/icons_dark_theme/icon_import_dashboard.svg b/public/img/icons_dark_theme/icon_import_dashboard.svg index 20b3e6c27e8..d21511c31c5 100644 --- a/public/img/icons_dark_theme/icon_import_dashboard.svg +++ b/public/img/icons_dark_theme/icon_import_dashboard.svg @@ -3,30 +3,28 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/public/img/icons_dark_theme/icon_new_dashboard.svg b/public/img/icons_dark_theme/icon_new_dashboard.svg index a7927425ba5..33f116dcab1 100644 --- a/public/img/icons_dark_theme/icon_new_dashboard.svg +++ b/public/img/icons_dark_theme/icon_new_dashboard.svg @@ -7,27 +7,26 @@ .st1{fill:url(#SVGID_1_);} - - - - - - - - - - - - - + + + + + + + + + + + + + - + diff --git a/public/img/icons_light_theme/icon_data_sources.svg b/public/img/icons_light_theme/icon_data_sources.svg new file mode 100644 index 00000000000..3a6e65e8761 --- /dev/null +++ b/public/img/icons_light_theme/icon_data_sources.svg @@ -0,0 +1,15 @@ + + + + + + + + + + diff --git a/public/img/icons_light_theme/icon_import_dashboard.svg b/public/img/icons_light_theme/icon_import_dashboard.svg index 3a83c0fe829..d1b5f2fe17e 100644 --- a/public/img/icons_light_theme/icon_import_dashboard.svg +++ b/public/img/icons_light_theme/icon_import_dashboard.svg @@ -6,27 +6,25 @@ .st0{fill:#555555;} .st1{fill:url(#SVGID_1_);} - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + diff --git a/public/img/icons_light_theme/icon_new_dashboard.svg b/public/img/icons_light_theme/icon_new_dashboard.svg index 68c24e648d4..9ed93e4732b 100644 --- a/public/img/icons_light_theme/icon_new_dashboard.svg +++ b/public/img/icons_light_theme/icon_new_dashboard.svg @@ -7,27 +7,26 @@ .st1{fill:url(#SVGID_1_);} - - - - - - - - - - - - - + + + + + + + + + + + + + - + diff --git a/public/sass/base/_icons.scss b/public/sass/base/_icons.scss index e3361e9e9e5..3769ea4ff92 100644 --- a/public/sass/base/_icons.scss +++ b/public/sass/base/_icons.scss @@ -15,6 +15,10 @@ background-image: url('../img/icons_#{$theme-name}_theme/icon_alert.svg'); } +.gicon-datasources { + background-image: url('../img/icons_#{$theme-name}_theme/icon_data_sources.svg'); +} + .gicon-dashboard { background-image: url('../img/icons_#{$theme-name}_theme/icon_dashboard.svg'); }