aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/front
Commit message (Collapse)AuthorAgeLines
* Add offline support of static files/fallback page.Matthew Somerville2016-12-16-7/+12
| | | | | Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest.
* Factor out most inline JavaScript.Matthew Somerville2016-08-16-13/+5
| | | | | No need for a special no-map case in the filters case, as all pages now have fixmystreet.page set if needed.
* Split up modernizr/html5shiv/yepnope.Matthew Somerville2016-08-16-1/+2
| | | | | We only need html5shiv for <IE9, and we only use yepnope on the front page.
* Merge branch '1351-report-list-ajax'Matthew Somerville2016-07-11-1/+0
|\
| * Move to using pushState for new report.Zarino Zappia2016-07-11-1/+0
| | | | | | | | | | Update the URL whenever location of pin is updated (first time, drag, or reclick), make sure it works when clicking back.
* | Remove need to customise OpenLayers built script.Matthew Somerville2016-07-04-1/+1
|/ | | | | This also allows the map to work in a proxied admin. Upgrade Angus OL to master branch code.
* [fixmystreet.com] Move country lookup client side.Matthew Somerville2016-03-31-0/+0
| | | | | There's no need for the IP->country lookup, only used in JavaScript to display a banner, to require a call to the FixMyStreet server.
* Switch template plugin for nice numbers.Matthew Somerville2015-12-09-9/+8
| | | | | Template::Plugin::Number::Format works internationally, whilst Template::Plugin::Comma does not.
* Improve item list CSS.Matthew Somerville2015-10-09-1/+1
| | | | | | | | | | | | Generally, a rewrite of issue-list-a to item-list--reports or item-list--wards (two different uses) and issue-list to item-list--updates, with subsequent renames/changes to children. For those cobrands using a different list showing a pin icon, use item-list__item--with-pin to stop needing to override existing classes. Fix a variety of niggling issues e.e ward list display, or overloading of the .text class.
* [Bromley/Greenwich/Oxfordshire] Tidy overrides.Matthew Somerville2015-10-08-1/+2
| | | | | | | | | | Have the around, my, and reports pages use the same low level template for individual list items, which can then be overridden for these cobrands, meaning they no longer need to override higher level templates. The logic in 2b9178d was incorrect; fix this so that the correct information is included in those templates.
* Combine some base/fixmystreet templates.Matthew Somerville2015-10-07-0/+59
| | | | | | | | The aim is to combine base and fixmystreet as much as possible, providing enough template/styling hooks for any cobrand. This commit removes the need for separate base/fixmystreet templates for the front page, almost all of the /around templates, the open graph headers, and the low level item list templates.
* Rename 'default' web directory to 'base'.Matthew Somerville2014-07-08-0/+43
This should reduce confusion with the Default cobrand and override order.