From 88830aed0668033e8e43f44476eabd3a5d4a6a4e Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Wed, 4 Oct 2017 11:37:20 -0400 Subject: [PATCH] RT# 76968 - added header logo and css to map page, fixed address look up error, added leaflet to license Conflicts: httemplate/docs/license.html --- httemplate/docs/license.html | 7 ++++--- httemplate/misc/confirm-censustract.html | 2 +- httemplate/misc/openmap.html | 17 +++++++++-------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/httemplate/docs/license.html b/httemplate/docs/license.html index 9101b9f1e..1cce9b3ae 100644 --- a/httemplate/docs/license.html +++ b/httemplate/docs/license.html @@ -133,8 +133,6 @@ under the terms of the MIT license. Contains the XRegExp library by Steven Levithan, licensed under the terms of the MIT license. -<<<<<<< HEAD -=======

Contains the Google Maps Longitude and Latitude Picker, by Richard Dancsi, licensed under the terms of the MIT license. @@ -147,7 +145,10 @@ under the terms of the MIT license. Contains the form validation jQuery plugin jQuery Validation by Jörn Zaefferer, licensed under the terms of MIT License. ->>>>>>> f650b4e... RT# 21110, Updated files to use jquery-validate jquery plugin. This allows for field validation instead of just form validation. Also updated footer so it does not use experimental keys on scalar. Dereferenced hash ref prior to using keys. +

+Contains the leaflet JavaScript library Leaflet JS by Vladimir Agafonkin, +licensed under the terms of MIT License. +

diff --git a/httemplate/misc/confirm-censustract.html b/httemplate/misc/confirm-censustract.html index b491d4954..0f115e5d7 100644 --- a/httemplate/misc/confirm-censustract.html +++ b/httemplate/misc/confirm-censustract.html @@ -16,7 +16,7 @@ Confirm census tract <% $location{address1} |h %> <% $location{address2} |h %>
<% $location{city} |h %>, <% $location{state} |h %> <% $location{zip} |h %>

-% my $querystring = "census_year=$year&address=$location{address1}, $location{address2}, $location{city}, $location{state}, $location{zip}"; +% my $querystring = "census_year=$year&address=$location{address1}, $location{address2}, $location{city}, $location{state}"; Map service module location
% $querystring = "census_year=$year&pre=$pre&zip_code=" . $cache->get('zip'); diff --git a/httemplate/misc/openmap.html b/httemplate/misc/openmap.html index 6ccc72491..73f107142 100644 --- a/httemplate/misc/openmap.html +++ b/httemplate/misc/openmap.html @@ -1,11 +1,7 @@ - - - Find Census Tract Map - - - - -

Please select your location on the map

+<& /elements/header-logo.html, { title => 'Find Census Tract Map', head => $head, } &> + +

Please select your location on the map

+

 

@@ -79,6 +75,11 @@ local $SIG{__DIE__}; #disable Mason error trap my $DEBUG = 0; +my $head = ' + + +'; + my $census_year = $cgi->param('census_year'); my $pre = $cgi->param('pre'); my $zip_code = $cgi->param('zip_code'); -- 2.11.0