diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-11-11 10:17:06 +0000 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-11-11 10:37:44 +0000 |
commit | 6160718a99b16657228393535b32b4610ab70cd6 (patch) | |
tree | fc75fab38f43dd4bcc07fd4c1bb92c7933c12646 | |
parent | 5e2f1b3509391f891955db8b8fe05dbf40b7a041 (diff) |
[Bromley] Remove service buttons, change logos.
-rw-r--r-- | templates/web/base/waste/bin_days.html | 4 | ||||
-rw-r--r-- | templates/web/bromley/footer.html | 1 | ||||
-rw-r--r-- | templates/web/bromley/header_logo.html | 6 | ||||
-rw-r--r-- | templates/web/bromley/report/_updates_disallowed_message.html | 1 | ||||
-rw-r--r-- | web/cobrands/bromley/base.scss | 5 | ||||
-rw-r--r-- | web/cobrands/bromley/images/waste.png | bin | 0 -> 42227 bytes | |||
-rw-r--r-- | web/cobrands/bromley/layout.scss | 5 |
7 files changed, 17 insertions, 5 deletions
diff --git a/templates/web/base/waste/bin_days.html b/templates/web/base/waste/bin_days.html index 9ca8c0a7f..bba894ae1 100644 --- a/templates/web/base/waste/bin_days.html +++ b/templates/web/base/waste/bin_days.html @@ -61,9 +61,7 @@ [% END %] </dl> - <p class="waste-panel-toggle hidden-nojs"><a data-toggle-visibility="#panel-[% unit.service_id %]" class="waste-service-name-link govuk-button govuk-button--secondary">[% unit.service_name %] services</a></p> - - <div class="waste-services-launch-panel hidden-js" id="panel-[% unit.service_id %]"> + <div class="waste-services-launch-panel" id="panel-[% unit.service_id %]"> [% PROCESS waste/services.html %] </div> </div> diff --git a/templates/web/bromley/footer.html b/templates/web/bromley/footer.html index 47ffc4161..5aac635b3 100644 --- a/templates/web/bromley/footer.html +++ b/templates/web/bromley/footer.html @@ -6,7 +6,6 @@ <div class="bromley-waste-credits"> <p>Powered by</p> <p> - <a href="https://www.veolia.co.uk">Veolia</a> <a href="https://www.societyworks.org/services/waste/">SocietyWorks</a> </p> </div> diff --git a/templates/web/bromley/header_logo.html b/templates/web/bromley/header_logo.html index b86960af3..2159dc5d3 100644 --- a/templates/web/bromley/header_logo.html +++ b/templates/web/bromley/header_logo.html @@ -1,5 +1,11 @@ <div class="bromley-header clearfix"> +[% IF bodyclass == 'waste' %] + <a href="https://www.bromley.gov.uk/" id="site-logo"> + <img src="/cobrands/bromley/images/waste.png" alt="Bromley Council"> + </a> +[% ELSE %] <a href="https://www.bromley.gov.uk/" id="site-logo">[% site_name %]</a> +[% END %] <ul class="linear-links subtext float-right top-links"> <li class="first-child"><i class="fa fa-home"></i><a href="https://www.bromley.gov.uk">Home</a></li> diff --git a/templates/web/bromley/report/_updates_disallowed_message.html b/templates/web/bromley/report/_updates_disallowed_message.html index 904846004..059b92494 100644 --- a/templates/web/bromley/report/_updates_disallowed_message.html +++ b/templates/web/bromley/report/_updates_disallowed_message.html @@ -8,7 +8,6 @@ <div class="bromley-waste-credits"> <p>Powered by</p> <p> - <a href="https://www.veolia.co.uk">Veolia</a> <a href="https://www.societyworks.org/services/waste/">SocietyWorks</a> </p> </div> diff --git a/web/cobrands/bromley/base.scss b/web/cobrands/bromley/base.scss index e37b2e0fe..abb93d30b 100644 --- a/web/cobrands/bromley/base.scss +++ b/web/cobrands/bromley/base.scss @@ -14,6 +14,11 @@ text-indent: -999999px; z-index:2; } +body.waste #site-logo { + width: 129px; + background: none; + text-indent: 0; +} #nav-link { top: 7px; diff --git a/web/cobrands/bromley/images/waste.png b/web/cobrands/bromley/images/waste.png Binary files differnew file mode 100644 index 000000000..3ffef5ccb --- /dev/null +++ b/web/cobrands/bromley/images/waste.png diff --git a/web/cobrands/bromley/layout.scss b/web/cobrands/bromley/layout.scss index c802a2dd9..dc4c361ab 100644 --- a/web/cobrands/bromley/layout.scss +++ b/web/cobrands/bromley/layout.scss @@ -11,6 +11,11 @@ body.fullwidthpage, body.twothirdswidthpage, body.authpage { float: left; } } +body.waste #site-logo { + width: 334px; + height: 114px; + float: left; +} body.mappage { .bromley-header { |