From ed06f2ac18d35a70bfd97c6989c11c5de33f088d Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Wed, 18 Dec 2013 12:27:08 +0530 Subject: footer links and logo updated --- forums/wsgi.py | 4 ++-- static/forums/templates/user-login.html | 2 +- static/website/css/main.css | 26 +++++++++++++------------- static/website/templates/base.html | 12 ++++++++++-- static/website/templates/user-questions.html | 2 +- static/website/templates/user-replies.html | 2 +- 6 files changed, 28 insertions(+), 20 deletions(-) diff --git a/forums/wsgi.py b/forums/wsgi.py index 728eed4..3a52e8b 100644 --- a/forums/wsgi.py +++ b/forums/wsgi.py @@ -24,8 +24,8 @@ sys.path.append('/Sites/venv/forums/') # os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings" os.environ["DJANGO_SETTINGS_MODULE"] = "forums.settings" -activate_this = '/Sites/venv/bin/activate_this.py' -execfile(activate_this, dict(__file__=activate_this)) +#activate_this = '/Sites/venv/bin/activate_this.py' +#execfile(activate_this, dict(__file__=activate_this)) # This application object is used by any WSGI server configured to use this # file. This includes Django's development server, if the WSGI_APPLICATION diff --git a/static/forums/templates/user-login.html b/static/forums/templates/user-login.html index 27f5a1f..a1951fe 100644 --- a/static/forums/templates/user-login.html +++ b/static/forums/templates/user-login.html @@ -32,7 +32,7 @@

Dont have a Spoken-Tutorial.org account yet ?

- Register + Register

diff --git a/static/website/css/main.css b/static/website/css/main.css index 543de18..4280d57 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -1,4 +1,7 @@ /* override bootstrap */ +.container>.navbar-header { + height: 45px; +} .navbar>.container .navbar-brand { margin-left: 0; } @@ -25,6 +28,10 @@ body { } #header-inner { +} +#logo { + width: 25px; + margin-top: -3px; } #content-wrapper { position: relative; @@ -134,10 +141,14 @@ body { max-width: 970px; margin:0 auto; background-color: #2d2d2d; - min-height: 60px; + color: #ffffff; } #footer-inner { - + padding-top: 10px; + padding-bottom: 10px; +} +#footer-inner a{ + color: #ffffff; } .field_error { border: 1px solid red; @@ -168,14 +179,3 @@ body { right: 5px; bottom: 5px; } -#search-bar { - display: none; - min-height: 50px; - padding-top: 15px; - padding-bottom: 15px; - background: #ffffff; - border-bottom: 2px solid #f5f5f5; - width: 970px; - margin: 0 auto; -} - diff --git a/static/website/templates/base.html b/static/website/templates/base.html index dccb556..49c5f18 100644 --- a/static/website/templates/base.html +++ b/static/website/templates/base.html @@ -20,6 +20,7 @@ + Spoken Tutorial Forums @@ -85,11 +86,18 @@ -