diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/external/angular-circular-navigation.js | 2 | ||||
| -rw-r--r-- | www/js/TimelineCtrl.js | 3 | ||||
| -rw-r--r-- | www/templates/timeline.html | 17 |
3 files changed, 14 insertions, 8 deletions
diff --git a/www/external/angular-circular-navigation.js b/www/external/angular-circular-navigation.js index 0c99f858..17488768 100644 --- a/www/external/angular-circular-navigation.js +++ b/www/external/angular-circular-navigation.js @@ -35,7 +35,7 @@ if (typeof $scope.options.button.onclick === 'function') { // PP - console.log ("FUNCTION"); - $scope.options.isOpen = !$scope.options.isOpen; + //$scope.options.isOpen = !$scope.options.isOpen; $scope.options.button.onclick(); } else diff --git a/www/js/TimelineCtrl.js b/www/js/TimelineCtrl.js index 3157e516..1afa1141 100644 --- a/www/js/TimelineCtrl.js +++ b/www/js/TimelineCtrl.js @@ -446,6 +446,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla $scope.toggleNav = function () { if (navControls == true) { navControls = !navControls; + // $scope.navControls = navControls; // give out animation time $timeout(function () { $scope.navControls = navControls; @@ -734,7 +735,7 @@ angular.module('zmApp.controllers').controller('zmApp.TimelineCtrl', ['$ionicPla size: 'small', background: '#982112', - isOpen: false, + isOpen: true, toggleOnClick: false, button: { cssClass: 'fa fa-compress fa-2x', diff --git a/www/templates/timeline.html b/www/templates/timeline.html index b0ec1409..c3633b72 100644 --- a/www/templates/timeline.html +++ b/www/templates/timeline.html @@ -14,12 +14,13 @@ <ion-nav-buttons side="right"> - +<button class="button button-icon button-clear ion-android-more-vertical" ng-click="popover.show($event); "> </button> + <button class="button button-icon button-clear ion-arrow-move" ng-click="toggleNav();"></button> <!-- <button class="button button-icon button-clear ion-log-in" ng-click="zoom(-0.2)"></button> <button class="button button-icon button-clear ion-log-out" ng-click="zoom(0.2)"></button> --> - <a style="" class="button button-icon icon ion-android-more-vertical" ng-click="popover.show($event)";> </a> + </ion-nav-buttons> <!--<ion-content data-tap-disabled="true">--> <ion-content> @@ -47,8 +48,12 @@ </ion-content> </ion-view> -<div class="timelinebuttons" ng-if="graphLoaded && navControls"> - <circular id ="timeline-ctrl" options="radialMenuOptions" class="animated bounceInRight"> - </circular> - <!-- --> + +<div ng-show="graphLoaded && navControls"> + <div class="timelinebuttons"> + <circular id="timeline-ctrl" options="radialMenuOptions" class="animated bounceInRight"> + <!----> + </circular> + <!-- --> + </div> </div> |
