aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/frontPageApp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-04 22:59:40 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-04 22:59:40 +0100
commit1902b2c1dfff62c0225a170db38a4882df9143e6 (patch)
tree435aa293f83dd8af266ef8d2946817e7c03bbdeb /src/main/webapp/apps/frontPageApp
parente7addeeb21ab8293855554f361619e4c57c3c1b4 (diff)
downloadesper-testing-1902b2c1dfff62c0225a170db38a4882df9143e6.tar.gz
esper-testing-1902b2c1dfff62c0225a170db38a4882df9143e6.tar.bz2
esper-testing-1902b2c1dfff62c0225a170db38a4882df9143e6.tar.xz
esper-testing-1902b2c1dfff62c0225a170db38a4882df9143e6.zip
o Adding a basic navbar for ease of use.
o Bootstrap-responsive.
Diffstat (limited to 'src/main/webapp/apps/frontPageApp')
-rwxr-xr-xsrc/main/webapp/apps/frontPageApp/frontPage.html4
-rwxr-xr-xsrc/main/webapp/apps/frontPageApp/frontPageApp.js2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/webapp/apps/frontPageApp/frontPage.html b/src/main/webapp/apps/frontPageApp/frontPage.html
index 5cdea9a..3c433ee 100755
--- a/src/main/webapp/apps/frontPageApp/frontPage.html
+++ b/src/main/webapp/apps/frontPageApp/frontPage.html
@@ -1,4 +1,6 @@
<div class="container">
+ <navbar/>
+<!-- <ng-include src="'/apps/core/navbar.html'" /> -->
<div class="page-header">
<h1>Newcomers</h1>
@@ -12,7 +14,7 @@
</thead>
<tbody>
<tr ng-repeat="person in persons.rows">
- <td><a href="/person/{{person.uuid}}">{{person.name}}</a></td>
+ <td><a href="/person/{{person.uuid}}/">{{person.name}}</a></td>
<td>{{person.badges.length}}</td>
</tr>
</tbody>
diff --git a/src/main/webapp/apps/frontPageApp/frontPageApp.js b/src/main/webapp/apps/frontPageApp/frontPageApp.js
index 21bc91f..624c484 100755
--- a/src/main/webapp/apps/frontPageApp/frontPageApp.js
+++ b/src/main/webapp/apps/frontPageApp/frontPageApp.js
@@ -1,6 +1,6 @@
'use strict';
-var frontPageApp = angular.module('frontPageApp', ['ngGrid', 'person', 'pagingTableService']).config(function ($routeProvider, $locationProvider) {
+var frontPageApp = angular.module('frontPageApp', ['ngGrid', 'person', 'pagingTableService', 'core.directives']).config(function ($routeProvider, $locationProvider) {
$routeProvider.
when('/', {controller: FrontPageCtrl, templateUrl: '/apps/frontPageApp/frontPage.html?noCache=' + noCache});
});