Skip to content

Commit

Permalink
Added bird walks module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Cottman-Fields committed Nov 5, 2013
1 parent 79dd7ea commit a1005d5
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ Apache License, Version 2.0

---

Based off the [ng-boilerplate](https://github.com/ngbp/ng-boilerplate) library.
Based on the [ng-boilerplate](https://github.com/ngbp/ng-boilerplate) library.
5 changes: 4 additions & 1 deletion src/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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'}).
Expand Down
Empty file.
15 changes: 15 additions & 0 deletions src/app/birdWalks/birdWalks.js
Original file line number Diff line number Diff line change
@@ -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) {

}
]);
Empty file.
3 changes: 2 additions & 1 deletion src/baw.configuration.tpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}/"
Expand Down
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<ul class="nav navbar-nav">
<li><a href="/projects">Projects</a></li>
<li class="active"><a href="#">Listen</a></li>
<li><a href="/birdWalks">Bird Walks</a></li>

<li style="display: none" ng-controller="LoginCtrl">
<span ng-show="loggedIn">
Expand Down
1 change: 1 addition & 0 deletions src/sass/application.tpl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ C:\Work\GitHub\baw-client\src\sass [master +0 ~1 -0]> ls ../app/ -Recurse -Inclu
@import "../app/search/saved_searches";
@import "../app/sites/sites";
@import "../app/tags/tags";
@import "../app/birdWalks/birdWalks";



Expand Down

0 comments on commit a1005d5

Please sign in to comment.