From: Jef van Schendel Date: Wed, 25 May 2011 22:15:26 +0000 (+0200) Subject: Put log in / log out in its place! X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=38aa4a4026ab328fe00a145daa90bbe1eceb5caf;p=mediagoblin.git Put log in / log out in its place! --- diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 7ce71789..9e5fdcce 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -52,6 +52,10 @@ label { margin-right: auto; } +.mediagoblin_header_right { + float:right; +} + .button_red, .button_green { font-family: 'Carter One', arial, serif; height: 28px; diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index e785cfcc..a0e0730d 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -32,7 +32,7 @@ {% block mediagoblin_logo %} {% endblock %}{% block mediagoblin_header_title %}MediaGoblin Home{% endblock %} - +
{% if request.user %} Welcome {{ request.user['username'] }}! -- @@ -41,6 +41,7 @@ Login {% endif %} +
{% endblock %}