From c852d9a2819b71c0549b86add06b67c29525fb62 Mon Sep 17 00:00:00 2001 From: Nikolai Kristiansen Date: Fri, 27 Dec 2013 22:55:18 +0100 Subject: [PATCH] Profile: updates --- duskenweb/static/css/app.css | 11 +++++++++-- duskenweb/static/sass/app.scss | 9 +++++++-- duskenweb/templates/nav.html | 3 ++- duskenweb/templates/profile.html | 30 ++++++++++++++++------------- duskenweb/templatetags/__init__.py | 0 duskenweb/templatetags/myfilters.py | 12 ++++++++++++ 6 files changed, 47 insertions(+), 18 deletions(-) create mode 100644 duskenweb/templatetags/__init__.py create mode 100644 duskenweb/templatetags/myfilters.py diff --git a/duskenweb/static/css/app.css b/duskenweb/static/css/app.css index 21555b3..cf92bdb 100644 --- a/duskenweb/static/css/app.css +++ b/duskenweb/static/css/app.css @@ -73,6 +73,13 @@ } /* line 68, ../sass/app.scss */ -.text-center { - text-align: center; +.img-profile { + width: 50px; +} + +/* line 71, ../sass/app.scss */ +.img-profile-nav { + width: 18px; + position: relative; + top: -1px; } diff --git a/duskenweb/static/sass/app.scss b/duskenweb/static/sass/app.scss index d76fe6e..e1fd644 100644 --- a/duskenweb/static/sass/app.scss +++ b/duskenweb/static/sass/app.scss @@ -65,6 +65,11 @@ margin-bottom: .25em; } } -.text-center { - text-align: center; +.img-profile { + width: 50px; +} +.img-profile-nav { + width: 18px; + position: relative; + top: -1px; } diff --git a/duskenweb/templates/nav.html b/duskenweb/templates/nav.html index 2fd431b..cb916c2 100644 --- a/duskenweb/templates/nav.html +++ b/duskenweb/templates/nav.html @@ -1,3 +1,4 @@ +{% load myfilters %}