aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/email/highwaysengland/_email_color_overrides.html36
-rw-r--r--templates/email/highwaysengland/_email_setting_overrides.html5
-rw-r--r--templates/web/highwaysengland/around/_postcode_form_examples.html1
-rw-r--r--templates/web/highwaysengland/around/intro.html5
-rw-r--r--templates/web/highwaysengland/footer_extra.html6
-rw-r--r--templates/web/highwaysengland/footer_extra_js.html9
-rw-r--r--templates/web/highwaysengland/front/footer-marketing.html0
-rw-r--r--templates/web/highwaysengland/header_extra.html3
-rw-r--r--templates/web/highwaysengland/header_logo.html2
-rw-r--r--templates/web/highwaysengland/header_site.html14
-rw-r--r--templates/web/highwaysengland/index-steps.html13
-rw-r--r--templates/web/highwaysengland/main_nav_items.html27
-rw-r--r--templates/web/highwaysengland/report/new/_form_labels.html5
-rw-r--r--templates/web/highwaysengland/report/new/councils_text_all.html17
-rw-r--r--templates/web/highwaysengland/report/new/form_heading.html2
-rw-r--r--templates/web/highwaysengland/report/new/roads_message.html17
-rw-r--r--templates/web/highwaysengland/report/new/sidebar.html0
-rw-r--r--templates/web/highwaysengland/report/new/top_message.html5
-rw-r--r--templates/web/highwaysengland/report/update/form_state_checkbox.html0
-rw-r--r--templates/web/highwaysengland/report/updates-sidebar-notes.html3
-rw-r--r--templates/web/highwaysengland/tokens/confirm_problem.html21
-rw-r--r--templates/web/highwaysengland/tracking_code.html15
22 files changed, 206 insertions, 0 deletions
diff --git a/templates/email/highwaysengland/_email_color_overrides.html b/templates/email/highwaysengland/_email_color_overrides.html
new file mode 100644
index 000000000..999a90865
--- /dev/null
+++ b/templates/email/highwaysengland/_email_color_overrides.html
@@ -0,0 +1,36 @@
+[%
+
+color_he_darkblue = '#011e41';
+color_he_blue = '#0073a6';
+color_he_brightblue = '#0082c9';
+color_he_paleblue = '#99cceb';
+color_he_black = '#00050d';
+color_he_orange = '#f28a00';
+color_he_green = '#4a7529';
+color_he_red = '#d13339';
+color_he_yellow = '#ffc726';
+color_he_pink = '#cc2b99';
+
+color_he_grey1 = '#f2f2f2';
+color_he_grey2 = '#eff0f2';
+color_he_grey3 = '#cfd1d1';
+color_he_grey4 = '#59595c';
+color_he_grey5 = '#38383b';
+color_he_grey6 = '#241f21';
+
+body_background_color = color_he_grey3
+body_text_color = color_he_grey6
+
+header_background_color = '#fff'
+header_text_color = color_he_black
+
+secondary_column_background_color = color_he_grey2
+
+button_background_color = color_he_blue
+button_text_color = '#fff'
+
+logo_file = "email-logo.png"
+logo_width = "118" # pixel measurement, but without 'px' suffix
+logo_height = "35" # pixel measurement, but without 'px' suffix
+
+%]
diff --git a/templates/email/highwaysengland/_email_setting_overrides.html b/templates/email/highwaysengland/_email_setting_overrides.html
new file mode 100644
index 000000000..2359d2033
--- /dev/null
+++ b/templates/email/highwaysengland/_email_setting_overrides.html
@@ -0,0 +1,5 @@
+[%
+
+header_style = "${header_style} border-bottom: 4px solid ${color_he_blue};"
+
+%]
diff --git a/templates/web/highwaysengland/around/_postcode_form_examples.html b/templates/web/highwaysengland/around/_postcode_form_examples.html
new file mode 100644
index 000000000..7642ae5fd
--- /dev/null
+++ b/templates/web/highwaysengland/around/_postcode_form_examples.html
@@ -0,0 +1 @@
+<p class="form-hint" id="pc-hint">[% tprintf('eg ‘%s’ or ‘%s’', c.cobrand.example_places) %]</p>
diff --git a/templates/web/highwaysengland/around/intro.html b/templates/web/highwaysengland/around/intro.html
new file mode 100644
index 000000000..5eb114e53
--- /dev/null
+++ b/templates/web/highwaysengland/around/intro.html
@@ -0,0 +1,5 @@
+ <h1>Report a problem <span>on our network</span></h1>
+ <div class="front-blurb">
+ <p>We work hard to make sure our network of motorways and major A-roads is in good condition, minimising disruption for our customers.</p>
+ <p>We carry out regular inspections and maintenance activities, but we also want to hear from you if you spot something wrong with our roads or any of the assets alongside them. This could be anything from a broken sign or barrier, to litter, overgrown vegetation or potholes.</p>
+ </div>
diff --git a/templates/web/highwaysengland/footer_extra.html b/templates/web/highwaysengland/footer_extra.html
new file mode 100644
index 000000000..904ef4297
--- /dev/null
+++ b/templates/web/highwaysengland/footer_extra.html
@@ -0,0 +1,6 @@
+<footer class="site-footer">
+ <div class="container">
+ <a href="https://highwaysengland.co.uk/" class="site-logo">Highways England</a>
+ <a href="https://www.fixmystreet.com/pro" class="powered-by-fms">Powered by FixMyStreet Pro</a>
+ </div>
+</footer>
diff --git a/templates/web/highwaysengland/footer_extra_js.html b/templates/web/highwaysengland/footer_extra_js.html
new file mode 100644
index 000000000..376386db2
--- /dev/null
+++ b/templates/web/highwaysengland/footer_extra_js.html
@@ -0,0 +1,9 @@
+[%
+IF bodyclass.match('mappage');
+ scripts.push( version('/cobrands/fixmystreet/assets.js') );
+ scripts.push( version('/cobrands/highwaysengland/assets.js') );
+ scripts.push(
+ version('/vendor/OpenLayers.Projection.OrdnanceSurvey.js'),
+ );
+END;
+%]
diff --git a/templates/web/highwaysengland/front/footer-marketing.html b/templates/web/highwaysengland/front/footer-marketing.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/templates/web/highwaysengland/front/footer-marketing.html
diff --git a/templates/web/highwaysengland/header_extra.html b/templates/web/highwaysengland/header_extra.html
new file mode 100644
index 000000000..0011e6285
--- /dev/null
+++ b/templates/web/highwaysengland/header_extra.html
@@ -0,0 +1,3 @@
+<link rel="stylesheet" href="https://use.typekit.net/lgn8iyw.css">
+
+[% INCLUDE 'tracking_code.html' %]
diff --git a/templates/web/highwaysengland/header_logo.html b/templates/web/highwaysengland/header_logo.html
new file mode 100644
index 000000000..1a7c70956
--- /dev/null
+++ b/templates/web/highwaysengland/header_logo.html
@@ -0,0 +1,2 @@
+ <a href="https://highwaysengland.co.uk/" id="site-logo">Highways England</a>
+ <a href="/" id="report-cta" title="[%- loc('Report a problem') -%]">[%- loc('Report') -%]</a>
diff --git a/templates/web/highwaysengland/header_site.html b/templates/web/highwaysengland/header_site.html
new file mode 100644
index 000000000..e1f104f14
--- /dev/null
+++ b/templates/web/highwaysengland/header_site.html
@@ -0,0 +1,14 @@
+<header id="site-header" role="banner">
+ <div class="container">
+ [% INCLUDE 'header_logo.html' %]
+ <a href="#main-nav" id="nav-link">Main Navigation</a>
+ </div>
+</header>
+
+[% IF c.req.uri.path == '/' %]
+ <div class="front-warning">
+ <div class="container">
+ Please don&rsquo;t endanger your safety to make a report to us, only do so from a safe location
+ </div>
+ </div>
+[% END %]
diff --git a/templates/web/highwaysengland/index-steps.html b/templates/web/highwaysengland/index-steps.html
new file mode 100644
index 000000000..10cb208f1
--- /dev/null
+++ b/templates/web/highwaysengland/index-steps.html
@@ -0,0 +1,13 @@
+<h2>How to report a problem</h2>
+
+<ol class="big-numbers">
+ <li>[% question %]</li>
+ <li>Locate the problem on a map of the area</li>
+ <li>Enter details of the problem</li>
+ <li>We will investigate</li>
+</ol>
+
+<section class="full-width">
+[% INCLUDE "front/stats.html" %]
+[% TRY %][% INCLUDE "front/tips.html" %][% CATCH file %][% END %]
+</section>
diff --git a/templates/web/highwaysengland/main_nav_items.html b/templates/web/highwaysengland/main_nav_items.html
new file mode 100644
index 000000000..61bc2c15e
--- /dev/null
+++ b/templates/web/highwaysengland/main_nav_items.html
@@ -0,0 +1,27 @@
+[%~ IF problem AND NOT problem.non_public ~%]
+ [%~ INCLUDE navitem uri='/report/new?longitude=' _ problem.longitude _ '&latitude=' _ problem.latitude label=loc('Report another problem here') attrs='class="report-a-problem-btn"' ~%]
+[%~ ELSIF latitude AND longitude ~%]
+ [%~ INCLUDE navitem uri='/report/new?longitude=' _ longitude _ '&latitude=' _ latitude label=loc('Report a problem here') attrs='class="report-a-problem-btn"' ~%]
+[%~ ELSE ~%]
+ [%~ INCLUDE navitem uri='/' label=loc('Report a problem') attrs='class="report-a-problem-btn"' ~%]
+[%~ END ~%]
+
+[%~ IF c.user_exists ~%]
+ [%~ INCLUDE navitem uri='/my' label=loc('Your account') ~%]
+[%~ END ~%]
+
+[%~ IF c.user_exists AND c.user.has_body_permission_to('planned_reports') ~%]
+ [%~ INCLUDE navitem always_url=1 uri='/my/planned' label=loc('Shortlist') ~%]
+[%~ END ~%]
+
+[%~ INCLUDE 'navigation/_all_reports.html' ~%]
+
+[%~ INCLUDE navitem uri='/faq' label=loc('Help') ~%]
+
+[%~ UNLESS hide_privacy_link ~%]
+ [%~ INCLUDE navitem uri=c.cobrand.privacy_policy_url label=loc('Privacy') liattrs='class="nav-menu__item--privacy"' ~%]
+[%~ END ~%]
+
+[%~ IF c.user_exists AND c.cobrand.admin_allow_user(c.user) ~%]
+ [%~ INCLUDE navitem uri='/admin' label=loc('Admin') ~%]
+[%~ END ~%]
diff --git a/templates/web/highwaysengland/report/new/_form_labels.html b/templates/web/highwaysengland/report/new/_form_labels.html
new file mode 100644
index 000000000..09d41fce9
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/_form_labels.html
@@ -0,0 +1,5 @@
+[%
+SET form_title = 'Summarise the problem and location';
+SET form_title_placeholder = 'eg ‘Obscured road sign by the northbound M1 junction 23 exit’';
+SET form_detail_placeholder = 'eg ‘This road sign has been obscured for two months and…’';
+%]
diff --git a/templates/web/highwaysengland/report/new/councils_text_all.html b/templates/web/highwaysengland/report/new/councils_text_all.html
new file mode 100644
index 000000000..58c3cfe4f
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/councils_text_all.html
@@ -0,0 +1,17 @@
+<p>
+[% category = mark_safe(category) %]
+[% UNLESS non_public_categories.$category;
+
+ tprintf(
+ 'These will be sent to us and also published online for others to see, in line with our <a href="%s">privacy policy</a>.',
+ c.cobrand.privacy_policy_url
+ );
+
+ELSE;
+
+ 'These will be sent to us but not published online.';
+
+END %]
+
+[% TRY %][% INCLUDE 'report/new/councils_extra_text.html' %][% CATCH file %][% END %]
+</p>
diff --git a/templates/web/highwaysengland/report/new/form_heading.html b/templates/web/highwaysengland/report/new/form_heading.html
new file mode 100644
index 000000000..fea1c1772
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/form_heading.html
@@ -0,0 +1,2 @@
+<h1>Report a problem on our road network</h1>
+
diff --git a/templates/web/highwaysengland/report/new/roads_message.html b/templates/web/highwaysengland/report/new/roads_message.html
new file mode 100644
index 000000000..e75a0a01b
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/roads_message.html
@@ -0,0 +1,17 @@
+<div id="js-roads-responsibility" class="box-warning hidden">
+ <div id="js-not-he-road" class="hidden js-responsibility-message">
+ <strong>Not maintained by us</strong>
+ <p>The selected location is not maintained by us.
+ Please follow this link to
+ <a class="js-update-coordinates" href="https://www.fixmystreet.com/report/new?latitude=[% latitude %]&amp;longitude=[% longitude %]">FixMyStreet</a> to continue reporting your issue.
+ </p>
+ </div>
+
+ <div id="js-not-area7-road" class="hidden js-responsibility-message">
+ <strong>This site is currently only for reports in the East Midlands</strong>
+ <p>
+ Please follow this link to
+ <a class="js-update-coordinates" href="https://www.fixmystreet.com/report/new?latitude=[% latitude %]&amp;longitude=[% longitude %]">FixMyStreet</a> to continue reporting your issue.
+ </p>
+ </div>
+</div>
diff --git a/templates/web/highwaysengland/report/new/sidebar.html b/templates/web/highwaysengland/report/new/sidebar.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/sidebar.html
diff --git a/templates/web/highwaysengland/report/new/top_message.html b/templates/web/highwaysengland/report/new/top_message.html
new file mode 100644
index 000000000..98bbd2cd3
--- /dev/null
+++ b/templates/web/highwaysengland/report/new/top_message.html
@@ -0,0 +1,5 @@
+<div class="box-warning">
+ If the issue you’re reporting is safety critical (ie a fallen sign) then do
+ not continue with this report. Please call us on <strong>0300 123
+ 5000</strong> from a safe place.
+</div>
diff --git a/templates/web/highwaysengland/report/update/form_state_checkbox.html b/templates/web/highwaysengland/report/update/form_state_checkbox.html
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/templates/web/highwaysengland/report/update/form_state_checkbox.html
diff --git a/templates/web/highwaysengland/report/updates-sidebar-notes.html b/templates/web/highwaysengland/report/updates-sidebar-notes.html
new file mode 100644
index 000000000..d73ae72e9
--- /dev/null
+++ b/templates/web/highwaysengland/report/updates-sidebar-notes.html
@@ -0,0 +1,3 @@
+<p>
+ [% tprintf( 'Your information will only be used in line with our <a href="%s">privacy policy</a>', c.cobrand.privacy_policy_url ) %]
+</p>
diff --git a/templates/web/highwaysengland/tokens/confirm_problem.html b/templates/web/highwaysengland/tokens/confirm_problem.html
new file mode 100644
index 000000000..311902b24
--- /dev/null
+++ b/templates/web/highwaysengland/tokens/confirm_problem.html
@@ -0,0 +1,21 @@
+[% INCLUDE 'header.html', bodyclass = 'fullwidthpage', title = loc('Confirmation') %]
+
+<div class="confirmation-header">
+
+ <h1><a href="[% c.cobrand.relative_url_for_report( report ) %][% report.url %]">[% report.title %]</a></h1>
+
+ <p>Thank you for submitting your report.<br>Reference: <strong>FMS[% report.id %]</strong>.</p>
+ <p>We aim to respond within 3 working days.</p>
+ <p>Please be aware that, for your privacy, we will not respond to you directly.</p>
+ <p>If you’d like to view the status of your report, or check for updates, then please visit
+ <a href="[% c.cobrand.relative_url_for_report( report ) %][% report.url %]">the report page</a>.</p>
+
+ <p class="confirmation-again">
+ <a href="/report/new?latitude=[% report.latitude %]&amp;longitude=[% report.longitude %]" class="btn btn-primary">
+ [% loc('Report another problem here') %]
+ </a>
+ </p>
+
+</div>
+
+[% INCLUDE 'footer.html' %]
diff --git a/templates/web/highwaysengland/tracking_code.html b/templates/web/highwaysengland/tracking_code.html
new file mode 100644
index 000000000..ff705d264
--- /dev/null
+++ b/templates/web/highwaysengland/tracking_code.html
@@ -0,0 +1,15 @@
+[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %]
+
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-159819528-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-159819528-1');
+</script>
+
+[% ELSE %]
+<!-- Tracking code not inserted ("[% c.config.BASE_URL %]" != "https://www.fixmystreet.com") -->
+[% END %]