From 10d241976447ab87dfebfebf9679a796400f6445 Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Thu, 17 Jan 2013 16:15:03 +0100 Subject: [PATCH] CSS edits to dropdown menu; added log out button for unverified users --- mediagoblin/static/css/base.css | 17 ++++++----------- mediagoblin/templates/mediagoblin/base.html | 6 ++++-- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 2ba17936..4ccebfe1 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -127,21 +127,16 @@ header { float: right; } -.header_right ul { - display: none; - position: absolute; - top: 42px; - right: 0px; - background: #252525; - padding: 20px; +.header_dropdown { + margin-bottom: 20px; } -.header_right li { +.header_dropdown li { list-style: none; } -.header_dropdown { - margin: 20px; +.dropdown_title { + font-size: 20px; } a.logo { @@ -151,7 +146,7 @@ a.logo { .logo img { vertical-align: middle; - margin: 6px 8px; + margin: 6px 8px 6px 0; } .mediagoblin_content { diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index da5bd388..904a69d9 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -62,6 +62,7 @@ user=request.user.username) }}" class="button_action_highlight"> {% trans %}Verify your email!{% endtrans %} + or {% trans %}log out{% endtrans %} {% endif %} {% else %} @@ -71,8 +72,9 @@
{% if request.user and request.user.status == 'active' %}
- {{ request.user.username }}{% trans %}'s account{% endtrans %} - ({% trans %}log out{% endtrans %}) +

+ {{ request.user.username }}{% trans %}'s account{% endtrans %} + ({% trans %}log out{% endtrans %})