diff options
-rw-r--r-- | web/css.css | 13 | ||||
-rwxr-xr-x | web/faq.cgi | 8 | ||||
-rwxr-xr-x | web/index.cgi | 10 |
3 files changed, 23 insertions, 8 deletions
diff --git a/web/css.css b/web/css.css index 3b5e506dd..5336a6792 100644 --- a/web/css.css +++ b/web/css.css @@ -194,15 +194,24 @@ fieldset div.checkbox label, label.n { /* Map */ +#map_box { + float:right; + width: 510px; +} + +#map_box p { + float: right; + margin: 0 0 1em 0; + font-size: 78%; +} + #map { border: solid 1px #000000; width: 508px; height: 508px; overflow: hidden; - float: right; position: relative; background-color: #f1f1f1; - margin-bottom: 1em; } #drag { diff --git a/web/faq.cgi b/web/faq.cgi index 7135165ca..8f94f69e0 100755 --- a/web/faq.cgi +++ b/web/faq.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: faq.cgi,v 1.11 2007-03-22 19:45:56 matthew Exp $ +# $Id: faq.cgi,v 1.12 2007-03-30 11:59:52 matthew Exp $ use strict; require 5.8.0; @@ -130,8 +130,10 @@ and Tom Steinberg. Thanks also to -<a href="http://www.ordnancesurvey.co.uk">Ordnance Survey</a> (for the maps and UK postcodes), -Yahoo! for their JavaScript libraries, +<a href="http://www.ordnancesurvey.co.uk">Ordnance Survey</a> (for the maps, UK postcodes, and +UK addresses – data © Crown copyright, all rights reserved, Department for +Constitutional Affairs 1000378819 2007), +Yahoo! for their BSD-licensed JavaScript libraries, the entire free software community (this particular project was brought to you by Perl, PostgreSQL, and the number 161.290) and <a href="http://www.easynet.net/publicsector/">Easynet</a> (who kindly host all diff --git a/web/index.cgi b/web/index.cgi index 0b55a0136..ffa1352fa 100755 --- a/web/index.cgi +++ b/web/index.cgi @@ -6,7 +6,7 @@ # Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved. # Email: matthew@mysociety.org. WWW: http://www.mysociety.org # -# $Id: index.cgi,v 1.103 2007-03-27 21:44:27 matthew Exp $ +# $Id: index.cgi,v 1.104 2007-03-30 11:59:52 matthew Exp $ # TODO # Nothing is done about the update checkboxes - not stored anywhere on anything! @@ -487,11 +487,11 @@ sub display_location { } my $skipurl = NewURL($q, 'submit_map'=>1, skipped=>1); $out .= <<EOF; -<p style="font-size:83%">If you cannot see a map – if you have images turned off, +<p><small>If you cannot see a map – if you have images turned off, or are using a text only browser, for example – and you wish to report a problem, please <a href="$skipurl">skip this step</a> and we will ask you -to describe the location of your problem instead.</p> +to describe the location of your problem instead.</small></p> EOF $out .= <<EOF; <div> @@ -771,10 +771,14 @@ EOF var x = $x - 2; var y = $y - 2; var drag_x = 0; var drag_y = 0; </script> +<div id="map_box"> <div id="map"><div id="drag"> $img_type alt="NW map tile" id="t2.2" name="tile_$tl" src="$tl_src" style="top:0px; left:0px;">$img_type alt="NE map tile" id="t2.3" name="tile_$tr" src="$tr_src" style="top:0px; left:$imgw;"><br>$img_type alt="SW map tile" id="t3.2" name="tile_$bl" src="$bl_src" style="top:$imgh; left:0px;">$img_type alt="SE map tile" id="t3.3" name="tile_$br" src="$br_src" style="top:$imgh; left:$imgw;"> $pins </div></div> + <p>© Crown copyright. All rights reserved. + Department for Constitutional Affairs 1000378819 2007</p> + </div> EOF $out .= Page::compass($q, $x, $y) if $compass; $out .= '<div id="side">'; |