From 1eff18b9b964fed90a44e5111a6f7bb892f2679e Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Fri, 31 Jan 2014 13:21:32 -0300 Subject: [PATCH] Empty page for Developers. Fix responsive menu. --- public/css/common.css | 13 +++++++------ public/js/config.js | 6 +++++- public/js/controllers/header.js | 4 ++++ public/views/developers.html | 8 ++++++++ 4 files changed, 24 insertions(+), 7 deletions(-) create mode 100644 public/views/developers.html diff --git a/public/css/common.css b/public/css/common.css index 2bb5a11..714212b 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -55,15 +55,16 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { display: block; } -@media (min-width: 768px) { - .navbar-form { - width: 30%; - } +.navbar-form { + width: 30%; } -@media (max-width: 768px) { +@media (max-width: 991px) { .status { - margin: 0 14px !important; + margin: 0; + } + .navbar-form { + width: 20%; } } diff --git a/public/js/config.js b/public/js/config.js index 3aeedbb..d367e71 100755 --- a/public/js/config.js +++ b/public/js/config.js @@ -35,7 +35,11 @@ angular.module('insight').config(function($routeProvider) { templateUrl: '/views/status.html', title: 'Status' }). - otherwise({ + when('/developers', { + templateUrl: '/views/developers.html', + title: 'Developers' + }) + .otherwise({ templateUrl: '/views/404.html', title: 'Error' }); diff --git a/public/js/controllers/header.js b/public/js/controllers/header.js index e5fa3ac..3b17ec5 100755 --- a/public/js/controllers/header.js +++ b/public/js/controllers/header.js @@ -12,6 +12,10 @@ angular.module('insight.system').controller('HeaderController', { 'title': 'Status', 'link': 'status' + }, + { + 'title': 'Developers', + 'link': 'developers' } ]; diff --git a/public/views/developers.html b/public/views/developers.html new file mode 100644 index 0000000..d854ece --- /dev/null +++ b/public/views/developers.html @@ -0,0 +1,8 @@ +
+ +
+