| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Ran it through convert -sampling-factor 4:2:0 -quality 85 -strip.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Replace `.button-fwd` and `.button-back` with `button--*` classes to
match the existing button styles. And combine the various button icons
into a single sprite file.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Buttons in #key-tools now get their icons from a single sprite,
and have less overpowered selectors. Moving to a pseudo-element
approach meant we could cut out some complex padding/background
stuff, but also meant we needed to switch to <button> elements
rather than <input> elements for the "Remove from site" action.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Move the logos for FixaMinGata and FiksGataMi into their own files (like
most cobrands do) so we can remove their forked copies of `sprite.png`.
Part of #1888.
|
| | |
|
| |
| |
| |
| |
| | |
The changes in 6c6ae623 meant that the link was now being caught
by the `js=1` filter and the redirect failed with two `?`.
|
|\ \ |
|
| |/ |
|
|/
|
|
| |
Fixes mysociety/fixmystreet-commercial#927.
|
|\ |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
When there are lots of reports on a site, the big numbers on the
homepage would overflow the grid and look messy. This was particularly
noticeable on the fixmystreet.com homepage on 768–1024px screens.
We now scale up the font size more gradually, as the container widens,
and the maximum font size (3em) is slightly lower than before.
Fixes #1722.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Rather than include the mobile logo as a base64-encoded data URI, we
include it as an SVG, inlined on the homepage or in the CSS. The SVG
should gzip better, and will work better with the critical CSS work,
allowing the site logo to appear immediately on page load for mobile
visitors, rather than waiting for the full stylesheet to download.
Fixes #1887.
|
| |
| |
| |
| |
| | |
If the browser doesn't support SVG, they're not going to care about
high-dpi images.
|
|/
|
|
|
|
|
|
|
|
| |
Add a `prefill_report_fields_for_inspectors` config to cobrands,
defaulted to 0, to control the automatic pre-population of report
fields.
Also add default of 1 for UKCouncil cobrand.
Fixed #1854
|
|
|
|
| |
1b15964a doubled the pin icon images.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
/around will now show all reports all the time, but we are about to
introduce pagination to stop that.
|
| |
| |
| |
| |
| | |
Both /reports and /my work by using the same URL with ajax=1. We should
use the same on /around for consistency.
|
|/ |
|
|\ |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
Make sure that all relevant options in the filter status drop down are
checked to handle staff users who can see the full set of states and not
just open, closed and fixed
Also restore custom label for no states checked.
Fixes mysociety/forcouncils#227
|
|
|
|
|
| |
Any map bar the already-full-screen /around map could benefit from
the expand map option, especially the list of your reports.
|
|
|
|
|
|
| |
A full modal made it hard to perform multiple zooms/pans, making
the site slower to use than necessary. Tell the user the site is
updating, but let them interact with the map at the same time.
|
|
|
|
|
|
| |
This expands the 'change email' functionality to work with phone
number also, allow addition of missing details, and verifying of
unverified details.
|
| |
|
|
|
|
| |
A confirmation code is sent via Twilio to be entered on the site.
|
| |
|
|
|
|
|
| |
web/cobrands/fixmystreet/images/sprite.png is loaded by most cobrands.
Optimising it reduced the filesize from 97 KB to 36 KB.
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#920.
|