ux(): added specific fallback logos for plugin depending on type, polished layout selector style

This commit is contained in:
Torkel Ödegaard committed 2016-03-17 10:15:16 +01:00
1 parent 6bf05a8154
commit b2fe7e518f
7 files changed
+141 -5

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ func GetDataSources(c *middleware.Context) {
if plugin, exists := plugins.DataSources[ds.Type]; exists {
dsItem.TypeLogoUrl = plugin.Info.Logos.Small
} else {
dsItem.TypeLogoUrl = "public/img/plugin-default-logo_dark.svg"
dsItem.TypeLogoUrl = "public/img/icn-datasources.svg"
}
result = append(result, dsItem)