aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web')
-rw-r--r--templates/web/bexley/email_sent.html38
-rw-r--r--templates/web/bexley/front/pre-steps.html12
-rw-r--r--templates/web/bexley/tokens/_extras_confirm.html12
-rw-r--r--templates/web/buckinghamshire/front/pre-steps.html7
-rw-r--r--templates/web/fixmystreet.com/before_wrapper.html26
-rw-r--r--templates/web/tfl/front/pre-steps.html9
6 files changed, 104 insertions, 0 deletions
diff --git a/templates/web/bexley/email_sent.html b/templates/web/bexley/email_sent.html
new file mode 100644
index 000000000..293959183
--- /dev/null
+++ b/templates/web/bexley/email_sent.html
@@ -0,0 +1,38 @@
+[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Create a report') %]
+
+<div class="confirmation-header confirmation-header--inbox">
+
+ <h1>[% loc("Nearly done! Now check your email&hellip;") %]</h1>
+
+ <p>
+ [% IF email_type == 'problem' %]
+ [% loc("Click the link in our confirmation email to publish your problem.") %]
+ [% ELSIF email_type == 'update' %]
+ [% loc("Click the link in our confirmation email to publish your update.") %]
+ [% ELSIF email_type == 'alert' %]
+ [% loc("Click the link in our confirmation email to activate your alert.") %]
+ [% END %]
+ </p>
+
+ [% TRY %][% INCLUDE '_email_sent_extra.html' %][% CATCH file %][% END %]
+
+ <p>
+ [% loc("Can&rsquo;t find our email? Check your spam folder&nbsp;&ndash; that&rsquo;s the solution 99% of the time.") %]
+ </p>
+
+ <p style="border: 0.1em solid rgb(252, 13, 27); padding: 0.5em; background-color: rgb(237, 207, 206);">
+ <strong>While we find ourselves in these unprecedented times.</strong>
+ All issues reported on Bexley’s FixMyStreet system will continue to be
+ actioned to keep our roads safe for critical workers to be able to continue
+ to support the London Borough of Bexley and its residents. We may take
+ longer to respond to you while we concentrate on getting issues resolved in
+ priority order and within available resources. Non-urgent defects may also
+ take longer than normal to fix. We will continue to serve you the best that
+ we can but urge everyone not to make journeys unless absolutely necessary
+ and not report to anything that is not urgent. Thank you for
+ your&nbsp;understanding.
+ </p>
+
+</div>
+
+[% INCLUDE 'footer.html' %]
diff --git a/templates/web/bexley/front/pre-steps.html b/templates/web/bexley/front/pre-steps.html
new file mode 100644
index 000000000..830690fe7
--- /dev/null
+++ b/templates/web/bexley/front/pre-steps.html
@@ -0,0 +1,12 @@
+<p style="border: 0.3em solid rgb(252, 13, 27); padding: 2em; background-color: rgb(237, 207, 206); font-size: 1.2em;">
+<strong>While we find ourselves in these unprecedented times.</strong>
+ All issues reported on Bexley’s FixMyStreet system will continue to be
+ actioned to keep our roads safe for critical workers to be able to continue
+ to support the London Borough of Bexley and its residents. We may take
+ longer to respond to you while we concentrate on getting issues resolved in
+ priority order and within available resources. Non-urgent defects may also
+ take longer than normal to fix. We will continue to serve you the best that
+ we can but urge everyone not to make journeys unless absolutely necessary
+ and not report to anything that is not urgent. Thank you for your
+ understanding.
+</p>
diff --git a/templates/web/bexley/tokens/_extras_confirm.html b/templates/web/bexley/tokens/_extras_confirm.html
new file mode 100644
index 000000000..5a7cc2782
--- /dev/null
+++ b/templates/web/bexley/tokens/_extras_confirm.html
@@ -0,0 +1,12 @@
+<p style="border: 0.1em solid rgb(252, 13, 27); padding: 0.5em; background-color: rgb(237, 207, 206);">
+ <strong>While we find ourselves in these unprecedented times.</strong>
+ All issues reported on Bexley’s FixMyStreet system will continue to be
+ actioned to keep our roads safe for critical workers to be able to continue
+ to support the London Borough of Bexley and its residents. We may take
+ longer to respond to you while we concentrate on getting issues resolved in
+ priority order and within available resources. Non-urgent defects may also
+ take longer than normal to fix. We will continue to serve you the best that
+ we can but urge everyone not to make journeys unless absolutely necessary
+ and not report to anything that is not urgent. Thank you for
+ your&nbsp;understanding.
+</p>
diff --git a/templates/web/buckinghamshire/front/pre-steps.html b/templates/web/buckinghamshire/front/pre-steps.html
new file mode 100644
index 000000000..4728bff2f
--- /dev/null
+++ b/templates/web/buckinghamshire/front/pre-steps.html
@@ -0,0 +1,7 @@
+<p style="margin: -1em -1em 1em; padding: 20px 30px; background-color: #f79f73; color: #000;">
+In light of the ongoing COVID 19 crisis an element of TfB workforce has reduced
+by the need for self-isolation. This regrettably means that for the immediate
+future some work will have to be delayed. We apologise for any possible delay
+in addressing your report and hope that you will understand in the
+circumstances.
+</p>
diff --git a/templates/web/fixmystreet.com/before_wrapper.html b/templates/web/fixmystreet.com/before_wrapper.html
new file mode 100644
index 000000000..9fc07343b
--- /dev/null
+++ b/templates/web/fixmystreet.com/before_wrapper.html
@@ -0,0 +1,26 @@
+<div class="survey-banner">
+ <p>
+ <span class="survey-banner__text">Share your views and help us improve FixMyStreet for&nbsp;everyone</span>
+ <a class="survey-banner__cta" href="https://www.surveygizmo.com/s3/5506345/46e9932d0fbf" target="_blank">Take our short survey</a>
+ </p>
+ <button class="survey-banner__close">Close</button>
+</div>
+<script nonce="[% csp_nonce %]">
+(function(){
+ var live_site = location.hostname === 'www.fixmystreet.com';
+ var hasnt_opted_out = document.cookie.indexOf('__has_closed_march_2020_survey') === -1;
+ var randomly_chosen = Math.random() > 0.6;
+ if ( live_site && hasnt_opted_out && randomly_chosen ) {
+ document.body.className = ((document.body.className) ? document.body.className + ' has-survey-banner' : 'has-survey-banner');
+ document.querySelector('.survey-banner').style.display = 'block';
+ }
+ function hide_survey(){
+ document.querySelector('.survey-banner').style.display = 'none';
+ document.body.className = document.body.className.replace('has-survey-banner', '');
+ var t = new Date(); t.setFullYear(t.getFullYear() + 1);
+ document.cookie = '__has_closed_march_2020_survey=1; path=/; expires=' + t.toUTCString();
+ }
+ document.querySelector('.survey-banner__close').onclick = hide_survey;
+ document.querySelector('.survey-banner__cta').onclick = hide_survey;
+})();
+</script>
diff --git a/templates/web/tfl/front/pre-steps.html b/templates/web/tfl/front/pre-steps.html
new file mode 100644
index 000000000..314db0a93
--- /dev/null
+++ b/templates/web/tfl/front/pre-steps.html
@@ -0,0 +1,9 @@
+<p style="max-width: 38em; font-size: 1.2em; margin-bottom: 2.5em;">
+ <strong>While we find ourselves in these unprecedented times.</strong>
+ All issues reported on Streetcare will continue to be acknowledged as
+ we work to keep our roads safe for critical workers to continue to
+ support London. We may take longer to respond to you while we concentrate on
+ getting issues resolved as our priority. Non-urgent defects may also take longer
+ than normal to fix. We will continue to serve you the best that we can but urge
+ everyone not to make journeys unless absolutely necessary.
+</p>