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
cb633443
Commit
cb633443
authored
Jun 02, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added hover tooltip for tags
parent
8934c837
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
public/app/directives/variableValueSelect.js
+1
-1
public/app/features/dashboard/partials/variableValueSelect.html
+5
-3
No files found.
public/app/directives/variableValueSelect.js
View file @
cb633443
...
...
@@ -93,7 +93,7 @@ function (angular, app, _) {
tagValuesPromise
.
then
(
function
(
values
)
{
tag
.
values
=
values
;
tag
.
valuesText
=
values
.
join
(
'
,
'
);
tag
.
valuesText
=
values
.
join
(
'
+
'
);
_
.
each
(
vm
.
options
,
function
(
option
)
{
if
(
_
.
indexOf
(
tag
.
values
,
option
.
value
)
!==
-
1
)
{
option
.
selected
=
tag
.
selected
;
...
...
public/app/features/dashboard/partials/variableValueSelect.html
View file @
cb633443
<div
class=
"variable-link-wrapper"
>
<a
ng-click=
"vm.show()"
class=
"variable-value-link tight-form-item"
>
{{vm.linkText}}
<span
class=
"label-tag"
ng-repeat=
"tag in vm.selectedTags"
tag-color-from-name=
"tag.text"
>
<i
class=
"fa fa-tag"
></i>
{{tag.text}}
<span
ng-repeat=
"tag in vm.selectedTags"
bs-tooltip=
'tag.valuesText'
data-placement=
"bottom"
>
<span
class=
"label-tag"
tag-color-from-name=
"tag.text"
>
<i
class=
"fa fa-tag"
></i>
{{tag.text}}
</span>
</span>
<i
class=
"fa fa-caret-down"
></i>
</a>
...
...
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