aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/zerotb/index.html
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-04-11 10:34:37 +0100
committerStruan Donald <struan@exo.org.uk>2014-04-11 10:34:37 +0100
commite6d0b61e1a406cc79a5a8390fc148b51d2e36e76 (patch)
tree5a1d2f8deb2d822a2e669249a46df0bfd2c77ed7 /templates/web/zerotb/index.html
parent03244f1e7d9a03ab704f797a19893c1efdb2b1e6 (diff)
parentdbe9c7ecb157196ed201d94d4159abfb034240ff (diff)
Merge branch 'zerotb'
Diffstat (limited to 'templates/web/zerotb/index.html')
-rw-r--r--templates/web/zerotb/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/web/zerotb/index.html b/templates/web/zerotb/index.html
new file mode 100644
index 000000000..754dcbabc
--- /dev/null
+++ b/templates/web/zerotb/index.html
@@ -0,0 +1,45 @@
+[%# 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 %]
+
+[% pre_container_extra = PROCESS 'around/postcode_form.html' %]
+[% INCLUDE 'header.html', title = '', bodyclass = 'frontpage fullwidthpage' %]
+
+[% IF error %]
+ <p class="form-error">[% error %]</p>
+[% END %]
+
+<div class="tablewrapper">
+ <div id="front-howto">
+ [% INCLUDE 'index-steps.html' %]
+ </div>
+
+ <div id="front-recently">
+ <h2>
+ [% loc('About stockouts') %]
+ </h2>
+
+ <section class="full-width">
+ <p>
+ [% loc('In 2013 India faced stockouts of anti-tuberculosis medicines, threatening to leave many patients across the country without access to life-saving treatment. Some government officials have denied that these drug stockouts exist. There is no simple mechanism for gathering drug shortage data, making accountability and transparency impossible. We aim to change this by enabling anyone in Delhi to report stockouts through this website.') %]
+ </p>
+ </section>
+
+ </div>
+</div>
+
+[% INCLUDE 'footer.html' pagefooter = 'yes' %]