Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
4da31291
Commit
4da31291
authored
Jan 11, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(apps): minor progress to apps list
parent
c1e94e61
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
pkg/plugins/app_plugin.go
+3
-2
public/app/features/apps/partials/list.html
+9
-1
No files found.
pkg/plugins/app_plugin.go
View file @
4da31291
...
...
@@ -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
{
...
...
public/app/features/apps/partials/list.html
View file @
4da31291
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment