aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/fixmybarangay/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/fixmybarangay/index.html')
-rw-r--r--templates/web/fixmybarangay/index.html91
1 files changed, 0 insertions, 91 deletions
diff --git a/templates/web/fixmybarangay/index.html b/templates/web/fixmybarangay/index.html
deleted file mode 100644
index 76ce69c28..000000000
--- a/templates/web/fixmybarangay/index.html
+++ /dev/null
@@ -1,91 +0,0 @@
-[%# Assumes fixmystreet cobrand is using FMS map template - for bonus points preload all the right map elements. %]
-[% map_js = BLOCK %]
-<script>
-yepnope.addPrefix( 'preload', function ( resource ) {
- resource.noexec = true;
- return resource;
-});
-Modernizr.load({
- load: [
- "preload![% version('/js/OpenLayers.fixmystreet.js') %]",
- "preload![% version('/js/map-OpenLayers.js') %]",
- "preload![% version('/js/map-bing-ol.js') %]",
- "preload![% version('/js/jquery.ba-hashchange.min.js') %]"
- ]
-});
-</script>
-[% END %]
-
-[% INCLUDE 'header.html', title => '' , bodyclass => 'frontpage fullwidthpage' %]
-
-[% IF error %]
- <p class="error">[% error %]</p>
-[% END %]
-
-
-<div id="front-main">
- <div id="front-main-container">
- <h1>View local problems</h1>
- <h2>(potholes or street lighting)</h2>
-
- <form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm">
- <p>
- <a href="/around?latitude=10.322;longitude=123.907" class="yellow-btn">Bgy. Luz</a>
- <a href="/around?latitude=10.288;longitude=123.870" class="yellow-btn">Bgy. Basak San Nicolas</a>
- </p>
- </form>
- </div>
-</div>
-
-<div class="tablewrapper">
- <div id="front-howto">
- <h2>[% loc('How to report a problem') %]</h2>
-
- <ol class="big-numbers">
- <li>Text LUZ or BSN followed by your report to 12345</li>
- <li>Visit the Barangay Center in person</li>
- <li>Staff? <a href="/auth">Sign in</a> and click on the map!
- </ol>
-
- <section class="full-width">
- [% INCLUDE "front/stats.html" %]
- [% TRY %][% INCLUDE "front/tips.html" %][% CATCH file %][% END %]
- </section>
- </div>
-
-
- [%
- recent_photos = c.cobrand.recent_photos(5);
- %]
-
- [% IF recent_photos.size %]
- <div id="front-recently">
- <h2>[% loc('Recently reported problems') %]</h2>
-
- <section class="full-width">
- <ul class="issue-list-a">
- [% FOREACH p IN recent_photos %]
- <li>
- <a href="/report/[% p.id %]">
- <div class="text">
- <h4>[% p.title | html %]</h4>
- <small>[% prettify_epoch( p.confirmed_local.epoch, 1 ) %]</small>
- </div>
- <div class="img">
- <img alt="[% p.title | html %]" title="[% p.title | html %]" height="60" width="90" src="/photo/[% p.id %].fp.jpeg">
- </div>
- </a>
- </li>
- [% END %]
- </ul>
- </section>
-
- </div>
- [% END %]
-</div>
-
-
-<!-- [% TRY %][% INCLUDE 'front/news.html' %][% CATCH file %][% END %] -->
-
-
-[% INCLUDE 'footer.html' pagefooter = 'yes' %]