From 6602ce8db2aa37a9d60852b558c2691c3ee250b0 Mon Sep 17 00:00:00 2001 From: Alexandre Tuleu Date: Mon, 25 Jan 2016 17:24:30 +0100 Subject: [PATCH] Adds a nice navbar to the website --- static/css/satbd.sateliite.bar.css | 12 +++++++++ static/index.html | 43 +++++++++++++++++++++++++++--- static/js/satbd.satellite.bar.js | 5 ++++ 3 files changed, 57 insertions(+), 3 deletions(-) create mode 100644 static/css/satbd.sateliite.bar.css create mode 100644 static/js/satbd.satellite.bar.js diff --git a/static/css/satbd.sateliite.bar.css b/static/css/satbd.sateliite.bar.css new file mode 100644 index 0000000..90714ff --- /dev/null +++ b/static/css/satbd.sateliite.bar.css @@ -0,0 +1,12 @@ +html { + position: relative; + min-height: 100%; +} + +body { + margin-bottom: 60px; +} + +body > .container { + padding-top: 60px; +} diff --git a/static/index.html b/static/index.html index 093bfca..d1bbbc5 100644 --- a/static/index.html +++ b/static/index.html @@ -6,14 +6,51 @@ - + satbd: explorez la betheque de sat - -

Hello World!

+ + + + +
+ +

This page would holds various results

+

Need some help ?

+
+ diff --git a/static/js/satbd.satellite.bar.js b/static/js/satbd.satellite.bar.js new file mode 100644 index 0000000..64ce5cb --- /dev/null +++ b/static/js/satbd.satellite.bar.js @@ -0,0 +1,5 @@ +angular.module('satbd.satellite.bar', ['ui.bootstrap']); + +angular.module('satbd.satellite.bar').controller('NavbarCollapse', function ($scope) { + $scope.isCollapsed = true; +});