Allow to hide center column on large screens

This commit is contained in:
Francis Lachapelle
2016-11-10 16:03:00 -05:00
parent 5b02685d2b
commit 6e48734504
15 changed files with 111 additions and 27 deletions
@@ -16,6 +16,7 @@
$scope.activeUser = sgSettings.activeUser();
$scope.baseURL = sgSettings.baseURL();
$scope.leftIsClose = !$mdMedia(sgConstant['gt-md']);
$scope.centerIsClose = false;
// Show current day in top bar
$scope.currentDay = window.currentDay;
@@ -52,6 +53,9 @@
$log.debug("toggle right is done");
});
};
$scope.toggleCenter = function() {
$scope.centerIsClose = !$scope.centerIsClose;
};
// $scope.openBottomSheet = function() {
// $mdBottomSheet.show({
// parent: angular.element(document.getElementById('left-sidenav')),