| Commit message (Collapse) | Author | Age | Lines |
... | |
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|
|
|
|
|
|
|
|
| |
This refactors the Map::Zurich module into something that makes it easier
to use custom map tiles for a cobrand.
This also includes some refactoring of the JS & map templates
to make it easier to use a custom WMTS base map in future
cobrands.
|
|
|
|
| |
For mysociety/FixMyStreet-Commercial#766.
|
|\ |
|
| |
| |
| |
| |
| | |
.tablewrapper was sometimes losing its background,
it needs to be given hasLayout.
|
| |
| |
| |
| |
| |
| | |
Document the couple that are left, and fix the display of the logo
with a simpler positioning/ less overriding. Drop a needless usage
of 'rem' to make things a bit easier there too.
|
| | |
|
| | |
|
|/
|
|
| |
Stop sidebar overlapping footer, and giving footer heading a top border.
|
|
|
|
|
| |
The 'cross' at mobile widths was not displaying, and the icon was not
changing to a down arrow at larger widths.
|
| |
|
| |
|
|
|
|
|
| |
Remove quite a bit of unnecessary CSS that was not
actually helping with display.
|
| |
|
|
|
|
|
|
| |
This improves upon the previous commit to work with whatever contents
the map sidebar has (e.g. the list on an around page was also being cut
off before the end).
|
|
|
|
|
|
| |
On IE9 the bottom of the update form was being
obscured by the shadow above the report abuse
/updates/nearby buttons for signed-in users.
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This simplifies the page layout and code. We add a new #map_sidebar for
sidebar positioning, and a $mappage-header-height (defaulting to 4em)
variable. We no longer need:
* position_map_box;
* map_fix;
* special visual centre calculation; or
* custom pan zoom positioning.
As the sidebar now scrolls by itself and nothing can extend outside:
* The big-green-banner is set to 100% width (with negative margins no
longer required);
* For cobrands that have an overhanging sidebar (e.g. Zurich), we add
a .with-notes variant that adds a second column to the sidebar,
perfect for containing secondary notes about the form.
The resizing of the banner also required some tweaking to the size of
the chevron-white SVG images.
Update the $.fn.drawer() method for the new layout. Works well in IE7+8,
and degrades gracefully in IE6.
For IE7, we remove the existing z-index hacks, and put a new, simpler,
one in, and fix a CSS bug that was hiding the map.
Various cobrands are updated to adapt to the changes.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Always centre the map on the new point when creating a new report. This
will be helpful when the map element can change width to accommodate the
.with-notes variant, is easier than the previous method, and feels very
natural.
|
| | |
|
| |
| |
| |
| |
| | |
We previously used !important to override them in the CSS, but better to
prevent them being set in the JavaScript in the first place.
|
| |
| |
| |
| |
| | |
The fix in e070ba89 for the big white chevron was also applied to these
chevrons which did not need extra paddig, and made them display smaller.
|
|\ \ |
|