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
c20fa85b
Commit
c20fa85b
authored
Jun 09, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed variable value select to select dropdown
parent
bb2d8107
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
public/app/directives/all.js
+1
-1
public/app/directives/selectDropDown.js
+2
-2
public/app/partials/selectDropdown.html
+0
-0
public/app/partials/submenu.html
+1
-1
No files found.
public/app/directives/all.js
View file @
c20fa85b
...
...
@@ -11,7 +11,7 @@ define([
'./spectrumPicker'
,
'./tags'
,
'./bodyClass'
,
'./
variableValueSelect
'
,
'./
selectDropDown
'
,
'./metric.segment'
,
'./grafanaVersionCheck'
,
'./dropdown.typeahead'
,
...
...
public/app/directives/
variableValueSelect
.js
→
public/app/directives/
selectDropDown
.js
View file @
c20fa85b
...
...
@@ -225,11 +225,11 @@ function (angular, app, _) {
angular
.
module
(
'grafana.directives'
)
.
directive
(
'
variableValueSelect
'
,
function
(
$compile
,
$window
,
$timeout
)
{
.
directive
(
'
selectDropdown
'
,
function
(
$compile
,
$window
,
$timeout
)
{
return
{
scope
:
{
variable
:
"="
,
onUpdated
:
"&"
,
getValuesForTag
:
"&"
},
templateUrl
:
'app/
features/dashboard/partials/variableValueSelect
.html'
,
templateUrl
:
'app/
partials/selectDropdown
.html'
,
controller
:
'SelectDropdownCtrl'
,
controllerAs
:
'vm'
,
bindToController
:
true
,
...
...
public/app/
features/dashboard/partials/variableValueSelect
.html
→
public/app/
partials/selectDropdown
.html
View file @
c20fa85b
File moved
public/app/partials/submenu.html
View file @
c20fa85b
...
...
@@ -6,7 +6,7 @@
<span
class=
"template-variable tight-form-item"
ng-show=
"!variable.hideLabel"
style=
"padding-right: 5px"
>
{{variable.label || variable.name}}:
</span>
<
variable-value-select
variable=
"variable"
on-updated=
"variableUpdated(variable)"
get-values-for-tag=
"getValuesForTag(variable, tagKey)"
></variable-value-select
>
<
select-dropdown
variable=
"variable"
on-updated=
"variableUpdated(variable)"
get-values-for-tag=
"getValuesForTag(variable, tagKey)"
></select-dropdown
>
</li>
</ul>
...
...
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