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
79c5d48a
Commit
79c5d48a
authored
Oct 23, 2014
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Timepicker: Fix for Zoom out top menu link still visible when timepicker was disabled, Fixes #963
parent
6c83699e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
src/app/panels/timepicker/module.html
+18
-11
src/app/partials/dashboard_topnav.html
+0
-6
No files found.
src/app/panels/timepicker/module.html
View file @
79c5d48a
...
@@ -10,19 +10,26 @@
...
@@ -10,19 +10,26 @@
}
}
</style>
</style>
<form
name=
"input"
style=
"margin:0"
>
<form
name=
"input"
style=
"margin:0"
>
<ul
class=
"nav nav-pills timepicker-dropdown"
>
<ul
class=
"nav timepicker-dropdown"
>
<li
class=
"dropdown"
>
<a
class=
"dropdown-toggle timepicker-dropdown"
data-toggle=
"dropdown"
href=
""
bs-tooltip=
"time.tooltip"
data-placement=
"bottom"
ng-click=
"dismiss();
"
>
<li
class=
"grafana-menu-zoom-out
"
>
<span
ng-bind=
"time.rangeString"
></span
>
<a
class=
'small'
ng-click=
'zoom(2)'
>
<span
ng-show=
"dashboard.refresh"
class=
"text-warning"
>
refreshed every {{dashboard.refresh}}
</span>
Zoom Out
<i
class=
"icon-caret-down"
></i
>
</a
>
</a
>
</li
>
<ul
class=
"dropdown-menu"
>
<li
class=
"dropdown"
>
<!-- Relative time options -->
<li
bindonce
ng-repeat=
'timespan in panel.time_options track by $index'
>
<a
class=
"dropdown-toggle timepicker-dropdown"
data-toggle=
"dropdown"
href=
""
bs-tooltip=
"time.tooltip"
data-placement=
"bottom"
ng-click=
"dismiss();"
>
<a
ng-click=
"setRelativeFilter(timespan)"
bo-text=
"'Last ' + timespan"
></a>
<span
ng-bind=
"time.rangeString"
></span>
<span
ng-show=
"dashboard.refresh"
class=
"text-warning"
>
refreshed every {{dashboard.refresh}}
</span>
<i
class=
"icon-caret-down"
></i>
</a>
<ul
class=
"dropdown-menu"
>
<!-- Relative time options -->
<li
bindonce
ng-repeat=
'timespan in panel.time_options track by $index'
>
<a
ng-click=
"setRelativeFilter(timespan)"
bo-text=
"'Last ' + timespan"
></a>
</li>
</li>
<!-- Auto refresh submenu -->
<!-- Auto refresh submenu -->
...
...
src/app/partials/dashboard_topnav.html
View file @
79c5d48a
...
@@ -13,12 +13,6 @@
...
@@ -13,12 +13,6 @@
</a>
</a>
</li>
</li>
<li
class=
"grafana-menu-zoom-out"
>
<a
class=
'small'
ng-click=
'zoom(2)'
>
Zoom Out
</a>
</li>
<li
ng-repeat=
"pulldown in dashboard.nav"
ng-controller=
"PulldownCtrl"
ng-show=
"pulldown.enable"
>
<li
ng-repeat=
"pulldown in dashboard.nav"
ng-controller=
"PulldownCtrl"
ng-show=
"pulldown.enable"
>
<grafana-simple-panel
type=
"pulldown.type"
ng-cloak
>
<grafana-simple-panel
type=
"pulldown.type"
ng-cloak
>
</grafana-simple-panel>
</grafana-simple-panel>
...
...
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