aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-12-19 12:09:57 +0000
committerStruan Donald <struan@exo.org.uk>2012-12-19 12:09:57 +0000
commit7a343e694a299410f6a55abb9f5cabda65fa16bc (patch)
treeb25736618ef6bfc43a402f92cfd7c98fa5707d84
parent49bd299f8004923000cd6ba5de454af69c91be0f (diff)
initial display location template
-rw-r--r--templates/web/seesomething/around/display_location.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/web/seesomething/around/display_location.html b/templates/web/seesomething/around/display_location.html
new file mode 100644
index 000000000..e90d1aa0e
--- /dev/null
+++ b/templates/web/seesomething/around/display_location.html
@@ -0,0 +1,49 @@
+[%
+
+ url_skip = c.uri_for(
+ '/report/new',
+ {
+ pc => pc
+ latitude => short_latitude,
+ longitude => short_longitude,
+ skipped => 1,
+ }
+ );
+
+ PROCESS "maps/${map.type}.html";
+
+ INCLUDE 'header.html',
+ title => loc('Viewing a location')
+ bodyclass => 'mappage',
+ robots => 'noindex,nofollow';
+
+%]
+
+<form action="[% c.uri_for('/report/new') %]" method="post" name="mapForm" id="mapForm" enctype="multipart/form-data" class="validate">
+ [% IF c.req.params.map_override %]
+ <input type="hidden" name="map_override" value="[% c.req.params.map_override | html %]">
+ [% END %]
+ <input type="hidden" name="pc" value="[% pc | html %]">
+
+ <input type="hidden" name="latitude" id="fixmystreet.latitude" value="[% short_latitude | html %]">
+ <input type="hidden" name="longitude" id="fixmystreet.longitude" value="[% short_longitude | html %]">
+
+ [% map_html %]
+
+ </div>
+
+ <div id="side">
+ [% INCLUDE 'around/_report_banner.html' %]
+ </div>
+
+ <div style="display:none" id="side-form">
+ [% INCLUDE "report/new/fill_in_details_form.html"
+ js = 1,
+ report.used_map = 1
+ report.name = c.user.name
+ %]
+ </div>
+
+</form>
+
+[% INCLUDE 'footer.html' %]