diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 0dadacd0..afd10207 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -245,8 +245,12 @@ text-align: center; font-size: 0.9em; } +.comment_content { + margin-bottom: 30px; +} + .comment_content p { - margin-bottom: 4px; + margin-bottom: 0px; } /* media galleries */ @@ -286,13 +290,16 @@ img.media_icon{ /* navigation */ .navigation_button{ - width: 139px; + width: 135px; display: block; float: left; text-align: center; - background-color: #222; + background-color: #1d1d1d; + border: 1px solid; + border-color: #2c2c2c #232323 #1a1a1a; + border-radius: 3px; text-decoration: none; - padding: 12px 0pt; + padding: 8px 0px 14px; font-size: 2em; margin: 0 0 20px } @@ -302,7 +309,7 @@ p.navigation_button{ } .navigation_left{ - margin-right: 2px; + margin-right: 6px; } /* messages */ diff --git a/mediagoblin/static/images/icon_comment.png b/mediagoblin/static/images/icon_comment.png new file mode 100644 index 00000000..76860a92 Binary files /dev/null and b/mediagoblin/static/images/icon_comment.png differ diff --git a/mediagoblin/templates/mediagoblin/auth/forgot_password.html b/mediagoblin/templates/mediagoblin/auth/forgot_password.html index b95a4dcb..9b821426 100644 --- a/mediagoblin/templates/mediagoblin/auth/forgot_password.html +++ b/mediagoblin/templates/mediagoblin/auth/forgot_password.html @@ -20,20 +20,15 @@ {% import "/mediagoblin/utils/wtforms.html" as wtforms_util %} {% block mediagoblin_content %} -
{{ csrf_token }} -
-

{% trans %}Enter your username or email{% endtrans %}

- +

{% trans %}Recover password{% endtrans %}

{{ wtforms_util.render_divs(fp_form) }}
- +
-
{% endblock %} - diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html index 61c5a203..756f67c0 100644 --- a/mediagoblin/templates/mediagoblin/auth/login.html +++ b/mediagoblin/templates/mediagoblin/auth/login.html @@ -30,7 +30,17 @@ {% trans %}Logging in failed!{% endtrans %} {% endif %} + {% if allow_registration %} +

+ {% trans %}Don't have an account yet?{% endtrans %} + {%- trans %}Create one here!{% endtrans %} +

+ {% endif %} {{ wtforms_util.render_divs(login_form) }} +

+ + {% trans %}Forgot your password?{% endtrans %} +

@@ -38,20 +48,6 @@ {% endif %} - {% if allow_registration %} -

- {% trans %}Don't have an account yet?{% endtrans %} -
- - {%- trans %}Create one here!{% endtrans %} -

-

- {% trans %}Forgot your password?{% endtrans %} -
- - {%- trans %}Change it!{% endtrans %} -

- {% endif %} {% endblock %} diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html index e3ca9726..43d973d1 100644 --- a/mediagoblin/templates/mediagoblin/root.html +++ b/mediagoblin/templates/mediagoblin/root.html @@ -24,30 +24,21 @@

{% trans %}Explore{% endtrans %}

{% else %}
-

{% trans %}Hi there, media lover! MediaGoblin is...{% endtrans %}

- - +

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

+

{% trans %}Your finest source for all goblin-related media.{% endtrans %}

+

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

{% if allow_registration %} -

{% trans %}Excited to join us?{% endtrans %}

+

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

{% trans register_url=request.urlgen('mediagoblin.auth.register') -%} - Create a free account + Create an account at this site or Set up MediaGoblin on your own server {%- endtrans %} {% endif %}
-
-
{% endif %}

{% trans %}Most recent media{% endtrans %}

diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 11fa72cf..17beffb2 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -47,28 +47,22 @@

{{ media.title }}

- + {% autoescape False %} +

{{ media.description_html }}

+ {% endautoescape %}

{% trans date=media.created.strftime("%Y-%m-%d"), user_url=request.urlgen( 'mediagoblin.user_pages.user_home', user=media.uploader().username), username=media.uploader().username -%} - Uploaded on {{ date }} by {{ username }} + By {{ username }} on {{ date }} {%- endtrans %}

- - {% autoescape False %} -

{{ media.description_html }}

- {% endautoescape %} - -
-

{% trans %}Comments{% endtrans %}

- +

{% if request.user %}

{% trans %}Post a comment{% endtrans %}

{% endif %} - {% if comments %} {% for comment in comments %} {% set comment_author = comment.author() %} @@ -79,14 +73,10 @@
{% endif %} -
- {% autoescape False %} - {{ comment.content_html }} +
{% autoescape False %}{{ comment.content_html }} {% endautoescape %} -
- -
— - + {{ comment_author['username'] }} {% trans %}at{% endtrans %} @@ -94,7 +84,7 @@ comment = comment['_id'], user = media.uploader().username, media = media._id) }}#comment"> - {{ comment.created.strftime("%Y-%m-%d %I:%M%p") }} + {{ comment.created.strftime("%I:%M%p %Y-%m-%d") }}