aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/front
Commit message (Collapse)AuthorAgeLines
* Update fixmystreet.org link to https.Matthew Somerville2018-05-02-2/+2
|
* [FixaMinGata] Replace stats separators with non-breaking spacesJon Kristensen2018-04-03-3/+9
|
* Use modern prefetch.Matthew Somerville2017-11-15-12/+0
| | | | | | | | | | | | | This removes the yepnope library, instead using <link rel="prefetch"> with a polyfill (the polyfill will work on Safari but reload cached script on the front page each time). We prefetch map-related JavaScript (and other libraries only used on map pages, such as Dropzone and Fancybox) on non-map pages, and don't bother loading the validate plugin on the front page. Now the map JavaScript list is available everywhere, we can use that in the prefetch rather a hardcoded list.
* Hide things needing fixed state if no fixed state.Matthew Somerville2017-08-31-0/+2
| | | | | Front page stats, update form question, list filtering, plus do not send any questionnaires.
* Fix replaced sidebar losing hover behaviour.Matthew Somerville2017-08-17-1/+1
| | | | | If the list was replaced by JavaScript, the event handlers were being dropped. Switch the handlers to the parent that remains present.
* Simplify `footer-marketing.html` for most cobrandsZarino Zappia2017-05-23-20/+7
|
* Move third party libraries into vendor directoriesMatthew Somerville2017-05-23-2/+2
| | | | | | | | This makes the git hook that lints our own JavaScript easier, and keeps things more cleanly separated. We also remove unused third party libraries (select2 and jquery.placeholder).
* 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.