aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Angell <josh@supercooldesign.co.uk>2012-02-21 10:15:55 +0000
committerJosh Angell <josh@supercooldesign.co.uk>2012-02-21 10:17:34 +0000
commit9cfa31bdb1e79f616ef854ab52b21dcdb931a9f3 (patch)
tree3bcab915313bcd040bc39f3beaaae451d31c048b
parentcbb3d83f9bdc768355de06c750b025a73d845b50 (diff)
Fix min height issue on /report/id and add green button class
Signed-off-by: Josh Angell <josh@supercooldesign.co.uk>
-rw-r--r--templates/web/fixmystreet/report/_main.html30
-rw-r--r--templates/web/fixmystreet/report/display.html2
-rw-r--r--web/cobrands/fixmystreet/layout.scss5
3 files changed, 23 insertions, 14 deletions
diff --git a/templates/web/fixmystreet/report/_main.html b/templates/web/fixmystreet/report/_main.html
index 60bf60d57..9fbd82621 100644
--- a/templates/web/fixmystreet/report/_main.html
+++ b/templates/web/fixmystreet/report/_main.html
@@ -1,16 +1,20 @@
-<h1>[% problem.title | html %]</h1>
+<div class="problem-header">
+ <h1>[% problem.title | html %]</h1>
-<p><em>
-[% problem.meta_line(c) | html %]
-[% IF problem.council %]
- [% IF problem.whensent %]
- <small class="council_sent_info"><br>[% problem.duration_string(c) %]</small>
- [% END %]
-[% ELSE %]
-<br><small>[% loc('Not reported to council') %]</small>
-[% END %]
-</em></p>
+ <p><em>
+ [% problem.meta_line(c) | html %]
+ [% IF problem.council %]
+ [% IF problem.whensent %]
+ <small class="council_sent_info"><br>[% problem.duration_string(c) %]</small>
+ [% END %]
+ [% ELSE %]
+ <br><small>[% loc('Not reported to council') %]</small>
+ [% END %]
+ </em></p>
-[% add_links( problem.detail ) | html_para %]
-[% INCLUDE 'report/photo.html' object=problem center=1 %] \ No newline at end of file
+ [% add_links( problem.detail ) | html_para %]
+
+
+ [% INCLUDE 'report/photo.html' object=problem center=1 %]
+</div> \ No newline at end of file
diff --git a/templates/web/fixmystreet/report/display.html b/templates/web/fixmystreet/report/display.html
index f157b42bc..703e3519b 100644
--- a/templates/web/fixmystreet/report/display.html
+++ b/templates/web/fixmystreet/report/display.html
@@ -119,7 +119,7 @@
[% INCLUDE name %]
- <input type="submit" id="update_post" value="[% loc('Post') %]">
+ <input class="green-btn" type="submit" id="update_post" value="[% loc('Post') %]">
[% ELSE %]
diff --git a/web/cobrands/fixmystreet/layout.scss b/web/cobrands/fixmystreet/layout.scss
index f84bba604..7afc1e879 100644
--- a/web/cobrands/fixmystreet/layout.scss
+++ b/web/cobrands/fixmystreet/layout.scss
@@ -351,6 +351,11 @@ textarea{
}
}
+/* Report page */
+.problem-header {
+ min-height:19em;
+}
+
/* Frontpage */
body.frontpage {
background:#1a1a1a;