diff options
author | Struan Donald <struan@fury.ukcod.org.uk> | 2011-11-29 13:51:26 +0000 |
---|---|---|
committer | Struan Donald <struan@fury.ukcod.org.uk> | 2011-11-29 13:51:26 +0000 |
commit | d69c8404b6ca7cc3b92f3fd1d175b000f2f82e08 (patch) | |
tree | 6062ea5569beb7f4bbb0c3d18bfd54164e111614 | |
parent | 19b888c08b895ecf60702fec357ea208b372fd69 (diff) |
layout to tweak to southampton problem display with photos
-rw-r--r-- | templates/web/southampton/report/photo.html | 6 | ||||
-rw-r--r-- | web/cobrands/southampton/css.scss | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/templates/web/southampton/report/photo.html b/templates/web/southampton/report/photo.html new file mode 100644 index 000000000..07b6a8558 --- /dev/null +++ b/templates/web/southampton/report/photo.html @@ -0,0 +1,6 @@ +[% IF c.cobrand.allow_photo_display && object.photo %] +[% photo = object.get_photo_params %] +<p> + <img alt="" height="[% photo.height %]" width="[% photo.width %]" src="[% photo.url %]"> +</p> +[% END %] diff --git a/web/cobrands/southampton/css.scss b/web/cobrands/southampton/css.scss index 0760c982c..3bc2f1b54 100644 --- a/web/cobrands/southampton/css.scss +++ b/web/cobrands/southampton/css.scss @@ -8,6 +8,7 @@ $darker: #768EB5; #map_box { width: $map_width + 2px; + margin-bottom: 10px; } #map, #drag { width: $map_width; @@ -60,4 +61,7 @@ $darker: #768EB5; padding: 0.5em; } + #update_form { + clear: right; + } } |