aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
* [fixmystreet.com] Some fixes to A/B edge cases.Matthew Somerville2016-03-18-5/+15
| | | | Better contrast; don't show on /about/council.
* Make sure preview image doesn't hide error.Matthew Somerville2016-03-18-0/+6
|
* Fix ReferenceErrors breaking map on cobrands.Dave Arter2016-03-15-2/+2
|
* [fixmystreet.com] Friendly A/B test setup.Zarino Zappia2016-03-11-0/+175
| | | | | | | | Includes a smiley, bright yellow homepage, and updated nav bar and footer across the entire site; a few content changes; request for gender information from users. Fixes #1341.
* Remove unnecessary duplicate line of code.Matthew Somerville2016-03-11-1/+0
|
* Improve accessibility of pretty radio buttons.Matthew Somerville2016-03-11-1/+2
| | | | | The radio icons are e.g. unselectable in VoiceOver if they are display:none. This also helps with client-side validation.
* Make sure top of reporting form is shown.Matthew Somerville2016-03-09-0/+1
| | | | | | If the list of reports was scrolled and then the map was clicked, the form would be pre-scrolled down. It now makes sure to scroll the form to the top. Fixes #787.
* Remove auto-scrolling of sidebar on pin hover.Matthew Somerville2016-03-09-20/+0
| | | | | This was added along with pin/sidebar highlighting in b71d042e, but has proved distracting/confusing.
* Wrap multiple report/update photos onto one line.Zarino Zappia2016-03-08-6/+22
|
* Smaller image display for reports and updatesZarino Zappia2016-03-08-10/+8
| | | | | | | | Displaying the images smaller makes the lines of text easier to read, and makes display of multiple images much better. People can still click the images to see them full size. Fixes #1325.
* [fixmystreet.com] Make sure front page error seen.Matthew Somerville2016-02-24-0/+6
| | | | Fixes #1336.
* Show remembered uploaded photos when Back used.Matthew Somerville2016-02-10-9/+10
| | | | | | | | | | The uploaded_files solution in cbdfcad6, to show already uploaded files stored in upload_fileid, worked if you submitted the form to the server and had it returned, but did not show remembered photos if you used the browser's Back button to return to the form from another page. Instead, always read the data from upload_fileid, which works whichever way you have come to the page. Fixes #1332.
* Really stop map strategy update firing too often.Matthew Somerville2016-02-09-0/+12
| | | | | | | It turns out the strategy was still firing even with correctly rounded co-ordinates from getMapBounds, as there were still rounding errors introduced by the two differing ways of calculating the map bounds. We override one function to always equal the results of the other method.
* Stop map strategy update firing too often.Matthew Somerville2016-02-09-1/+16
|
* Clearer relationship between map pins/list items.Zarino Zappia2016-02-09-32/+125
| | | | | | | | | | | | | | | | | | | Hovering over map pins highlights the relevant item from the sidebar beside the map. And hovering a sidebar item highlights the relevant map pin. Clicking a map pin takes you directly to the relevant report page, just like clicking an item in the sidebar. This means the OpenLayers popup "balloon" no longer appears on clicking a pin, and has been removed entirely. To make customisation of the list item hover colour easier, it has been abstracted out into a SCSS variable that cobrand authors should override (as the fixmystreet.com cobrand does) or leave at its default light grey colour. Fixes #1094.
* Blacklist Opera Mini on Windows Phone in uploader.Matthew Somerville2016-01-29-2/+2
| | | | | | | | | | | We had a report that our file uploader (dropzone) wasn't working in Opera on a Lumia Windows phone. It looks like this version of Opera is saying it has capability but doesn't. The file uploader already blacklists Opera 12 on a Macintosh, so do the same on Windows Phone (Opera Mini 9 has a version 12 identifier in its user agent string). The full User Agent string was Opera/9.80 (Windows Phone; Opera Mini/9.0.0/37.7751; U; en) Presto/2.12.423 Version/12.16
* Merge branch '1146-social-login'Matthew Somerville2016-01-27-0/+53
|\ | | | | | | | | | | Conflicts: templates/web/base/report/new/fill_in_details_form.html templates/web/base/report/update-form.html
| * Add login by Facebook on generic auth screen.Matthew Somerville2016-01-22-0/+1
| |
| * Add login by Facebook when updating.Matthew Somerville2016-01-22-0/+1
| | | | | | | | Makes the flow more like new reporting.
| * Add login by Facebook when reporting.Matthew Somerville2016-01-22-0/+48
| |
| * Make sure disabled inputs are faded.Matthew Somerville2016-01-22-0/+3
| |
* | Make sure data variable is defined before use.Matthew Somerville2016-01-20-7/+9
| | | | | | | | | | e.g. if you had skipped the map there is no fixmystreet variable on the resulting page, so we need to create it and check it.
* | Pad internal update links so they are in view.Matthew Somerville2016-01-19-0/+8
|/ | | | Fixes #1308.
* [fixmystreet.com] Don't show app step if used app.Matthew Somerville2016-01-06-0/+4
| | | | Fixes #1305.
* Merge branch '1299-banner'Matthew Somerville2016-01-06-11/+39
|\
| * Tidy up CSS of top banner.Matthew Somerville2016-01-05-9/+28
| | | | | | | | Include UK donations CSS used over Christmas 2015 for any future use.
| * Stop top banner overlapping header contents.Matthew Somerville2016-01-05-2/+11
| | | | | | | | | | Warwickshire has position:relative always set on .wrapper, so make sure that's maintained on map apges.
* | Move alert page "recent photos" out of sidebarZarino Zappia2016-01-05-0/+20
|/
* Use full relative paths for CSS images.Matthew Somerville2015-12-18-2/+2
| | | | These files may be included by files in a different directory.
* Add multiple photo upload support.Zarino Zappia2015-12-16-0/+283
| | | | | | | | | | Three file inputs, progressively enhanced with dropzone. This moves the photo input higher up, so that photos can upload while you're filling out the form. It standardises and improves photo error handling. [fixmystreet.com] Guidance for what photos should and shouldn’t include.
* No button hover on disabled buttons.Matthew Somerville2015-12-16-1/+1
|
* Default the Google map view to hybrid (again).Matthew Somerville2015-12-05-5/+5
| | | | | | | | | | | | | | A repeat of cc6a278; Google have now dropped version 3.20 of their Maps API, which we were using. Version 3.21 is the oldest available version, and only appears to work if you start off in hybrid view. According to https://developers.google.com/maps/documentation/javascript/versions, in three months 3.21 will be dropped; 3.22 does not currently work with our OpenLayers code at all. Looking at http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/google-v3.html the maps do still appear if you first switch to the Satellite layer. So investigation will be needed to find out why that happens and if it can be worked around.
* Optimise mobile menu icon SVGsZarino Zappia2015-10-27-30/+2
|
* Add padding inside chevron SVGsZarino Zappia2015-10-27-12/+4
| | | | | Fixes #1256 by removing the temptation for web browsers to stretch the SVG to fill the CSS background-size box.
* Merge branch '1141-list-css-part-4'Matthew Somerville2015-10-09-185/+151
|\
| * Improve item list CSS.Matthew Somerville2015-10-09-185/+151
| | | | | | | | | | | | | | | | | | | | | | | | Generally, a rewrite of issue-list-a to item-list--reports or item-list--wards (two different uses) and issue-list to item-list--updates, with subsequent renames/changes to children. For those cobrands using a different list showing a pin icon, use item-list__item--with-pin to stop needing to override existing classes. Fix a variety of niggling issues e.e ward list display, or overloading of the .text class.
* | [Hart] Fix missing menu class, tidy remaining.Matthew Somerville2015-10-09-62/+15
|/ | | | | The changes in 99610f1 missed out adding a class to the footer menu, and a few subsequent changes to the CSS.
* Add state/category filters to base cobrand.Matthew Somerville2015-10-07-142/+119
| | | | | | | This removes the on map/nearby tabs, replacing them with one combined list. The styling is moved to the base, so that it is used on mobile too. A closed option is added to the existing dropdown, and the base/fixmystreet my templates are also combined. Fixes #1141.
* Fix lint issues in moderate.js.Matthew Somerville2015-10-07-6/+6
|
* Merge branch '1141-list-css'Matthew Somerville2015-10-07-14/+7
|\
| * [Bromley] Fix positioning of logged in message.Matthew Somerville2015-10-06-2/+1
| | | | | | | | Make sure the site's max-width is applied on map pages also.
| * Remove unneeded report-list and list-a classes.Matthew Somerville2015-10-01-12/+6
| |
* | [Zurich] Fix map positioning on report pagesSteven Day2015-10-06-1/+1
| |
* | [Zurich] Prevent 'success' message interfering with all input fieldsDave Arter2015-10-06-0/+5
| | | | | | | | See mysociety/FixMyStreet-Commercial#717
* | [Zurich] Improve display of external body message when presentDave Arter2015-10-06-1/+1
| | | | | | | | | | | | | | Make external/competent body message read-only and displayed like public response when submitted. See mysociety/FixMyStreet-Commercial#718
* | [Zurich] Add maps to Zurich admin report print viewZarino Zappia2015-10-06-6/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Includes a small map at the top of the first page and a second full-width map on a separate page. - upgrades tiles to the new 512px ones already used by JS as implemented in https://github.com/mysociety/FixMyStreet-Commercial/issues/668 - Uses jQuery to clone a copy of the "noscript" map elsewhere into the DOM, because the original is too far from where we need it. - extracts maps/openlayers.html to call maps/noscript_map.html - specialises the Zurich version to allow a richer structure to be returned, including arbitrary sized map - Map::Zurich now returns nearly arbitrary sized map tiles - second larger map is prepared (only for admin/report_edit) See mysociety/FixMyStreet-Commercial#677
* | [Zurich] 2-column layout for printed reportsZarino Zappia2015-10-06-3/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | - Involves a not-as-bad-as-it-looks refactoring of the HTML markup for report_edit.html and report_edit-sdm.html, with some actual indentation so you can tell what's going on, and definition lists to give the label/content pairs more logical structure. - Also replaces .report-edit-action with .print-only and .screen-only which are less semantic, but much more obvious to newcomers. - Allows SDMs to enlarge images on report edit page - Displays category in report edit form on screen as well as in print See mysociety/FixMyStreet-Commercial#677
* | [Zurich] UI improvements for DM/SDM report edit adminZarino Zappia2015-10-06-0/+20
| | | | | | | | | | | | | | | | | | | | | | - Styling for "Updated!" message The message shown on form submission no longer pushes both columns down, and disappears after 5 seconds. - Make "time spent" labels inline to save space - Simplify display of report admin category dropdown - Change order of report admin inputs for Division Managers See mysociety/FixMyStreet-Commercial#690
* | [Zurich] Refactory admin note styling so it can be used in print modeZarino Zappia2015-10-06-46/+46
| | | | | | | | See mysociety/FixMyStreet-Commercial#677
* | [Zurich] improve admin view density for small screensZarino Zappia2015-10-06-4/+100
| | | | | | | | | | | | | | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#674, mysociety/FixMyStreet-Commercial#673 - two-column layout on admin map pages - tightening up admin button sizes and optional labels - stack admin notes vertically, to avoid overflowing table layout - improve display of zurich admin notes and answers - only print admin note headings if there are notes - slightly shorter textareas in admin UI - simplify display of non-editable problem info, as per customer’s suggestion