| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
| |
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.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Remove duplicate/alternate definitions, and settle on the name clearfix.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move to using libsass via CSS::Sass, and stop using compass, supplying
any used mixins directly. This removes the need for any ruby/gem based
installation, and greatly increases the speed of compilation. make_css
is also enhanced, bringing in the file monitoring previously done by a
separate script and improving its dependency monitoring.
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
| |/
|/| |
|
|/
|
|
| |
Specifically to get the https://github.com/openlayers/ol2/pull/1418 fix.
|
|
|
|
|
|
|
|
|
|
|
| |
This rearranges the moderation UI into logical chunks,
and improves the 'revert to original' checkboxes by:
- hiding them unless there's some original text to revert
to
- displaying the text that will be reverted to in the
appropriate input fields when checked.
Part of mysociety/FixMyStreet-Commercial#731
|
| |
|
|
|
|
| |
This uses the master branch of OpenLayers 2.
|
|
|
|
|
| |
For some reason if the content is floated, Firefox leaves a very large
gap that actually blanks out the content underneath it.
|
|
|
|
|
|
|
|
|
|
|
| |
Like a number of recent council cobrands, we remove parts of the default
desktop footer and append our own responsive one in `footer_extra.html`.
This also updates the FixMyStreet app logos (for fixmystreet.com and any
other cobrands that use them) to the most recent style of Apple / Google
sanctioned badges.
Fixes #1385.
|
|\ |
|
| |
| |
| |
| | |
And associated, e.g. nothing references fixmystreet-old-box.js any more.
|
| | |
|
| |
| |
| |
| |
| | |
A white border doesn't work if the content bar isn't white.
Fixes 1380.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Store image type along with hash in photo column, and use that when
outputting images / generating URLs. Make sure all public photo URL
generation goes through appropriate functions, and change temp URLs
so the filename can be output directly from the list.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This stops the front page header nesting skipping a level.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Angus provide a WFS endpoint for their existing streetlight assets
and known faults.
This commit:
- Displays clickable markers when the 'street lighting' category is selected
on the report a problem page.
- Displays known faults on the map
- Includes a custom OpenLayers build for the Angus cobrand that
includes WFS support
The custom code for adding the layers to the map is within
position_map.js, as this seemed to be currently the best place
for cobrand-specific map logic.
|
| |
| |
| |
| |
| | |
This adds a cobrand for Angus Council that fits in with their
existing styling on angus.gov.uk
|
| |
| |
| |
| |
| |
| |
| | |
Because the list of categories is reloaded when changing the location of an
in-progress report, it was possible for the category the user had selected
to be un-selected. This improves the situation by re-selecting that category
if it appears in the new list.
|
| |
| |
| |
| |
| |
| | |
Several cobrands override the colour of the 'how to report a problem'
numbers on the front page, so this commit allows that to be a one-line
change in the cobrand's _colours.scss.
|
|/ |
|
| |
|
|
|
|
| |
Fixes #1362.
|