From ff9b6b51b0ecdd770811297d615edb7969e8cba7 Mon Sep 17 00:00:00 2001 From: jpope Date: Mon, 6 Jan 2014 20:27:32 -0600 Subject: [PATCH 1/2] adjust mod report page --- mediagoblin/static/css/base.css | 6 +++--- mediagoblin/templates/mediagoblin/moderation/report.html | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 83449569..a3f4bf0e 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -349,7 +349,7 @@ text-align: center; border-top: 6px dashed #D49086 } -.form_field_input input, .form_field_input textarea { +/*.form_field_input input,*/ .form_field_input textarea { width: 100%; } @@ -820,7 +820,7 @@ pre { } /* desktop resolutions */ @media screen and (min-width: 960px) { - .container .three.columns { /* this needs to be more specific - inplace for the gallery... */ + .container .three.columns.media_thumbnail { width:180px; margin-left:3px; margin-right:3px; @@ -828,7 +828,7 @@ pre { } /* Tablet Portrait size to standard 960 (devices and browsers) */ @media only screen and (min-width: 768px) and (max-width: 959px) { - .container .three.columns { /* this needs to be more specific - inplace for the gallery... */ + .container .three.columns.media_thumbnail { width:147px; margin-left:2px; margin-right:2px; diff --git a/mediagoblin/templates/mediagoblin/moderation/report.html b/mediagoblin/templates/mediagoblin/moderation/report.html index cedbd49a..5bff0ffa 100644 --- a/mediagoblin/templates/mediagoblin/moderation/report.html +++ b/mediagoblin/templates/mediagoblin/moderation/report.html @@ -26,10 +26,12 @@ {% if not report %} {% trans %}Sorry, no such report found.{% endtrans %} {% else %} +
{% trans %}Return to Reports Panel{% endtrans %} +

{% trans %}Report{% endtrans %} #{{ report.id }}

{% if report.is_comment_report() and report.comment %} @@ -66,7 +68,7 @@ {% elif report.is_media_entry_report() and report.media_entry %} {% set media_entry = report.media_entry %} -
+
From a5ac282c9b21d6076cf548666b24e4925148377d Mon Sep 17 00:00:00 2001 From: jpope Date: Tue, 7 Jan 2014 01:05:01 -0600 Subject: [PATCH 2/2] debone and redo the header --- mediagoblin/static/css/base.css | 35 +++++++++++---------- mediagoblin/templates/mediagoblin/base.html | 8 ++--- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index a3f4bf0e..950954cb 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -78,6 +78,11 @@ a.highlight { color: #fff; } +.header_right a { + text-decoration: none; + color: #fff; +} + em { font-style: italic; } @@ -112,10 +117,19 @@ header { border-bottom: 1px solid #333; } +.header_left { + width: 47%; + margin: 0 0 0 8px; + display: inline-block; +} + .header_right { - margin: 8px; + width: 47%; + margin: 8px 8px 4px 0; display: inline-block; float: right; + text-align: right; + line-height: 1.6em; } .header_dropdown { @@ -801,22 +815,9 @@ pre { } .button_action, .button_action_highlight, .button_form { - padding: 9px 14px; + padding: 5px 14px; } - - header { -/* text-align: center;*/ - } - - .header_right { -/* margin-right: 2%;*/ -/* float: none;*/ - } - - a.logo { -/* margin-left: 2%;*/ - } - + } /* desktop resolutions */ @media screen and (min-width: 960px) { @@ -858,7 +859,7 @@ pre { } .header_right { - float: none; + text-align: center; } } diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index e430cfca..f60d5f10 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -66,11 +66,10 @@