mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(apps): minor progress to apps list
This commit is contained in:
parent
c1e94e61d0
commit
4da31291d2
@ -20,10 +20,11 @@ type AppPluginCss struct {
|
||||
|
||||
type AppPlugin struct {
|
||||
FrontendPluginBase
|
||||
Enabled bool `json:"enabled"`
|
||||
Pinned bool `json:"pinned"`
|
||||
Css *AppPluginCss `json:"css"`
|
||||
Page *AppPluginPage `json:"page"`
|
||||
Css *AppPluginCss `json:"css"`
|
||||
Page *AppPluginPage `json:"page"`
|
||||
|
||||
Pinned bool `json:"-"`
|
||||
Enabled bool `json:"-"`
|
||||
}
|
||||
|
||||
func (p *AppPlugin) Load(decoder *json.Decoder, pluginDir string) error {
|
||||
|
@ -26,7 +26,15 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<span class="filter-list-card-title">{{app.name}}</span>
|
||||
<span class="filter-list-card-title">
|
||||
<a href="apps/edit/{{app.appId}}">
|
||||
{{app.name}}
|
||||
</a>
|
||||
|
||||
<span class="label label-info" ng-if="app.enabled">
|
||||
enabled
|
||||
</span>
|
||||
</span>
|
||||
<span class="filter-list-card-status">
|
||||
<span class="filter-list-card-state">Dashboards: 1</span>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user