diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/zerotb/index-steps.html | 8 | ||||
-rw-r--r-- | templates/web/zerotb/index.html | 45 |
2 files changed, 53 insertions, 0 deletions
diff --git a/templates/web/zerotb/index-steps.html b/templates/web/zerotb/index-steps.html new file mode 100644 index 000000000..6c11ca6d4 --- /dev/null +++ b/templates/web/zerotb/index-steps.html @@ -0,0 +1,8 @@ +<h2>[% loc('How to report a stockout') %]</h2> + +<ol class="big-numbers"> + <li>[% loc('Enter a Delhi TB clinic or street name and area') %]</li> + <li>[% loc('Locate the clinic on a map of the area') %]</li> + <li>[% loc('Enter details of the problem') %]</li> + <li>[% loc('We will send your stockout report to the district TB officer and to local activists to ensure action is taken') %]</li> +</ol> diff --git a/templates/web/zerotb/index.html b/templates/web/zerotb/index.html new file mode 100644 index 000000000..95d6fa013 --- /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> + Explain stockouts here. + </p> + </section> + + </div> +</div> + +[% INCLUDE 'footer.html' pagefooter = 'yes' %] |