diff options
author | Dave Arter <davea@mysociety.org> | 2014-07-09 11:21:08 +0100 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2014-10-16 16:55:58 +0000 |
commit | 592f4c0ba0f822b55bb242cb12768ce771599d09 (patch) | |
tree | e6ab53da2d186627868e63eef5791351bcd64c0a /perllib | |
parent | 04cd049c933047ee5b5183c0767b650789ffb902 (diff) |
[Warwickshire] cobrand work
First Warwickshire styling
- imported WCC's header and footer files
- Use Warwickshire colours for page elements
- Include FMS elements in header
- Use correct Warwickshire colours on map
- Use full-screen map on desktop.
- Improve display of homepage elements
- Ensure correct classes are added to body tag
- Make sure site header has correct height on front page
- Tidy-up of unused header content and wrappers
- Improve display of map
- Position map beneath other elements
Improve map display
- Take some CSS from Warwickshire styles to ensure its applied
- Fix container widths on map page
- Make sure map wrapper is the correct width
- Add style overrides to match Warwickshire.gov.uk
- Ensure map controls are visible
Nav and mobile styling
- Make sure sticky sidebar nav is usable
- Improve mobile front page
- Ensure map is full-screen on mobile
- Improve front page display on mobile
- Fix map display on desktop
- Fix Warwickshire and FMS nav on mobile
- Add viewport meta tag for mobile devices
- Tighten up vertical spacing on front page
- Fix header height on tablet size screens
- Set pan/zoom position in CSS, not JS
Styling tweaks
- correct styling of nav for wider screens (previous hidden by media query)
- Add draft Warwickshire FAQ
- Fixes https://github.com/mysociety/FixMyStreet-Commercial/issues/611
- Warwickshire. remove all reports link as requested.
- see https://github.com/mysociety/FixMyStreet-Commercial/issues/609
- Update WCC footer
- see https://github.com/mysociety/FixMyStreet-Commercial/issues/597
Bring WCC css locally, and override
- Override for
https://github.com/mysociety/FixMyStreet-Commercial/issues/612
- favicon
https://github.com/mysociety/FixMyStreet-Commercial/issues/616
- update contact details
- custom FAQ
- fix padding on mobile
https://github.com/mysociety/FixMyStreet-Commercial/issues/617
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Warwickshire.pm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Warwickshire.pm b/perllib/FixMyStreet/Cobrand/Warwickshire.pm new file mode 100644 index 000000000..e52188311 --- /dev/null +++ b/perllib/FixMyStreet/Cobrand/Warwickshire.pm @@ -0,0 +1,35 @@ +package FixMyStreet::Cobrand::Warwickshire; +use base 'FixMyStreet::Cobrand::UKCouncils'; + +use strict; +use warnings; + +sub council_id { return 2243; } +sub council_area { return 'Warwickshire'; } +sub council_name { return 'Warwickshire County Council'; } +sub council_url { return 'warwickshire'; } + +sub is_two_tier { return 1; } + +sub disambiguate_location { + my $self = shift; + return { + %{ $self->SUPER::disambiguate_location() }, + town => 'Warwick', + centre => '52.300638,-1.559546', + span => '0.73185,0.789867', + bounds => [ 51.955394, -1.962007, 52.687244, -1.172140 ], + }; +} + +sub example_places { + return [ 'CV34 4RL', 'Stratford Rd' ]; +} + +sub contact_email { + my $self = shift; + return join( '@', 'fmstest', 'warwickshire.gov.uk' ); +} +sub contact_name { 'Warwickshire County Council (do not reply)'; } + +1; |