diff --git a/bower.json b/bower.json index 99b9df9..756770d 100644 --- a/bower.json +++ b/bower.json @@ -7,6 +7,7 @@ "dependencies": { "angular-translate": "^2.14.0", "ui-leaflet": "^2.0.0", - "ngCordova": "^0.1.27-alpha" + "ngCordova": "^0.1.27-alpha", + "ionic-calendar": "^0.3.7" } } diff --git a/www/index.html b/www/index.html index 665ccb5..a2106da 100644 --- a/www/index.html +++ b/www/index.html @@ -42,6 +42,10 @@ + + + + @@ -55,6 +59,7 @@ + diff --git a/www/js/app.js b/www/js/app.js index 2be6109..3b4cdbe 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -18,6 +18,7 @@ angular.module('app', [ 'app.byCategory', 'app.place', 'app.byPlace', + 'app.calendar', 'app.users', 'app.user', 'app.login', @@ -142,6 +143,15 @@ angular.module('app', [ } } }) + .state('app.calendar', { + url: '/calendar', + views: { + 'menuContent': { + templateUrl: 'templates/calendar.html', + controller: 'CalendarCtrl' + } + } + }) .state('app.users', { url: '/users', views: { diff --git a/www/js/calendar.js b/www/js/calendar.js new file mode 100644 index 0000000..77d4ff7 --- /dev/null +++ b/www/js/calendar.js @@ -0,0 +1,5 @@ +angular.module('app.calendar', ['pascalprecht.translate', 'ui.rCalendar']) + +.controller('CalendarCtrl', function($scope, $http, $ionicModal, $timeout, $ionicLoading, $filter) { + +}); diff --git a/www/templates/calendar.html b/www/templates/calendar.html new file mode 100644 index 0000000..7891f97 --- /dev/null +++ b/www/templates/calendar.html @@ -0,0 +1,6 @@ + + + + + diff --git a/www/templates/main.html b/www/templates/main.html index 565c47d..055fd30 100644 --- a/www/templates/main.html +++ b/www/templates/main.html @@ -25,7 +25,7 @@
- + diff --git a/www/templates/menu.html b/www/templates/menu.html index 19455c7..98fffec 100644 --- a/www/templates/menu.html +++ b/www/templates/menu.html @@ -39,7 +39,7 @@ - + By Date