From fe024f0be71e8c3ac581c2f515f9a31a22890e29 Mon Sep 17 00:00:00 2001 From: jpope Date: Tue, 7 Jan 2014 12:09:02 -0600 Subject: [PATCH] skeletonize frontpage welcome --- mediagoblin/static/css/base.css | 13 +++++ .../mediagoblin/bits/frontpage_welcome.html | 49 ++++++++++--------- 2 files changed, 40 insertions(+), 22 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 950954cb..3a38f405 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -161,6 +161,10 @@ a.logo { margin: 6px 8px 6px 0; } +.welcomeimage { + float: right; +} + .fine_print { font-size: 0.8em; } @@ -816,6 +820,7 @@ pre { .button_action, .button_action_highlight, .button_form { padding: 5px 14px; + margin-bottom: 0.5em; } } @@ -861,6 +866,14 @@ pre { .header_right { text-align: center; } + + .welcomeimage { + float: none; + display: inherit; + margin-left: auto; + margin-right: auto; + margin-top: 1em; + } } /* Exif display */ diff --git a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html index 4e55e618..9d157480 100644 --- a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html +++ b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html @@ -19,29 +19,34 @@ {% if request.user %}

{% trans %}Explore{% endtrans %}

{% else %} - -

{% trans %}Hi there, welcome to this MediaGoblin site!{% endtrans %}

-

{% trans %}This site is running MediaGoblin, an extraordinarily great piece of media hosting software.{% endtrans %}

- {% if auth %} -

{% trans %}To add your own media, place comments, and more, you can log in with your MediaGoblin account.{% endtrans %}

- {% if allow_registration %} -

{% trans %}Don't have one yet? It's easy!{% endtrans %}

- +
+

{% trans %}Hi there, welcome to this MediaGoblin site!{% endtrans %}

+

{% trans %}This site is running MediaGoblin, an extraordinarily great piece of media hosting software.{% endtrans %}

+ {% if auth %} +

{% trans %}To add your own media, place comments, and more, you can log in with your MediaGoblin account.{% endtrans %}

+ {% if allow_registration %} +

{% trans %}Don't have one yet? It's easy!{% endtrans %}

+ Create an account at this site + or + {%- endtrans %} {% endif %} - {% trans %} - >Create an account at this site - or - {%- endtrans %} - {% endif %} - {% endif %} - {% trans %} - Set up MediaGoblin on your own server - {%- endtrans %} - + {% endif %} + {% trans %} + Set up MediaGoblin on your own server + {%- endtrans %} +
+
+ +
+
{% endif %} -- 2.25.1