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
45e6187c
Commit
45e6187c
authored
Feb 26, 2016
by
Mitsuhiro Tanda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add hide template variable option
parent
30f3b55b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
public/app/features/dashboard/submenu/submenu.html
+1
-1
public/app/features/templating/partials/editor.html
+1
-0
No files found.
public/app/features/dashboard/submenu/submenu.html
View file @
45e6187c
<div
class=
"submenu-controls"
>
<div
class=
"submenu-controls"
>
<ul
ng-if=
"ctrl.dashboard.templating.list.length > 0"
>
<ul
ng-if=
"ctrl.dashboard.templating.list.length > 0"
>
<li
ng-repeat=
"variable in ctrl.variables"
class=
"submenu-item"
>
<li
ng-repeat=
"variable in ctrl.variables"
ng-show=
"!variable.hideVariable"
class=
"submenu-item"
>
<span
class=
"submenu-item-label template-variable "
ng-show=
"!variable.hideLabel"
>
<span
class=
"submenu-item-label template-variable "
ng-show=
"!variable.hideLabel"
>
{{variable.label || variable.name}}:
{{variable.label || variable.name}}:
</span>
</span>
...
...
public/app/features/templating/partials/editor.html
View file @
45e6187c
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
<span
class=
"gf-form-label width-7"
>
Label
</span>
<span
class=
"gf-form-label width-7"
>
Label
</span>
<input
type=
"text"
class=
"gf-form-input max-width-14"
ng-model=
'current.label'
placeholder=
"optional display name"
></input>
<input
type=
"text"
class=
"gf-form-input max-width-14"
ng-model=
'current.label'
placeholder=
"optional display name"
></input>
<editor-checkbox
class=
"width-13"
text=
"Hide label"
model=
"current.hideLabel"
change=
"runQuery()"
></editor-checkbox>
<editor-checkbox
class=
"width-13"
text=
"Hide label"
model=
"current.hideLabel"
change=
"runQuery()"
></editor-checkbox>
<editor-checkbox
class=
"width-13"
text=
"Hide variable"
model=
"current.hideVariable"
change=
"runQuery()"
></editor-checkbox>
</div>
</div>
</div>
</div>
...
...
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