@@ -25,6 +25,10 @@ function (angular, _, moment) {
});
};
+ $scope.exitFullscreen = function() {
+ $rootScope.$emit('panel-fullscreen-exit');
+ };
+
$scope.showDropdown = function(type) {
if(_.isUndefined(dashboard.current.loader)) {
return true;
@@ -4,6 +4,12 @@
}
</style>
+<li ng-show="fullscreen">
+ <a ng-click="exitFullscreen()">
+ Back to dashboard
+ </a>
+</li>
<li>
<a class='small' ng-click='zoom(2)'>
Zoom Out