Timepicker: Fix for Zoom out top menu link still visible when timepicker was disabled, Fixes #963
This commit is contained in:
@@ -10,7 +10,14 @@
|
|||||||
}
|
}
|
||||||
</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="grafana-menu-zoom-out">
|
||||||
|
<a class='small' ng-click='zoom(2)'>
|
||||||
|
Zoom Out
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
|
|
||||||
<a class="dropdown-toggle timepicker-dropdown" data-toggle="dropdown" href="" bs-tooltip="time.tooltip" data-placement="bottom" ng-click="dismiss();">
|
<a class="dropdown-toggle timepicker-dropdown" data-toggle="dropdown" href="" bs-tooltip="time.tooltip" data-placement="bottom" ng-click="dismiss();">
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user