aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
* Update copyright year shown on OS & Bing mapsDave Arter2016-06-07-2/+2
|
* [East Sussex] Improve header CSS.Matthew Somerville2016-06-07-35/+6
| | | | | Remove quite a bit of unnecessary CSS that was not actually helping with display.
* Remove some unused CSS.Matthew Somerville2016-06-07-75/+0
|
* Use ::after to fix map sidebar bottom padding.Matthew Somerville2016-06-07-6/+17
| | | | | | 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).
* Stop bottom of update form disappearingDave Arter2016-06-06-5/+4
| | | | | | 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.
* Fix calculation when header height given in px.Matthew Somerville2016-06-03-2/+7
|
* Merge branch '1350-stop-map-hiding-behind-header'Matthew Somerville2016-06-03-986/+470
|\
| * [UK] Remove some unnecessary CSS.Matthew Somerville2016-06-03-100/+36
| |
| * Remove user-meta; "Your reports" to "Your account"Zarino Zappia2016-06-03-224/+13
| |
| * Absolutely position map pages.Zarino Zappia2016-06-03-575/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * [Angus] Fix horizontal scrollbar.Matthew Somerville2016-06-03-3/+2
| |
| * Centre map on pin location when creating a report.Zarino Zappia2016-06-01-39/+25
| | | | | | | | | | | | | | 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.
| * Allow scroll wheel to zoom map.Zarino Zappia2016-06-01-17/+2
| |
| * Stop PanZoom giving controls hard-coded positions.Zarino Zappia2016-06-01-41/+57
| | | | | | | | | | We previously used !important to override them in the CSS, but better to prevent them being set in the JavaScript in the first place.
* | Fix grey chevron size.Matthew Somerville2016-06-01-2/+2
| | | | | | | | | | 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.
* | Merge branch 'move-to-libsass'Matthew Somerville2016-05-31-491/+89
|\ \
| * | Consolidate CSS clearfix handling.Matthew Somerville2016-05-31-42/+10
| | | | | | | | | | | | Remove duplicate/alternate definitions, and settle on the name clearfix.
| * | Improve CSS compilation.Matthew Somerville2016-05-31-460/+90
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge branch 'jonkri-master-new'Matthew Somerville2016-05-31-0/+0
|\ \ \ | |_|/ |/| |
| * | [FixaMinGata] Add App Store icon and link.Jon Kristensen2016-05-31-0/+0
| | |
* | | [Stevenage] Responsive header for Stevenage cobrandZarino Zappia2016-05-31-156/+258
| |/ |/|
* | Update OpenLayers 2 to master branch.Matthew Somerville2016-05-27-294/+382
|/ | | | Specifically to get the https://github.com/openlayers/ol2/pull/1418 fix.
* Improve in-place moderation UIZarino Zappia2016-05-18-2/+23
| | | | | | | | | | | 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
* Increase pixel tolerance of map click handler.Matthew Somerville2016-05-17-1/+1
|
* Update OpenLayers to fix Google Maps layer.Matthew Somerville2016-05-17-279/+364
| | | | This uses the master branch of OpenLayers 2.
* Improve printing of report page in Firefox.Matthew Somerville2016-05-10-1/+5
| | | | | For some reason if the content is floated, Firefox leaves a very large gap that actually blanks out the content underneath it.
* [fixmystreet.com] Add standard mySociety footer.Zarino Zappia2016-05-10-46/+372
| | | | | | | | | | | 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.
* Merge branch '1383-remove-dead-projects'Matthew Somerville2016-04-22-4257/+1
|\
| * Remove final web/fixmystreet templates.Matthew Somerville2016-04-20-39/+0
| | | | | | | | And associated, e.g. nothing references fixmystreet-old-box.js any more.
| * Remove some unused cobrands.Matthew Somerville2016-04-20-4218/+1
| |
* | Use transparent border in tips/change_location.Matthew Somerville2016-04-22-3/+3
| | | | | | | | | | A white border doesn't work if the content bar isn't white. Fixes 1380.
* | Merge remote-tracking branch 'origin/twitter-login'Matthew Somerville2016-04-22-1/+16
|\ \ | |/ |/|
| * Better sized image.Matthew Somerville2016-04-08-0/+0
| |
| * Add Twitter social login.Matthew Somerville2016-04-08-1/+16
| |
* | Add PNG image support.Matthew Somerville2016-04-08-2/+2
|/ | | | | | | 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.
* [fixmystreet.com] Move country lookup client side.Matthew Somerville2016-03-31-19/+26
| | | | | 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.
* [UK] Tweak list pin padding and CSS comments.Matthew Somerville2016-03-31-5/+5
|
* [Angus] Link to Angus on FMS for councils pagesDave Arter2016-03-31-0/+0
|
* [Angus] Load web fonts over HTTPSDave Arter2016-03-31-6/+6
|
* [Zurich] Use protocol relative map tiles.Matthew Somerville2016-03-30-2/+2
|
* [Angus] Remove unused CSS.Matthew Somerville2016-03-30-2/+1
|
* Switch list item heading from h4 to h3.Matthew Somerville2016-03-30-15/+20
| | | | This stops the front page header nesting skipping a level.
* Merge branch 'issues/commercial/754-angus-cobrand'Dave Arter2016-03-29-7/+2622
|\
| * [Angus] Add clickable street light layer to report mapDave Arter2016-03-29-2/+1115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * [Angus] Cobrand module, templates & designDave Arter2016-03-29-0/+1495
| | | | | | | | | | This adds a cobrand for Angus Council that fits in with their existing styling on angus.gov.uk
| * Preserve category when clicking elsewhere on mapDave Arter2016-03-29-0/+4
| | | | | | | | | | | | | | 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.
| * Allow cobrands to control front page number colourDave Arter2016-03-29-7/+10
| | | | | | | | | | | | 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.
* | Allow override of front page statistics' colour.Matthew Somerville2016-03-29-3/+6
|/
* Optimize store logo PNGs.Matthew Somerville2016-03-29-0/+0
|
* [fixmystreet.com] Update tips text.Matthew Somerville2016-03-23-0/+3
| | | | Fixes #1362.