Removed 'Back to dashboard' top nav button, now have close button on the edit box below panel

This commit is contained in:
Torkel Ödegaard
2015-03-12 14:03:09 +01:00
parent 43ba5842bb
commit 96ad3a04d4
3 changed files with 5 additions and 7 deletions
@@ -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">
-7
View File
@@ -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>