Commit 4da31291 by Torkel Ödegaard

feat(apps): minor progress to apps list

parent c1e94e61
......@@ -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"`
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>
&nbsp; &nbsp;
<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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment