Put log in / log out in its place!
authorJef van Schendel <jefvanschendel@gmail.com>
Wed, 25 May 2011 22:15:26 +0000 (00:15 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Wed, 25 May 2011 22:15:26 +0000 (00:15 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/base.html

index 7ce71789455708842ffadd0f7db9259ff30d890b..9e5fdccecedf4120dd79d547d64bf21cb391e935 100644 (file)
@@ -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;
index e785cfccfcd0f6e1a671ce7740c8c7296924cc90..a0e0730daa3e116c6e6229ecda8d8e99d8e05c0b 100644 (file)
@@ -32,7 +32,7 @@
               {% block mediagoblin_logo %}
                 <a href="{{ request.urlgen('index') }}"><img src="{{ request.staticdirect('/images/icon.png') }}" class="icon" /></a>
               {% endblock %}{% block mediagoblin_header_title %}MediaGoblin Home{% endblock %}
-              
+        <div class="mediagoblin_header_right">
           {% if request.user %}
                 Welcome {{ request.user['username'] }}! --
                 <a href="{{ request.urlgen('mediagoblin.auth.logout') }}">
@@ -41,6 +41,7 @@
                 <a href="{{ request.urlgen('mediagoblin.auth.login') }}">
                   Login</a>
           {% endif %}
+        </div>
       </div>
       </div>
       {% endblock %}