From 1902b2c1dfff62c0225a170db38a4882df9143e6 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 4 Jan 2013 22:59:40 +0100 Subject: o Adding a basic navbar for ease of use. o Bootstrap-responsive. --- src/main/webapp/apps/app.js | 8 ++++++++ src/main/webapp/apps/core/navbar.html | 21 +++++++++++++++++++++ src/main/webapp/apps/frontPageApp/frontPage.html | 4 +++- src/main/webapp/apps/frontPageApp/frontPageApp.js | 2 +- src/main/webapp/apps/personApp/person.html | 2 ++ src/main/webapp/apps/personApp/personApp.js | 4 ++-- 6 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 src/main/webapp/apps/core/navbar.html (limited to 'src/main/webapp/apps') diff --git a/src/main/webapp/apps/app.js b/src/main/webapp/apps/app.js index e69de29..c1ea158 100644 --- a/src/main/webapp/apps/app.js +++ b/src/main/webapp/apps/app.js @@ -0,0 +1,8 @@ +var directives = angular.module('core.directives', []); + +directives.directive('navbar', function () { + return { + restrict: 'E', + templateUrl: '/apps/core/navbar.html' + }; +}); diff --git a/src/main/webapp/apps/core/navbar.html b/src/main/webapp/apps/core/navbar.html new file mode 100644 index 0000000..fa0074c --- /dev/null +++ b/src/main/webapp/apps/core/navbar.html @@ -0,0 +1,21 @@ + 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 @@
+ +