diff --git a/README.md b/README.md index c1ff68ff..c3b23587 100644 --- a/README.md +++ b/README.md @@ -46,4 +46,4 @@ Apache License, Version 2.0 --- -Based off the [ng-boilerplate](https://github.com/ngbp/ng-boilerplate) library. \ No newline at end of file +Based on the [ng-boilerplate](https://github.com/ngbp/ng-boilerplate) library. \ No newline at end of file diff --git a/src/app/app.js b/src/app/app.js index 7694b43b..0870a936 100644 --- a/src/app/app.js +++ b/src/app/app.js @@ -83,7 +83,8 @@ var app = angular.module('baw', 'bawApp.recordings', 'bawApp.search', 'bawApp.tags', - 'bawApp.users' + 'bawApp.users', + 'bawApp.birdWalks' ]) .config(['$routeProvider', '$locationProvider', '$httpProvider', 'conf.paths', '$sceDelegateProvider', @@ -124,6 +125,8 @@ var app = angular.module('baw', when('/attribution', {templateUrl: '/assets/attributions.html'}). + when('/birdWalks', {templateUrl: paths.site.files.birdWalks, controller: 'BirdWalkCtrl'}). + // experiments when('/experiments/:experiment', {templateUrl: '/assets/experiment_base.html', controller: 'ExperimentsCtrl'}). diff --git a/src/app/birdWalks/_birdWalks.scss b/src/app/birdWalks/_birdWalks.scss new file mode 100644 index 00000000..e69de29b diff --git a/src/app/birdWalks/birdWalks.js b/src/app/birdWalks/birdWalks.js new file mode 100644 index 00000000..0bb2f1ee --- /dev/null +++ b/src/app/birdWalks/birdWalks.js @@ -0,0 +1,15 @@ +angular.module('bawApp.birdWalks', []) + .controller( + 'BirdWalkCtrl', + ['$scope', '$resource', '$routeParams', + /** + * The navigation controller. Here we setup breadcrumbs. + * @param $scope + * @param $resource + * @constructor + * @param $routeParams + */ + function BirdWalkCtrl($scope, $resource, $routeParams) { + + } + ]); \ No newline at end of file diff --git a/src/app/birdWalks/birdWalks.tpl.html b/src/app/birdWalks/birdWalks.tpl.html new file mode 100644 index 00000000..e69de29b diff --git a/src/baw.configuration.tpl.js b/src/baw.configuration.tpl.js index d6fc39ff..299fa42b 100644 --- a/src/baw.configuration.tpl.js +++ b/src/baw.configuration.tpl.js @@ -50,7 +50,8 @@ angular.module('bawApp.configuration', []) home: 'home/home.tpl.html', listen: 'listen/listen.tpl.html', annotationViewer: 'annotationViewer/annotationViewer.tpl.html', - navigation: 'navigation/navigation.tpl.html' + navigation: 'navigation/navigation.tpl.html', + birdWalks: 'birdWalks/birdWalks.tpl.html' }, ngRoutes :{ listen: "/listen/{recordingId}/" diff --git a/src/index.html b/src/index.html index 7d0ce1c5..9af5d89d 100644 --- a/src/index.html +++ b/src/index.html @@ -47,6 +47,7 @@