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

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

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)