diff --git a/bower.json b/bower.json index 756770d..aa3e5b8 100644 --- a/bower.json +++ b/bower.json @@ -8,6 +8,6 @@ "angular-translate": "^2.14.0", "ui-leaflet": "^2.0.0", "ngCordova": "^0.1.27-alpha", - "ionic-calendar": "^0.3.7" + "material-calendar": "^0.2.14" } } diff --git a/www/index.html b/www/index.html index a2106da..a5c28ba 100644 --- a/www/index.html +++ b/www/index.html @@ -42,10 +42,6 @@ - - - - diff --git a/www/js/calendar.js b/www/js/calendar.js index 77d4ff7..3ee352b 100644 --- a/www/js/calendar.js +++ b/www/js/calendar.js @@ -1,5 +1,7 @@ -angular.module('app.calendar', ['pascalprecht.translate', 'ui.rCalendar']) +angular.module('app.calendar', ['pascalprecht.translate']) + +.controller('CalendarCtrl', function($scope, $http, $ionicModal, $timeout, + $ionicLoading, $filter) { -.controller('CalendarCtrl', function($scope, $http, $ionicModal, $timeout, $ionicLoading, $filter) { }); diff --git a/www/templates/alerts.html b/www/templates/alerts.html index 174fe79..76fd092 100644 --- a/www/templates/alerts.html +++ b/www/templates/alerts.html @@ -2,33 +2,7 @@ -
- - -

{{event.user.username}}

-

{{event.user.shortDescription}}

-
- -

{{event.title}}

-

{{event.description}}

-

{{event.date | date: 'HH:mm, dd/MM/yyyy'}}

-
- -
+
diff --git a/www/templates/byCategory.html b/www/templates/byCategory.html index 42a5ed5..a1a7773 100644 --- a/www/templates/byCategory.html +++ b/www/templates/byCategory.html @@ -2,42 +2,6 @@ -
- - -

{{event.user.username}}

-

{{event.user.shortDescription}}

-
- - - - -
{{event.date | date: 'HH:mm, dd/MM/yyyy'}}
-

{{event.title}}

-

{{event.description}}

-

- - {{category.name}} - -

-
- -
+
diff --git a/www/templates/byPlace.html b/www/templates/byPlace.html index 42a5ed5..a1a7773 100644 --- a/www/templates/byPlace.html +++ b/www/templates/byPlace.html @@ -2,42 +2,6 @@ -
- - -

{{event.user.username}}

-

{{event.user.shortDescription}}

-
- - - - -
{{event.date | date: 'HH:mm, dd/MM/yyyy'}}
-

{{event.title}}

-

{{event.description}}

-

- - {{category.name}} - -

-
- -
+
diff --git a/www/templates/calendar.html b/www/templates/calendar.html index 7891f97..a18d66b 100644 --- a/www/templates/calendar.html +++ b/www/templates/calendar.html @@ -1,6 +1,5 @@ - + diff --git a/www/templates/events.html b/www/templates/events.html index ede7160..2bd1ae3 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -6,7 +6,7 @@ ng-show="alerts"> {{alerts.length}} Emergency alerts! -
+ +
diff --git a/www/templates/savedEvents.html b/www/templates/savedEvents.html index 2818941..c85be24 100644 --- a/www/templates/savedEvents.html +++ b/www/templates/savedEvents.html @@ -1,6 +1,6 @@ -
+ + +
diff --git a/www/templates/templateEvents.html b/www/templates/templateEvents.html new file mode 100644 index 0000000..d047e80 --- /dev/null +++ b/www/templates/templateEvents.html @@ -0,0 +1,37 @@ +