| Commit message (Collapse) | Author | Age | Lines |
... | |
| |
|
|
|
|
|
| |
No need for a special no-map case in the filters case, as all pages now
have fixmystreet.page set if needed.
|
| |
|
| |
|
|
|
|
|
| |
We only need html5shiv for <IE9, and we only use yepnope on the front
page.
|
|
|
|
|
| |
Otherwise subsequent report views set the Back link to a report URI, so
clicking it goes back to the list but with an incorrect address.
|
|
|
|
|
| |
Problems nearby should load the /around page from those pages, rather
than act like "Back to all reports" but changing to an incorrect URL.
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows users who have the correct permissions to add reports on
behalf of the body or another user.
We enable editing of the email box by default, so that if JavaScript
isn't available, someone can still change the email for the 'another
user' option.
For mysociety/fixmystreetforcouncils#10 and
mysociety/fixmystreetforcouncils#11
|
|
|
|
|
|
| |
Temporarily removes the councils page as the information was out of date.
Replaces it with a holding page. New page is on the way.
|
| |
|
|
|
|
| |
Email themes for Oxfordshire, Bromley, Warwickshire, and Greenwich.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Design is all Zarino. This adds the ability to send HTML emails,
including attached inline images. When included, this is done as a
multipart/related email containing a multipart/alternative (of plain and
HTML) and any attached images, so that the images are available even if
HTML mail is not.
The alert emails list data has been improved so it can be constructed in
the templates rather than the code. Various templates have been tidied.
Various workarounds for email clients have been made, including:
* <th> is used so that the Android 4.x mail client can give them
`block` styling in the small screen media query.
* Font settings defined on every table cell (<th>) so that sans-serif
fonts are used in Outlook, rather than Times New Roman.
* A three-column wrapper table to create a 620px centred content area
that also shrinks down on narrow screens. (Outlook doesn’t like
max-width, so this is the simplest alternative.)
* Enforcing a sensible (500px) min-width for the main content area,
on clients that don’t support media queries (eg: native Gmail app).
* Giant borders on buttons so Outlook displays them
* Image alignment with align rather than float.
|
| |
|
|
|
|
| |
pushState stores the title at the time for e.g. the Back dropdown.
|
|
|
|
|
| |
This is so form valdation and the 'log in by email' button are set up
appropriately if pulled in via JavaScript.
|
| |
|
|
|
|
|
| |
Have 'Get updates' displaying correctly on a report page again,
fix some navigational problems.
|
|
|
|
|
|
| |
Record the original page we're at, so that when we go back to it,
we go back to the right one (the only difference between /around
and /reports being the full screen map of /around).
|
| |
|
|
|
|
|
| |
This prevents scrolling when we're on the full screen map, and makes
sure the map is back in view when it is shown.
|
|
|
|
|
| |
Some older browers will fire a popstate event at page load, which can
cause an issue if we assume it's only fired due to a history event.
|
|
|
|
|
|
|
| |
Don't stringify pin problem ID, as get_marker_by_id assumes it will be
an integer; only activate the bounding box strategy if it exists; make
sure a refresh of the markers happens when going back to the list; set
the Back link on a pulled-in report to the current URL.
|
|
|
|
| |
Use $.each rather than .forEach.
|
|\ |
|
| |
| |
| |
| |
| | |
Having them as SDK-included buttons causes issues with the ajax
report pull-ins, plus Firefox doesn't like them being hidden.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, pressing the mobile menu icon would change the location
hash, which fired a history popstate event with an empty state object,
causing trouble for our map page JavaScript.
Now, pressing the mobile menu icon triggers a pushState, instead of
changing the location hash. This means our map page popstate logic is
unaffected, but mobile users can still use their browser's Back button
to escape out of the mobile menu.
|
| |
| |
| |
| |
| | |
Update the URL whenever location of pin is updated (first time, drag, or
reclick), make sure it works when clicking back.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Include URL changing, using history.pushState.
Show a larger marker icon for the selected report.
Make sure title is updated, and correct sub_map_links are shown.
The /report/new template is now wrapped in a <div id="side-form">
rather than <div id="side"> for consistency with the /around page,
which keeps display_all_reports_in_area() simpler, because it can
always assume "#side" means "list of reports".
|
| |
| |
| |
| |
| | |
On mobile, the notes in `#report-a-problem-sidebar` are hidden by
default, and can be toggled using the `.rap-notes-trigger`.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Split big functions into smaller more descriptive ones.
|
| | |
|
| |
| |
| |
| | |
For mysociety/FixMyStreet-Commercial#773.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use new `getLocation95` method for geocoding addresses
- Replace Coordinates::CH1903 with Coordinates::CH1903Plus
- Refactor Map::Zurich to use WMTSBase instead of duplicating code
- Slightly refactor map templates to make using custom WMTS tiles easier
- Use correct sizes for marker pins on maps
Closes mysociety/FixMyStreet-Commercial#769.
Closes mysociety/FixMyStreet-Commercial#768.
|
| | |
|
| |
| |
| |
| |
| | |
This also allows the map to work in a proxied admin.
Upgrade Angus OL to master branch code.
|
| |
| |
| |
| |
| | |
Tidy up use of absolute URLs when in the admin.
Have the 404 handler spot static files in admin as a fallback.
|
|/
|
|
|
| |
No need for this to be generated via a template, it only differs
occasionally by cobrand.
|
|\ |
|
| |
| |
| |
| |
| | |
Show map, break into two columns, fix display of sent time after
clicking "Mark as sent", tidy up labels.
|
| |
| |
| |
| | |
Closes mysociety/FixMyStreet-Commercial#779
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`.form-box--logged-in-name` has no preceding heading, which meant the
grey box background was colliding with whatever content happened to go
before it.
We add some margin, and while we’re at it, remove the extra margin-top
on first-child labels (unnecessary, since .form-boxes have their own
padding) and tidy up the syntax of the .form-box rule set.
Fixes #1418.
|
|/
|
|
|
|
|
| |
Fixes #1419.
We also standardize on using `@include box-shadow()` where possible,
and clearing out lots of now unnecessary box-shadow resets.
|
|
|
|
| |
Add missing class on updates.
|
|
|
|
|
|
| |
Include a patch file, applied to Dropzone as of version e524e03c, that
also includes our previous Opera patch from 445e9a3d. The new minified
file is our cut-down exif.js plus the patched dropzone.js.
|