From 13423daae28f759a24ba645fecc3e01cdfa92d9c Mon Sep 17 00:00:00 2001
From: Jef van Schendel
Date: Sun, 20 Nov 2011 01:43:48 +0100
Subject: [PATCH] Another change to button style. Renamed header_submit,
header_submit_highlight and button classes, correct all references to these
---
mediagoblin/static/css/base.css | 39 ++++++++++---------
.../templates/mediagoblin/auth/change_fp.html | 2 +-
.../mediagoblin/auth/forgot_password.html | 2 +-
.../templates/mediagoblin/auth/login.html | 4 +-
.../templates/mediagoblin/auth/register.html | 2 +-
mediagoblin/templates/mediagoblin/base.html | 6 +--
.../mediagoblin/edit/attachments.html | 2 +-
.../templates/mediagoblin/edit/edit.html | 2 +-
.../mediagoblin/edit/edit_profile.html | 2 +-
mediagoblin/templates/mediagoblin/root.html | 4 +-
.../templates/mediagoblin/submit/start.html | 2 +-
.../templates/mediagoblin/test_submit.html | 2 +-
.../mediagoblin/user_pages/media.html | 2 +-
.../user_pages/media_confirm_delete.html | 2 +-
.../mediagoblin/user_pages/user.html | 6 +--
15 files changed, 40 insertions(+), 39 deletions(-)
diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css
index d61292a2..cec236f4 100644
--- a/mediagoblin/static/css/base.css
+++ b/mediagoblin/static/css/base.css
@@ -98,24 +98,6 @@ a.mediagoblin_logo{
font-weight: bold;
}
-.header_submit, .header_submit_highlight{
- color: #c3c3c3;
- background-color: #2d2d2d;
- border: 1px solid;
- border-color: #323232 #232323 #1F1F1F;
- border-radius: 4px;
- margin: 8px;
- padding: 3px 8px;
- text-decoration: none;
- font-style: normal;
- font-weight: bold;
- font-size: 1em;
-}
-
-.header_submit_highlight{
-background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109, 173, 144));
-}
-
.mediagoblin_footer {
height: 30px;
border-top: 1px solid #333;
@@ -135,7 +117,26 @@ background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109,
/* common website elements */
-.button, .cancel_link {
+.button_action, .button_action_highlight{
+ color: #c3c3c3;
+ background-color: #363636;
+ border: 1px solid;
+ border-color: #464646 #2B2B2B #252525;
+ border-radius: 4px;
+ margin: 8px;
+ padding: 3px 8px;
+ text-decoration: none;
+ font-style: normal;
+ font-weight: bold;
+ font-size: 1em;
+}
+
+.button_action_highlight{
+background-image: -moz-linear-gradient(center top , rgb(134, 212, 177), rgb(109, 173, 144));
+}
+
+
+.button_form, .cancel_link {
height: 32px;
min-width: 99px;
background-color: #86d4b1;
diff --git a/mediagoblin/templates/mediagoblin/auth/change_fp.html b/mediagoblin/templates/mediagoblin/auth/change_fp.html
index 53186cec..fa972085 100644
--- a/mediagoblin/templates/mediagoblin/auth/change_fp.html
+++ b/mediagoblin/templates/mediagoblin/auth/change_fp.html
@@ -30,7 +30,7 @@
{{ wtforms_util.render_divs(cp_form) }}
-
+
diff --git a/mediagoblin/templates/mediagoblin/auth/forgot_password.html b/mediagoblin/templates/mediagoblin/auth/forgot_password.html
index 9b821426..41940742 100644
--- a/mediagoblin/templates/mediagoblin/auth/forgot_password.html
+++ b/mediagoblin/templates/mediagoblin/auth/forgot_password.html
@@ -27,7 +27,7 @@
{% trans %}Recover password{% endtrans %}
{{ wtforms_util.render_divs(fp_form) }}
-
+
diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html
index 756f67c0..c3807e5f 100644
--- a/mediagoblin/templates/mediagoblin/auth/login.html
+++ b/mediagoblin/templates/mediagoblin/auth/login.html
@@ -42,10 +42,10 @@
{% trans %}Forgot your password?{% endtrans %}
-
+
{% if next %}
-
{% endif %}
diff --git a/mediagoblin/templates/mediagoblin/auth/register.html b/mediagoblin/templates/mediagoblin/auth/register.html
index 25b68058..a0d0a277 100644
--- a/mediagoblin/templates/mediagoblin/auth/register.html
+++ b/mediagoblin/templates/mediagoblin/auth/register.html
@@ -29,7 +29,7 @@
{{ csrf_token }}
+ class="button_form" />
diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html
index 64fafb73..ede5f5c6 100644
--- a/mediagoblin/templates/mediagoblin/base.html
+++ b/mediagoblin/templates/mediagoblin/base.html
@@ -47,7 +47,7 @@
alt="{% trans %}MediaGoblin logo{% endtrans %}" />
{% endblock %}
{% if request.user and request.user['status'] == 'active' %}
-
@@ -59,8 +59,8 @@
{% if request.user.status == "needs_email_verification" %}
+ class="button_action_highlight">
+ {% trans %}Verify your email!{% endtrans %}
{% endif %}
Cancel
-
+
{{ csrf_token }}
diff --git a/mediagoblin/templates/mediagoblin/edit/edit.html b/mediagoblin/templates/mediagoblin/edit/edit.html
index b4b3be85..73c2bada 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit.html
@@ -34,7 +34,7 @@
{{ wtforms_util.render_divs(form) }}
diff --git a/mediagoblin/templates/mediagoblin/edit/edit_profile.html b/mediagoblin/templates/mediagoblin/edit/edit_profile.html
index 93b2a792..bf8fe5c1 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit_profile.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit_profile.html
@@ -32,7 +32,7 @@
{{ wtforms_util.render_divs(form) }}
-
+
{{ csrf_token }}
diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html
index 43d973d1..25ce9e96 100644
--- a/mediagoblin/templates/mediagoblin/root.html
+++ b/mediagoblin/templates/mediagoblin/root.html
@@ -30,9 +30,9 @@
{% if allow_registration %}
{% trans %}Don't have one yet? It's easy!{% endtrans %}
{% trans register_url=request.urlgen('mediagoblin.auth.register') -%}
-
+ Create an account at this site
or
-
+ Set up MediaGoblin on your own server
{%- endtrans %}
{% endif %}
diff --git a/mediagoblin/templates/mediagoblin/submit/start.html b/mediagoblin/templates/mediagoblin/submit/start.html
index 29b01181..1a0dd4b7 100644
--- a/mediagoblin/templates/mediagoblin/submit/start.html
+++ b/mediagoblin/templates/mediagoblin/submit/start.html
@@ -27,7 +27,7 @@
{{ wtforms_util.render_divs(submit_form) }}
{{ csrf_token }}
-
+
diff --git a/mediagoblin/templates/mediagoblin/test_submit.html b/mediagoblin/templates/mediagoblin/test_submit.html
index 190b9ac3..38be8efc 100644
--- a/mediagoblin/templates/mediagoblin/test_submit.html
+++ b/mediagoblin/templates/mediagoblin/test_submit.html
@@ -25,7 +25,7 @@
{{ wtforms_util.render_table(image_form) }}
-
+
{{ csrf_token }}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html
index 4b02b684..c8a9650f 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media.html
@@ -98,7 +98,7 @@
media=media._id) }}" method="POST">
{{ wtforms_util.render_divs(comment_form) }}
-
+
{{ csrf_token }}
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
index 8da90f79..c3a9d622 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
@@ -47,7 +47,7 @@
diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html
index d6a9fe1f..91dd2369 100644
--- a/mediagoblin/templates/mediagoblin/user_pages/user.html
+++ b/mediagoblin/templates/mediagoblin/user_pages/user.html
@@ -62,7 +62,7 @@
{% trans %}In case it doesn't:{% endtrans %}
{% trans %}Resend verification email{% endtrans %}
+ class="button_form">{% trans %}Resend verification email{% endtrans %}
{% else %}
{# if the user is not you, but still needs to verify their email #}
@@ -97,7 +97,7 @@
@@ -147,7 +147,7 @@
This is where your media will appear, but you don't seem to have added anything yet.
{%- endtrans %}
-
--
2.25.1