diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/index-steps.html | 11 | ||||
-rw-r--r-- | templates/web/makemyisland/_location_buttons.html | 15 | ||||
-rw-r--r-- | templates/web/makemyisland/around/postcode_form.html | 8 |
3 files changed, 32 insertions, 2 deletions
diff --git a/templates/web/base/index-steps.html b/templates/web/base/index-steps.html index 431791c20..fac84faba 100644 --- a/templates/web/base/index-steps.html +++ b/templates/web/base/index-steps.html @@ -21,8 +21,15 @@ <li>Or visit the Barangay Center in person</li> <li>Staff? <a href="/auth">Sign in</a> and click on the map! [% ELSE %] - <li>[% question %]</li> - <li>[% loc('Locate the problem on a map of the area') %]</li> + [% IF c.cobrand.moniker == 'makemyisland' %] + <li> + Locate the problem on the + <a href="/around?pc=Fonadhoo">map of the island</a> + </li> + [% ELSE %] + <li>[% question %]</li> + <li>[% loc('Locate the problem on a map of the area') %]</li> + [% END %] <li>[% loc('Enter details of the problem') %]</li> [% IF c.cobrand.is_council %] <li>Confirm the report and [% c.cobrand.council_name %] will investigate</li> diff --git a/templates/web/makemyisland/_location_buttons.html b/templates/web/makemyisland/_location_buttons.html new file mode 100644 index 000000000..3604c466f --- /dev/null +++ b/templates/web/makemyisland/_location_buttons.html @@ -0,0 +1,15 @@ +<div id="location-buttons"> + <!-- + Fonadhoo (the island) + Barasil (northern most) + Medhuavah (in the middle) + Kurigam (south) + --> + <div class="island-button"> + <a href="/around?pc=Fonadhoo" class="front-page-button">Fonadhoo island</a> + </div> + <a href="/around?latitude=1.846;longitude=73.510" class="front-page-button">Barasil</a> + <a href="/around?latitude=1.833;longitude=73.501" class="front-page-button">Medhuavah</a> + <a href="/around?latitude=1.822;longitude=73.488" class="front-page-button">Kurigam</a> + +</div> diff --git a/templates/web/makemyisland/around/postcode_form.html b/templates/web/makemyisland/around/postcode_form.html new file mode 100644 index 000000000..81cf948ef --- /dev/null +++ b/templates/web/makemyisland/around/postcode_form.html @@ -0,0 +1,8 @@ +<div id="front-main"> + <div id="front-main-container"> + <h1>Report, view, or discuss local problems</h1> + <h2>(dumping waste, street lighting, erosion)</h2> + [% INCLUDE '_location_buttons.html' %] + </div> +</div> + |