Removed 'Back to dashboard' top nav button, now have close button on the edit box below panel
This commit is contained in:
@@ -53,6 +53,7 @@ function (angular, _, moment) {
|
||||
|
||||
$scope.dashboardTitleAction = function() {
|
||||
$scope.appEvent('hide-dash-editor');
|
||||
$scope.exitFullscreen();
|
||||
};
|
||||
|
||||
$scope.saveDashboard = function(options) {
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
<div ng-repeat="tab in panelMeta.editorTabs" data-title="{{tab.title}}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="gf-box-header-close-btn" ng-click="exitFullscreen();">
|
||||
<i class="fa fa-remove"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="gf-box-body">
|
||||
|
||||
@@ -62,17 +62,10 @@
|
||||
</ul>
|
||||
|
||||
<ul class="nav pull-right">
|
||||
<li ng-show="dashboardViewState.fullscreen">
|
||||
<a ng-click="exitFullscreen()">
|
||||
Back to dashboard
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<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>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user