Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Improve translatability of various pages. | Dave Arter | 2017-03-30 | -3/+4 |
| | | | | | | | | | | | | | This commit makes the following parts of the site translatable: - Social login buttons - Moderation UI - Offline glitch page & offline caching UI - Dashboard It also fixes a bug in the nget parser, stops some Oxfordshire bits being translated for the moment, and brings the translation file up to date. | |||
* | Add a clear offline data button. | Matthew Somerville | 2016-12-16 | -0/+2 |
| | ||||
* | Store/show shortlisted reports offline. | Matthew Somerville | 2016-12-16 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | This: * On an online visit to /my/planned, caches all shortlisted reports, their images and static maps in localStorage, with progress banner; * When a report is added/removed from the shortlist, caches/de-caches that report; * When viewing a report page offline, shows that page from the cache if present (replacing the dynamic map with the cached static map, and replacing report images with their cached equivalents – it is a shame to duplicate, but we cannot rely on the browser cache having these images); * When viewing another page offline, shows an error message but also the list of shortlisted reports that are cached (again, replacing their thumbnail images with the cached versions). | |||
* | Add offline support of static files/fallback page. | Matthew Somerville | 2016-12-16 | -0/+8 |
Use a list to store JavaScript files, so it can be shared between the HTML footer and the appcache manifest. |