Allow to hide center column on large screens

This commit is contained in:
Francis Lachapelle committed 2016-11-10 16:04:29 -05:00
1 parent 5b02685d2b
commit 6e48734504
15 files changed
+111 -27

No files matched your search

@@ -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')),