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
8cfe89ea
Commit
8cfe89ea
authored
Jun 03, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated variable dropdown
parent
cb633443
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
public/app/directives/variableValueSelect.js
+4
-6
public/css/less/submenu.less
+3
-3
No files found.
public/app/directives/variableValueSelect.js
View file @
8cfe89ea
...
...
@@ -30,11 +30,9 @@ function (angular, app, _) {
vm
.
selectedValues
=
_
.
filter
(
vm
.
options
,
{
selected
:
true
});
if
(
!
vm
.
tags
)
{
vm
.
tags
=
_
.
map
(
vm
.
variable
.
tags
,
function
(
value
)
{
return
{
text
:
value
,
selected
:
false
};
});
}
vm
.
tags
=
_
.
map
(
vm
.
variable
.
tags
,
function
(
value
)
{
return
{
text
:
value
,
selected
:
false
};
});
vm
.
search
=
{
query
:
''
,
options
:
vm
.
options
};
vm
.
dropdownVisible
=
true
;
...
...
@@ -225,7 +223,7 @@ function (angular, app, _) {
});
angular
angular
.
module
(
'grafana.directives'
)
.
directive
(
'variableValueSelect'
,
function
(
$compile
,
$window
,
$timeout
)
{
...
...
public/css/less/submenu.less
View file @
8cfe89ea
...
...
@@ -55,14 +55,14 @@
min-width: 150px;
max-height: 400px;
min-height: 150px;
background-color: @dropdownBackground;
overflow-y: auto;
overflow-x: hidden;
b
ox-shadow: 0px 0px 55px 0px black
;
bo
rder: 1px solid @grafanaTargetFuncBackground
;
b
ackground-color: @dropdownBackground
;
bo
x-shadow: 0 0 25px 0 rgba(0,0,0,0.4)
;
z-index: 1000;
font-size: @baseFontSize;
border-radius: 3px 3px 0 0;
border: 1px solid @grafanaTargetFuncBackground;
&.multi {
.selected {
...
...
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