diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/header.html | 7 | ||||
-rw-r--r-- | templates/web/base/header_site.html | 6 | ||||
-rw-r--r-- | templates/web/base/report/photo.html | 4 | ||||
-rw-r--r-- | templates/web/bristol/header_extra.html | 2 | ||||
-rw-r--r-- | templates/web/bristol/tracking_code.html | 15 | ||||
-rw-r--r-- | templates/web/fixmystreet.com/footer_extra.html | 6 | ||||
-rw-r--r-- | templates/web/harrogate/footer.html | 62 | ||||
-rw-r--r-- | templates/web/harrogate/header.html | 52 | ||||
-rw-r--r-- | templates/web/harrogate/header_extra.html | 7 | ||||
-rw-r--r-- | templates/web/harrogate/header_site.html | 62 | ||||
-rw-r--r-- | templates/web/harrogate/main_menu.html | 20 | ||||
-rw-r--r-- | templates/web/warwickshire/header.html | 2 |
12 files changed, 145 insertions, 100 deletions
diff --git a/templates/web/base/header.html b/templates/web/base/header.html index edb921feb..3117b819f 100644 --- a/templates/web/base/header.html +++ b/templates/web/base/header.html @@ -48,12 +48,7 @@ <div class="wrapper"> <div class="table-cell"> - <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> + [% INCLUDE 'header_site.html' %] [% pre_container_extra %] diff --git a/templates/web/base/header_site.html b/templates/web/base/header_site.html new file mode 100644 index 000000000..6b3de541b --- /dev/null +++ b/templates/web/base/header_site.html @@ -0,0 +1,6 @@ +<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> diff --git a/templates/web/base/report/photo.html b/templates/web/base/report/photo.html index 52e6ed64a..aa82baef6 100644 --- a/templates/web/base/report/photo.html +++ b/templates/web/base/report/photo.html @@ -4,8 +4,8 @@ [% END %] [% FOR photo IN object.photos %] <div class="update-img"> - <a href="[% c.cobrand.base_url %][% photo.url_full %]" rel="fancy"> - <img alt="Photo of this report" src="[% c.cobrand.base_url %][% photo.url %]"> + <a href="[% photo.url_full %]" rel="fancy"> + <img alt="Photo of this report" src="[% photo.url %]"> <span>zoom</span></a> </div> [% END %] diff --git a/templates/web/bristol/header_extra.html b/templates/web/bristol/header_extra.html new file mode 100644 index 000000000..d03e34e1f --- /dev/null +++ b/templates/web/bristol/header_extra.html @@ -0,0 +1,2 @@ +<script src="[% start %][% version('/cobrands/fixmystreet-uk-councils/js.js') %]"></script> +[% INCLUDE 'tracking_code.html' %] diff --git a/templates/web/bristol/tracking_code.html b/templates/web/bristol/tracking_code.html new file mode 100644 index 000000000..a8fefe229 --- /dev/null +++ b/templates/web/bristol/tracking_code.html @@ -0,0 +1,15 @@ +[% IF c.config.BASE_URL == "https://www.fixmystreet.com" %] + +<script> + !function(b,r,i,s,t,o,l){b.GoogleAnalyticsObject=i;b[i]||(b[i]=function(){ + (b[i].q=b[i].q||[]).push(arguments)});b[i].l=+new Date;o=r.createElement(s); + l=r.getElementsByTagName(s)[0];o.src=t;l.parentNode.insertBefore(o,l)} + (window,document,'ga','script','https://www.google-analytics.com/analytics.js'); + + ga('create', 'UA-79501135-1', 'auto'); + ga('send', 'pageview'); +</script> + +[% ELSE %] +<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "https://www.fixmystreet.com" --> +[% END %] diff --git a/templates/web/fixmystreet.com/footer_extra.html b/templates/web/fixmystreet.com/footer_extra.html index d89910f90..f3020c016 100644 --- a/templates/web/fixmystreet.com/footer_extra.html +++ b/templates/web/fixmystreet.com/footer_extra.html @@ -47,7 +47,7 @@ <div class="col-sm-3"> <div class="mysoc-footer__donate"> <p>Your donations keep this site and others like it running</p> - <a href="https://www.mysociety.org/donate" class="mysoc-footer__donate__button">Donate now</a> + <a href="https://www.mysociety.org/donate?utm_source=fixmystreet.com&utm_content=donate+now&utm_medium=link&utm_campaign=mysoc_footer" class="mysoc-footer__donate__button">Donate now</a> </div> </div> @@ -59,7 +59,7 @@ <div class="mysoc-footer__orgs"> <p class="mysoc-footer__org"> Built by - <a href="https://www.mysociety.org" class="mysoc-footer__org__logo mysoc-footer__org__logo--mysociety">mySociety</a> + <a href="https://www.mysociety.org?utm_source=fixmystreet.com&utm_content=logo&utm_medium=link&utm_campaign=mysoc_footer" class="mysoc-footer__org__logo mysoc-footer__org__logo--mysociety">mySociety</a> </p> <p class="mysoc-footer__org"> Powered by @@ -70,7 +70,7 @@ <div class="col-sm-4"> <div class="mysoc-footer__legal"> - <p>mySociety Limited is a project of UK Citizens Online Democracy, a registered charity in England and Wales. For full details visit <a href="https://www.mysociety.org">mysociety.org</a>.</p> + <p>mySociety Limited is a project of UK Citizens Online Democracy, a registered charity in England and Wales. For full details visit <a href="https://www.mysociety.org?utm_source=fixmystreet.com&utm_content=full+legal+details&utm_medium=link&utm_campaign=mysoc_footer">mysociety.org</a>.</p> </div> </div> diff --git a/templates/web/harrogate/footer.html b/templates/web/harrogate/footer.html index a37f94a35..716068b14 100644 --- a/templates/web/harrogate/footer.html +++ b/templates/web/harrogate/footer.html @@ -1,8 +1,3 @@ - [% IF pagefooter %] - <footer role="contentinfo"> - [% INCLUDE 'front/footer-marketing.html' %] - </footer> - [% END %] </div><!-- .content role=main --> </div><!-- .container --> </div><!-- .table-cell --> @@ -10,42 +5,37 @@ <div class="nav-wrapper"> <div class="nav-wrapper-2"> <div id="main-nav" role="navigation"> - - <ul class="nav-menu nav-menu--main"> - [% selected = c.req.uri.path == '/' %] - <li><[% IF selected %]span[% ELSE %]a href="/"[% END %]> - [% loc("Report a problem") %]</[% selected == '/' ? 'span' : 'a' %]></li> - - [% selected = c.req.uri.path == '/my' %] - <li> - <[% IF selected %]span[% ELSE %]a href="/my"[% END %]> - [% c.user_exists ? loc("Your account") : loc("Sign in") %]</[% selected ? 'span' : 'a' %]></li> - - [% selected = c.req.uri.path == '/reports/Harrogate' %] - <li> - <[% IF selected %]span[% ELSE %]a href="/reports"[% END %]> - [% loc("All reports") %]</[% selected ? 'span' : 'a' %]></li> - - [% selected = c.req.uri.path == '/alert' %] - <li> - <[% IF selected %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END %]> - [% loc("Local alerts") %]</[% selected ? 'span' : 'a' %]></li> - - [% selected = c.req.uri.path == '/faq' %] - <li> - <[% IF selected %]span[% ELSE %]a href="/faq"[% END %]> - [% loc("Help") %]</[% selected ? 'span' : 'a' %]></li> - - [% selected = c.req.uri.path == '/privacy' %] - <li class="nav-menu__item--privacy"> - <[% IF selected %]span[% ELSE %]a href="/privacy"[% END %]> - [% loc("Privacy") %]</[% selected ? 'span' : 'a' %]></li> - </ul> + [% INCLUDE 'main_menu.html' extra_class = 'nav-menu--main' %] </div> </div> </div> <!-- [% INCLUDE 'debug_footer.html' %] --> </div> <!-- .wrapper --> + + [% IF pagefooter %] + <footer class="site-footer"> + <div class="container"> + <section class="site-footer__useful-links"> + <h2 class="site-footer__heading">Useful links</h2> + <ul class="site-footer__list item-list item-list--inline"> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.harrogate.gov.uk/accessibility">Accessibility</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.harrogate.gov.uk/contactus">Contact us</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.harrogate.gov.uk/feedback">Feedback</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.harrogate.gov.uk/terms">Terms of use</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.harrogate.gov.uk/cookies">Privacy and cookies</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="http://www.northyorks.gov.uk/" target="_blank">North Yorkshire County Council</a></li> + <li class="site-footer__list__item item-list__item"><a class="site-footer__link" href="https://www.gov.uk/" target="_blank">GOV.UK</a></li> + <!-- <li><a href="https://www.harrogate.gov.uk/site_map" rel="nofollow">Site map</a></li> --> + </ul> + <p class="site-footer__rights">© 2016 Harrogate Borough Council</p> + <p class="site-footer__rights-two"> + Powered by <a class="platform-logo" href="https://fixmystreet.com/about/council/">FixMyStreet for Councils</a> + </p> + </section> + </div> + </footer> + [% END %] + </body> </html> diff --git a/templates/web/harrogate/header.html b/templates/web/harrogate/header.html deleted file mode 100644 index 4c188f552..000000000 --- a/templates/web/harrogate/header.html +++ /dev/null @@ -1,52 +0,0 @@ -<!doctype html> -<!--[if IE 7]> <html class="no-js ie7 iel8" lang="[% lang_code %]"><![endif]--> -<!--[if IE 8]> <html class="no-js ie8 iel8" lang="[% lang_code %]"><![endif]--> -<!--[if IE 9]> <html class="no-js ie9" lang="[% lang_code %]"><![endif]--> -<!--[if gt IE 9]><!--><html class="no-js" lang="[% lang_code %]"><!--<![endif]--> - <head> - <meta name="viewport" content="initial-scale=1.0"> - - <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> - <meta name="HandHeldFriendly" content="true"> - <meta name="mobileoptimized" content="0"> - - [% INCLUDE 'header_opengraph.html' %] - -[% SET start = c.config.ADMIN_BASE_URL IF admin %] - - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/base.css') %]"> - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]" media="(min-width:48em)"> - [% extra_css %] - <!--[if (lt IE 9) & (!IEMobile)]> - <link rel="stylesheet" href="[% start %][% version('/cobrands/' _ c.cobrand.moniker _ '/layout.css') %]"> - <![endif]--> - - <script src="[% start %][% version('/js/modernizr.custom.js') %]" charset="utf-8"></script> - [% INCLUDE 'common_header_tags.html' %] - [% extra_js %] - - [% IF c.req.uri.host == 'osm.fixmystreet.com' %] - <link rel="canonical" href="https://www.fixmystreet.com[% c.req.uri.path_query %]"> - [% END %] - - [% PROCESS 'header_extra.html' %] - - </head> - [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %] - <body class="[% bodyclass | html IF bodyclass %]"> - - <div class="wrapper"> - <div class="table-cell"> - <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> - - [% pre_container_extra %] - - <div class="container"> - <div class="content[% " $mainclass" | html IF mainclass %]" role="main"> - - <!-- [% INCLUDE 'debug_header.html' %] --> diff --git a/templates/web/harrogate/header_extra.html b/templates/web/harrogate/header_extra.html new file mode 100644 index 000000000..9e75ea274 --- /dev/null +++ b/templates/web/harrogate/header_extra.html @@ -0,0 +1,7 @@ +<!-- Grunticon --> +<script> +!/*! grunt-grunticon Stylesheet Loader - v2.1.6 | https://github.com/filamentgroup/grunticon | (c) 2015 Scott Jehl, Filament Group, Inc. | MIT license. */ +!function(){function e(e,n,t){"use strict";var o=window.document.createElement("link"),r=n||window.document.getElementsByTagName("script")[0],a=window.document.styleSheets;return o.rel="stylesheet",o.href=e,o.media="only x",r.parentNode.insertBefore(o,r),o.onloadcssdefined=function(e){for(var n,t=0;t<a.length;t++)a[t].href&&a[t].href===o.href&&(n=!0);n?e():setTimeout(function(){o.onloadcssdefined(e)})},o.onloadcssdefined(function(){o.media=t||"all"}),o}function n(e,n){e.onload=function(){e.onload=null,n&&n.call(e)},"isApplicationInstalled"in navigator&&"onloadcssdefined"in e&&e.onloadcssdefined(n)}!function(t){var o=function(r,a){"use strict";if(r&&3===r.length){var i=t.navigator,c=t.document,s=t.Image,d=!(!c.createElementNS||!c.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect||!c.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")||t.opera&&-1===i.userAgent.indexOf("Chrome")||-1!==i.userAgent.indexOf("Series40")),l=new s;l.onerror=function(){o.method="png",o.href=r[2],e(r[2])},l.onload=function(){var t=1===l.width&&1===l.height,i=r[t&&d?0:t?1:2];t&&d?o.method="svg":t?o.method="datapng":o.method="png",o.href=i,n(e(i),a)},l.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",c.documentElement.className+=" grunticon"}};o.loadCSS=e,o.onloadCSS=n,t.grunticon=o}(this),function(e,n){"use strict";var t=n.document,o="grunticon:",r=function(e){if(t.attachEvent?"complete"===t.readyState:"loading"!==t.readyState)e();else{var n=!1;t.addEventListener("readystatechange",function(){n||(n=!0,e())},!1)}},a=function(e){return n.document.querySelector('link[href$="'+e+'"]')},i=function(e){var n,t,r,a,i,c,s={};if(n=e.sheet,!n)return s;t=n.cssRules?n.cssRules:n.rules;for(var d=0;d<t.length;d++)r=t[d].cssText,a=o+t[d].selectorText,i=r.split(");")[0].match(/US\-ASCII\,([^"']+)/),i&&i[1]&&(c=decodeURIComponent(i[1]),s[a]=c);return s},c=function(e){var n,r,a,i;a="data-grunticon-embed";for(var c in e){i=c.slice(o.length);try{n=t.querySelectorAll(i)}catch(s){continue}r=[];for(var d=0;d<n.length;d++)null!==n[d].getAttribute(a)&&r.push(n[d]);if(r.length)for(d=0;d<r.length;d++)r[d].innerHTML=e[c],r[d].style.backgroundImage="none",r[d].removeAttribute(a)}return r},s=function(n){"svg"===e.method&&r(function(){c(i(a(e.href))),"function"==typeof n&&n()})};e.embedIcons=c,e.getCSS=a,e.getIcons=i,e.ready=r,e.svgLoadedCallback=s,e.embedSVG=s}(grunticon,this)}(); +grunticon(["[% version('/cobrands/harrogate/icons/icons.data.svg.css') %]", "[% version('/cobrands/harrogate/icons/icons.data.png.css') %]", "[% version('/cobrands/harrogate/icons/icons.fallback.css') %]"], grunticon.svgLoadedCallback); +</script> +<noscript><link rel="stylesheet" href="dist/icons/icons.fallback.css"></noscript> diff --git a/templates/web/harrogate/header_site.html b/templates/web/harrogate/header_site.html new file mode 100644 index 000000000..625d40c7a --- /dev/null +++ b/templates/web/harrogate/header_site.html @@ -0,0 +1,62 @@ +<header class="site-header" id="site-header"> + <div class="container "> + <div class="site-header__identity"> + <div class="site-header__identity__logo"> + <a href="http://www.harrogate.gov.uk"> + <svg xmlns="http://www.w3.org/2000/svg" width="400" height="135" viewBox="0 0 400 135"><title>harrogate</title><path d="M9.78,105.78H20.11q4.59,0,6.87,1.64a5.65,5.65,0,0,1,2.28,4.91,5.52,5.52,0,0,1-1.09,3.44A6,6,0,0,1,25,117.84v0.09a7,7,0,0,1,4.47,2.16,6.65,6.65,0,0,1,1.57,4.6,6.41,6.41,0,0,1-2.63,5.68q-2.63,1.81-8.27,1.81H9.78V105.78Zm4.1,3.44v7.38H20a6.84,6.84,0,0,0,4-.88,3.26,3.26,0,0,0,1.2-2.83,3.08,3.08,0,0,0-1.38-2.77,7.87,7.87,0,0,0-4.24-.9H13.89Zm0,10.7v8.77h7a7.31,7.31,0,0,0,4.38-1.07,3.84,3.84,0,0,0,1.44-3.28A3.89,3.89,0,0,0,25.3,121a7.22,7.22,0,0,0-4.37-1.09h-7ZM48.2,105a14.29,14.29,0,0,1,5,.84,12.06,12.06,0,0,1,4,2.45A13,13,0,0,1,60.46,113a16.73,16.73,0,0,1,.06,11.68,13.22,13.22,0,0,1-2.9,4.56A12.12,12.12,0,0,1,53.45,132a14.14,14.14,0,0,1-5.24.93A13.83,13.83,0,0,1,43,132a12.3,12.3,0,0,1-4.27-2.85,13.13,13.13,0,0,1-2.84-4.49,15.87,15.87,0,0,1-.94-5.61,15.71,15.71,0,0,1,1-5.65,13.23,13.23,0,0,1,2.93-4.53A12.2,12.2,0,0,1,43,106,13.75,13.75,0,0,1,48.2,105Zm0,3.47A7.59,7.59,0,0,0,42,111.44a11.75,11.75,0,0,0-2.39,7.67,11.21,11.21,0,0,0,2.4,7.46,7.72,7.72,0,0,0,6.2,2.86,7.63,7.63,0,0,0,6.17-2.88,13.19,13.19,0,0,0,0-15.13A7.68,7.68,0,0,0,48.2,108.51Zm18.15-2.73H76.68q4.94,0,7.47,1.77a6,6,0,0,1,2.53,5.22,6.12,6.12,0,0,1-1.35,4.07,5.44,5.44,0,0,1-3.64,1.9l0,0.13a4.93,4.93,0,0,1,3.47,1.37,5.8,5.8,0,0,1,1,3.87v1.43a21.6,21.6,0,0,0,.32,4.54,4.28,4.28,0,0,0,1.12,2.1h-5a5,5,0,0,1-.62-1.64,13.15,13.15,0,0,1-.19-2.5s0-.27,0-0.77,0-1,0-1.49q0-3.06-.84-4t-3.26-.94H70.57v11.33H66.35V105.78h0Zm4.21,3.47v8.12H77a6.72,6.72,0,0,0,4.1-1,3.7,3.7,0,0,0,1.38-3.15A3.36,3.36,0,0,0,81,110.28a6.84,6.84,0,0,0-4.05-1H70.57ZM104,105a14.29,14.29,0,0,1,5,.84,12.06,12.06,0,0,1,4,2.45,13,13,0,0,1,3.25,4.67,16.73,16.73,0,0,1,.06,11.68,13.22,13.22,0,0,1-2.9,4.56,12.12,12.12,0,0,1-4.18,2.77A14.14,14.14,0,0,1,104,133a13.83,13.83,0,0,1-5.24-1,12.3,12.3,0,0,1-4.27-2.85,13.13,13.13,0,0,1-2.84-4.49,15.87,15.87,0,0,1-.94-5.61,15.71,15.71,0,0,1,1-5.65,13.23,13.23,0,0,1,2.93-4.53A12.2,12.2,0,0,1,98.82,106,13.75,13.75,0,0,1,104,105Zm0,3.47a7.59,7.59,0,0,0-6.17,2.93,11.75,11.75,0,0,0-2.39,7.67,11.21,11.21,0,0,0,2.4,7.46,7.72,7.72,0,0,0,6.2,2.86,7.63,7.63,0,0,0,6.17-2.88,13.19,13.19,0,0,0,0-15.13A7.68,7.68,0,0,0,104,108.51Zm18.15-2.73h4.3v15.33q0,4.59,1.59,6.44t5.41,1.84q3.76,0,5.4-1.8t1.64-6.08V105.78h4.28v16.47q0,5.5-2.76,8.1t-8.56,2.6q-5.8,0-8.55-2.6t-2.75-8.11V105.78Zm52.36,8h-4.41a7.07,7.07,0,0,0-2.52-3.94,7.18,7.18,0,0,0-4.48-1.39,7.87,7.87,0,0,0-6.35,2.86,13.27,13.27,0,0,0,0,15.28,7.78,7.78,0,0,0,6.27,2.94,7,7,0,0,0,7.29-7.09h-4.66v-3h8.9v12.69h-3.15l-0.27-4.07a8.32,8.32,0,0,1-3.49,3.65,11.36,11.36,0,0,1-5.5,1.23,12.77,12.77,0,0,1-4.29-.71,10.53,10.53,0,0,1-3.53-2.07,13.58,13.58,0,0,1-3.53-4.92,16.64,16.64,0,0,1-.59-10.91,13.13,13.13,0,0,1,2-3.93,12.59,12.59,0,0,1,4.71-4.06,14.3,14.3,0,0,1,6.35-1.35,11.67,11.67,0,0,1,7.38,2.39A10.45,10.45,0,0,1,174.5,113.81Zm5.62-8h4.27v10.7h12.47v-10.7h4.25v26.4h-4.25V120H184.39v12.18h-4.27v-26.4Zm61.76,8h-4.7a6.71,6.71,0,0,0-2.41-3.8,7,7,0,0,0-4.37-1.36,8.1,8.1,0,0,0-6.45,2.88,11.15,11.15,0,0,0-2.48,7.53,10.86,10.86,0,0,0,2.48,7.42,8.17,8.17,0,0,0,6.45,2.83,7.23,7.23,0,0,0,4.77-1.56,6.15,6.15,0,0,0,2.19-4.21h4.74a10.47,10.47,0,0,1-3.91,6.9,13,13,0,0,1-8.2,2.49,12.65,12.65,0,0,1-9.64-3.86q-3.65-3.86-3.65-10.21a15.48,15.48,0,0,1,1-5.46,13.51,13.51,0,0,1,2.75-4.5,11.29,11.29,0,0,1,4.25-2.86,15,15,0,0,1,5.53-1,12.5,12.5,0,0,1,7.7,2.26A10.79,10.79,0,0,1,241.88,113.77Zm16.8-8.73a14.28,14.28,0,0,1,5,.84,12.06,12.06,0,0,1,4,2.45,13,13,0,0,1,3.25,4.67,16.72,16.72,0,0,1,.06,11.68,13.21,13.21,0,0,1-2.9,4.56,12.1,12.1,0,0,1-4.18,2.77,14.13,14.13,0,0,1-5.24.93,13.83,13.83,0,0,1-5.24-1,12.31,12.31,0,0,1-4.27-2.85,13.13,13.13,0,0,1-2.84-4.49,15.87,15.87,0,0,1-.94-5.61,15.71,15.71,0,0,1,1-5.65,13.23,13.23,0,0,1,2.93-4.53A12.22,12.22,0,0,1,253.5,106,13.75,13.75,0,0,1,258.67,105Zm0,3.47a7.59,7.59,0,0,0-6.16,2.93,11.75,11.75,0,0,0-2.39,7.67,11.21,11.21,0,0,0,2.4,7.46,7.72,7.72,0,0,0,6.2,2.86,7.63,7.63,0,0,0,6.17-2.88,13.18,13.18,0,0,0,0-15.13A7.68,7.68,0,0,0,258.67,108.51Zm18.15-2.73h4.3v15.33q0,4.59,1.59,6.44t5.4,1.84q3.76,0,5.4-1.8t1.64-6.08V105.78h4.28v16.47q0,5.5-2.76,8.1t-8.56,2.6q-5.8,0-8.55-2.6t-2.75-8.11V105.78h0Zm28.76,0H311l13.4,20.88,0.11-.11V105.78h4.23v26.4h-5.4L309.89,111l-0.2,0,0.11,21.13h-4.21v-26.4h0Zm53.1,8H354a6.71,6.71,0,0,0-2.41-3.8,7,7,0,0,0-4.36-1.36,8.1,8.1,0,0,0-6.45,2.88,11.15,11.15,0,0,0-2.48,7.53,10.86,10.86,0,0,0,2.48,7.42,8.17,8.17,0,0,0,6.45,2.83,7.23,7.23,0,0,0,4.77-1.56,6.15,6.15,0,0,0,2.19-4.21h4.74a10.47,10.47,0,0,1-3.91,6.9,13,13,0,0,1-8.2,2.49,12.65,12.65,0,0,1-9.64-3.86q-3.65-3.86-3.65-10.21a15.48,15.48,0,0,1,1-5.46,13.52,13.52,0,0,1,2.75-4.5,11.29,11.29,0,0,1,4.25-2.86,15,15,0,0,1,5.53-1,12.5,12.5,0,0,1,7.7,2.26A10.8,10.8,0,0,1,358.68,113.77Zm5-8h4.41v26.4h-4.41v-26.4Zm10.85,0h4.41v22.87h13.18v3.52H374.52V105.78ZM9.08,3.21h9.65V27.42H46.95V3.21h9.61V62.92H46.95V35.35H18.73V62.92H9.08V3.21Zm94.3,35.33V52.61a33.61,33.61,0,0,0,.43,5.62,21.73,21.73,0,0,0,1.33,4.68H95.86a24.19,24.19,0,0,1-.57-2.84Q95.08,58.62,95,57a20.62,20.62,0,0,1-6.58,5.71,16.92,16.92,0,0,1-7.89,1.82q-6.34,0-10.12-3.48a12,12,0,0,1-3.78-9.24,12.4,12.4,0,0,1,.78-4.48,10.17,10.17,0,0,1,2.33-3.58q3.23-3.19,14.8-4.37l2.17-.25q4.29-.45,6.09-1.7a4.17,4.17,0,0,0,1.8-3.66,4.56,4.56,0,0,0-2.21-3.95,10.44,10.44,0,0,0-5.93-1.49A11.27,11.27,0,0,0,80,30a6.67,6.67,0,0,0-2.94,4.64h-9a13.73,13.73,0,0,1,5.79-9.18q4.56-3,12.37-3,9.24,0,13.21,3.72T103.38,38.54Zm-8.63,2.25Q92.71,43,86,44.31l-2.17.45q-4.58,1-6.4,2.58a5.61,5.61,0,0,0-1.82,4.46,6.16,6.16,0,0,0,2,4.85,7.94,7.94,0,0,0,5.48,1.82q5.77,0,8.75-3.58t3-10.57q0-1-.16-3.27V40.79Zm47.32-18.4V31.1l-0.29,0q-2-.12-2.86-0.12-7,0-10.45,3.76T125,46.07V62.92h-8.79V24H125v7.77a18.46,18.46,0,0,1,6.65-7.09,18.63,18.63,0,0,1,9.51-2.27h0.9Zm33,0V31.1l-0.29,0q-2-.12-2.86-0.12-7,0-10.45,3.76T158,46.07V62.92h-8.79V24H158v7.77a18.46,18.46,0,0,1,6.65-7.09,18.63,18.63,0,0,1,9.51-2.27h0.9Zm23.07,0q9.41,0,15.07,5.77t5.66,15.33q0,9.45-5.68,15.23t-15,5.79q-9.45,0-15.11-5.75t-5.66-15.27q0-9.53,5.68-15.31T198.14,22.39Zm0,6.63a9.75,9.75,0,0,0-8.16,3.9q-3,3.91-3,10.65t3,10.49a10.66,10.66,0,0,0,16.36,0q3-3.82,3-10.49t-3-10.67A9.82,9.82,0,0,0,198.14,29Zm40,40a6.17,6.17,0,0,0,2.54,4.44,10.2,10.2,0,0,0,5.93,1.49q4.5,0,6.77-2.64t2.27-7.75v-7.2a15.14,15.14,0,0,1-5.6,5.48,16,16,0,0,1-7.77,1.8,15.33,15.33,0,0,1-12.39-5.93Q225,52.73,225,43.49t4.89-15.11a15.14,15.14,0,0,1,12.21-6,15.56,15.56,0,0,1,8.34,2.13,14,14,0,0,1,5.36,6.42l-0.16-7h8.87V63q0,9-4.89,13.6T245,81.15q-7.93,0-12.31-3.09a12.17,12.17,0,0,1-5-9.14Zm7-39.63a9.26,9.26,0,0,0-7.69,4q-3,4-3,10.39t3,10.28A9.37,9.37,0,0,0,245.25,58,9.07,9.07,0,0,0,252.88,54q2.92-3.95,2.92-10.37t-2.92-10.41A9.18,9.18,0,0,0,245.17,29.34Zm65.35,9.2V52.61a33.6,33.6,0,0,0,.43,5.62,21.68,21.68,0,0,0,1.33,4.68H303a24.18,24.18,0,0,1-.57-2.84q-0.21-1.45-.29-3.09a20.6,20.6,0,0,1-6.58,5.71,16.92,16.92,0,0,1-7.89,1.82q-6.34,0-10.12-3.48a12,12,0,0,1-3.78-9.24,12.42,12.42,0,0,1,.78-4.48,10.17,10.17,0,0,1,2.33-3.58q3.23-3.19,14.8-4.37l2.17-.25q4.29-.45,6.09-1.7a4.17,4.17,0,0,0,1.8-3.66,4.56,4.56,0,0,0-2.21-3.95,10.44,10.44,0,0,0-5.93-1.49A11.27,11.27,0,0,0,287.17,30a6.67,6.67,0,0,0-2.94,4.64h-9A13.73,13.73,0,0,1,281,25.44q4.56-3,12.37-3,9.24,0,13.21,3.72T310.52,38.54Zm-8.63,2.25q-2,2.21-8.71,3.52l-2.17.45q-4.58,1-6.4,2.58a5.61,5.61,0,0,0-1.82,4.46,6.17,6.17,0,0,0,2,4.85,7.94,7.94,0,0,0,5.48,1.82q5.77,0,8.75-3.58t3-10.57q0-1-.16-3.27V40.79h0Zm24.46-29.4h8.79V24h9.57v6.5h-9.57V48.93q0,5.44.94,6.91a3.76,3.76,0,0,0,3.44,1.47,8.56,8.56,0,0,0,2.06-.31,25.57,25.57,0,0,0,2.88-1v7A36.64,36.64,0,0,1,340,64.12a22.09,22.09,0,0,1-3.9.39q-5.52,0-7.63-2.62t-2.11-10.71V30.49h-5.52V24h5.52V11.39h0Zm66,34H360.62q0.33,6,3.62,9.32A11.92,11.92,0,0,0,373.09,58a11.71,11.71,0,0,0,6.09-1.55,10,10,0,0,0,4-4.37H392a17.19,17.19,0,0,1-6.81,9.14,20.39,20.39,0,0,1-11.63,3.25q-10.14,0-16-5.66t-5.85-15.36q0-9.41,5.7-15.25t15-5.85q9.45,0,14.68,5.6t5.23,15.83v1.59Zm-9.12-6a13,13,0,0,0-3.52-8.2,10.68,10.68,0,0,0-7.81-2.88,10.5,10.5,0,0,0-7.52,3,14.23,14.23,0,0,0-4,8.12h22.86Z" fill="#010101"></path><path d="M391.61,92.16c-20.74,4.32-75.5-.16-138.92-5.34C157.76,79.07,50.16,70.27,10.47,86.5l-0.31.13V99.7l0.68-.28C52.71,82.19,186,89.94,283.38,95.59c55.82,3.24,99.9,5.8,108.5,2.57l0.32-.12V92Z" fill="#1768b3"></path></svg> + <span class="site-header__identity__heading visually-hidden">Harrogate Borough Council</span> + </a> + </div> + </div> + + <div class="site-header__toggles"> + <a class="site-header__toggle site-header__toggle--menu icon icon-hamburger-menu2" href="#"><span class="visually-hidden">Menu</span></a> + <a class="site-header__toggle site-header__toggle--search icon icon-magnifying-glass-white" href="#"><span class="visually-hidden">Search</span></a> + </div> + + <div class="site-header__right-info"> + <div class="site-header__readspeak"> + </div> + <div class="site-header__tasks site-header__tasks-nav"> + <div class="site-header__right-one site-header__tasks__transactions"> + <ul class="site-header__links item-list item-list--inline"> + <li class="item-list__item"><a href="http://www.harrogate.gov.uk/events">What's on</a></li> + <li class="item-list__item"><a href="http://www.harrogate.gov.uk/news">News</a></li> + <li class="item-list__item"><a href="http://www.harrogate.gov.uk/site/scripts/az_index.php">A-Z</a></li> + <li class="item-list__item"><a href="http://www.harrogate.gov.uk/site/scripts/user_settings.php">Accessibility</a></li> + [%# <li class="item-list__item"><a href="https://my.harrogate.gov.uk/">Sign in/Register</a></li> %] + </ul> + </div> + </div> + <div class="site-header__right-two"> + <ul class="site-header__links item-list item-list--inline"> + <li class="item-list__item"><a href="https://my.harrogate.gov.uk/MyServices"><i class="icon icon-arrow"></i> <span>Forms</span></a></li> + <li class="item-list__item"><a href="https://www.harrogate.gov.uk/payments"><i class="icon icon-arrow"></i> <span>Payments</span></a></li> + <li class="item-list__item"><a href="https://www.harrogate.gov.uk/a_to_z" class="show-hide-link" id="navigation"><i class="icon icon-hamburger-menu"></i> <span>Council services</span></a></li> + </ul> + </div> + </div> + <a href="/" id="report-cta" title="[%- loc('Report a problem') -%]">[%- loc('Report') -%]</a> + <a href="#main-nav" id="nav-link">Main Navigation</a> + </div> + <div class="site-header__tasks__search-outer"> + <div class="site-header__search"> + <div class="container"> + <form class="site-header__tasks__search site-search form" action="http://www.harrogate.gov.uk/site/scripts/google_results.php" method="get"> + <div class="form__control form__control--append--wide"> + <label class="form__label" for="search-site">Keyword search</label> + <div class="form__control--append__group"> + <input class="form__field" type="search" size="18" maxlength="40" name="q" placeholder="Keyword search e.g. council tax, planning permission..." id="search-site"> + <button class="button button--primary" type="submit"><span class="visually-hidden">Search</span> <i data-grunticon-embed="" class="icon icon-magnifying-glass"></i></button> + </div> + </div> + </form> + </div> + </div> + </div> + <div class="site-header__tasks__fms-nav"> + <div class="container"> + [% INCLUDE 'main_menu.html' extra_class = 'nav-menu--header' %] + </div> + </div> + </header>
\ No newline at end of file diff --git a/templates/web/harrogate/main_menu.html b/templates/web/harrogate/main_menu.html new file mode 100644 index 000000000..4e27c7a97 --- /dev/null +++ b/templates/web/harrogate/main_menu.html @@ -0,0 +1,20 @@ +<ul class="nav-menu [% extra_class %]"> + <li><[% IF c.req.uri.path == '/' + %]span[% ELSE %]a href="/"[% END %] class="report-a-problem-btn" + >[% loc("Report a problem") %]</[% c.req.uri.path == '/' ? 'span' : 'a' %]></li>[% + %]<li><[% IF c.req.uri.path == '/my' + %]span[% ELSE %]a href="/my"[% END + %]>[% c.user_exists ? loc("Your account") : loc("Sign in") %]</[% c.req.uri.path == '/my' ? 'span' : 'a' %]></li>[% + %]<li><[% IF c.req.uri.path == '/reports/Harrogate' + %]span[% ELSE %]a href="/reports/Harrogate"[% END + %]>[% loc("All reports") %]</[% c.req.uri.path == '/reports/Harrogate' ? 'span' : 'a' %]></li>[% + %]<li><[% IF c.req.uri.path == '/alert' + %]span[% ELSE %]a href="/alert[% pc ? '/list?pc=' : '' %][% pc | uri %]"[% END + %]>[% loc("Local alerts") %]</[% c.req.uri.path == '/alert' ? 'span' : 'a' %]></li>[% + %]<li><[% IF c.req.uri.path == '/faq' + %]span[% ELSE %]a href="/faq"[% END + %]>[% loc("Help") %]</[% c.req.uri.path == '/faq' ? 'span' : 'a' %]></li>[% + %]<li class="nav-menu__item--privacy"><[% IF c.req.uri.path == '/privacy' + %]span[% ELSE %]a href="/privacy"[% END + %]>[% loc("Privacy") %]</[% c.req.uri.path == '/privacy' ? 'span' : 'a' %]></li> +</ul> diff --git a/templates/web/warwickshire/header.html b/templates/web/warwickshire/header.html index cb6917234..4877e9a7c 100644 --- a/templates/web/warwickshire/header.html +++ b/templates/web/warwickshire/header.html @@ -36,7 +36,7 @@ [% TRY %][% PROCESS 'set_body_class.html' %][% CATCH file %][% END %] <body class="style-1 [% bodyclass | html IF bodyclass %]"> <div id="beta-label" style="position:fixed; top:0; left:0; z-index:1059"> - <img src="http://geofs.warwickshire.gov.uk/wp-content/themes/fullscreen-maps/images/beta.png"> + <img alt="" src="https://news.warwickshire.gov.uk/wp-content/themes/fullscreen-maps/images/beta.png"> </div> <!--[if lt IE 7]> <div class="alert alert-error"><strong>You are using an outdated browser</strong>. You may want to <a href="//browsehappy.com/">upgrade your browser</a> to improve your experience.</div> |