diff options
author | Dave Arter <davea@mysociety.org> | 2018-05-25 14:30:24 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-08-17 09:43:36 +0100 |
commit | 85f60fef68b3be977a4b8b1dac5ab588144da395 (patch) | |
tree | 9bc24383a91a4afb59780e6fd63a3473af31a650 /templates | |
parent | e2b06dc7f1f44fe12423f7612debaad164933c46 (diff) |
[Lincolnshire] Add cobrand templates & styles
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/lincolnshire/footer.html | 23 | ||||
-rw-r--r-- | templates/web/lincolnshire/front/footer-marketing.html | 0 | ||||
-rw-r--r-- | templates/web/lincolnshire/header_extra.html | 5 | ||||
-rw-r--r-- | templates/web/lincolnshire/header_site.html | 8 | ||||
-rw-r--r-- | templates/web/lincolnshire/report/new/top_message.html | 0 | ||||
-rw-r--r-- | templates/web/lincolnshire/tracking_code.html | 17 |
6 files changed, 53 insertions, 0 deletions
diff --git a/templates/web/lincolnshire/footer.html b/templates/web/lincolnshire/footer.html new file mode 100644 index 000000000..69ab0b51e --- /dev/null +++ b/templates/web/lincolnshire/footer.html @@ -0,0 +1,23 @@ + </div><!-- .content role=main --> + </div><!-- .container --> + </div><!-- .table-cell --> + + <div class="nav-wrapper"> + <div class="container"> + [% INCLUDE "main_nav.html" body_name=c.cobrand.council_area %] + </div> + </div> + </div> <!-- .wrapper --> + + [% IF pagefooter %] + <div> + <footer role="contentinfo"> + [% INCLUDE 'front/footer-marketing.html' %] + </footer> + </div> + [% END %] + + [% INCLUDE 'common_footer_tags.html' %] + +</body> +</html> diff --git a/templates/web/lincolnshire/front/footer-marketing.html b/templates/web/lincolnshire/front/footer-marketing.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/lincolnshire/front/footer-marketing.html diff --git a/templates/web/lincolnshire/header_extra.html b/templates/web/lincolnshire/header_extra.html new file mode 100644 index 000000000..8addc12e1 --- /dev/null +++ b/templates/web/lincolnshire/header_extra.html @@ -0,0 +1,5 @@ +<link href="https://fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet"> + +<link rel="shortcut icon" href="/cobrands/lincolnshire/favicon.ico" /> + +[% INCLUDE 'tracking_code.html' %] diff --git a/templates/web/lincolnshire/header_site.html b/templates/web/lincolnshire/header_site.html new file mode 100644 index 000000000..ad49161f4 --- /dev/null +++ b/templates/web/lincolnshire/header_site.html @@ -0,0 +1,8 @@ +<header id="site-header" role="banner"> + <div class="container"> + <a href="/" id="site-logo">Lincolnshire County Council</a> + <a href="/" id="report-cta" title="Report a problem">Report</a> + + <a href="#main-nav" id="nav-link">Main Navigation</a> + </div> +</header>
\ No newline at end of file diff --git a/templates/web/lincolnshire/report/new/top_message.html b/templates/web/lincolnshire/report/new/top_message.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/lincolnshire/report/new/top_message.html diff --git a/templates/web/lincolnshire/tracking_code.html b/templates/web/lincolnshire/tracking_code.html new file mode 100644 index 000000000..42d88a817 --- /dev/null +++ b/templates/web/lincolnshire/tracking_code.html @@ -0,0 +1,17 @@ +[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %] + +<!-- Google Tag Manager --> +<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': +new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], +j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= +'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); +})(window,document,'script','dataLayer','GTM-MP7MF9');</script> +<!-- End Google Tag Manager --> + +<!-- Google Tag Manager (noscript) --> +<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MP7MF9" +height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> +<!-- End Google Tag Manager (noscript) --> +[% ELSE %] +<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "https://www.fixmystreet.com" --> +[% END %] |