aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
* 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
* | [Zurich] new status flagsHakim Cassimally2015-10-06-2/+2
| | | | | | | | | | | | | | Have moved the generation of banner text from the template into problem_as_hashref See mysociety/FixMyStreet-Commercial#672
* | Add "time spent" admin logging.Hakim Cassimally2015-10-06-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mechanism is general, but current implementation only used for Zurich. - Zurich: Record time_spent field mysociety/FixMyStreet-Commercial#676 - template changes (including jQuery spinner) - backend changes to save data are made: - in log_edit, if supplied - and time on category change (and arbitrary actions) - Add update_admin_log to all paths for DM, ensuring that it gets called, while resetting the `time_spent` parameter, to make sure that there is never a duplicate record created. - Also quell warning about using DateTime values in query. - Also add (seemingly unrelated) parens to stop misparsing of OK line in questionnaire test now that DT::Format::Pg is used in Zurich cobrand See mysociety/FixMyStreet-Commercial#676
* | [Zurich] Response templates for report admin.Hakim Cassimally2015-10-06-0/+12
| | | | | | | | | | | | | | This provides a ResponseTemplate model that an admin/staff user can choose from when responding to problems. For mysociety/FixMyStreet-Commercial#671.
* | [Zurich] Improve report print stylesZarino Zappia2015-10-06-3/+54
| | | | | | | | - also remove 10px gap from left hand side of logo on screen
* | [Zurich] Use new map tiles up to 1:250Dave Arter2015-10-06-19/+152
| | | | | | | | | | - Refactor map tile size into a constant - Update map tiles to use new Zurich WMTS server directly instead of Apache proxy
* | Fix questionnaire image sizing in Firefox.Matthew Somerville2015-10-05-2/+2
|/ | | | | | | | | | | | A 100% max-width img within an inline-block within a fixed width wrapper behaves differently in Firefox to other browsers; other browsers use the width of the fixed width wrapper, whereas Firefox uses the width set for the img. Given an identically set-up div, all the browsers use the width of the div rather than the fixed width wrapper, so Firefox appears to be behaving more consistently. The easiest solution is to change the inline-block to display: block, as the inline-block is alone within a floated fixed width div. Fixes #1243.
* Don't set whole background style in issue-list cssSteven Day2015-10-01-6/+6
| | | | | | | | | | | | The use of the background shorthand was causing cobrands which override this to have unexpected styling issues because it only set a colour, not the other background properties. This commit makes it more specific to just use background-color. Also fixes a case in Greenwich's css where this was being overriden in a similar way to just use background-color as well. Fixes #1238
* Add new high-res default OpenGraph image.Zarino Zappia2015-09-29-0/+0
| | | | Fixes #1184.
* Streamline navigation menu CSS.Matthew Somerville2015-09-28-314/+193
| | | | | Reduce need for specificity. Also fix some bugs in Harrogate base menu display, and couple of other cobrand tweaks.
* Merge remote-tracking branch 'mysociety/1164-up-to-date-maintenance'Matthew Somerville2015-09-22-21/+90
|\
| * Bring down page up to date, and work via proxy.Matthew Somerville2015-09-21-21/+90
| | | | | | | | Fixes #1164.
* | Add missing background-size to retina image.Matthew Somerville2015-09-22-0/+1
|/ | | | Fixes #838.
* Improve accessibility of map pages.Matthew Somerville2015-09-18-6/+10
| | | | | | | | Hide the map with aria-hidden, as all report links are duplicated in the main content. Fix skip map link on mobile (it was disappearing). Place delegate handler on body to prevent e.g. VoiceOver announcing everything underneath .container as clickable. Remove header report button rather than hide off-screen, as is a duplicate link to the previous.
* Allow Google map/hybrid initial view to be chosen.Matthew Somerville2015-09-17-8/+16
| | | | | The GoogleOL layer will default to map, unless the fixmystreet_google_default variable is set to 'satellite'.
* Merge branch '557-email-confirmation-pages'Matthew Somerville2015-09-17-13/+18
|\
| * Centre the login and password reset pages.Zarino Zappia2015-09-17-13/+13
| | | | | | | | Remove unnecessary authpage things from other cobrands.
| * Improve "check your emails" page layout.Zarino Zappia2015-09-17-0/+5
| | | | | | | | | | Use the same layout as the "success" screen you will see after you click the emailed link.
* | Show report details more clearly on questionnaire pageZarino Zappia2015-09-17-7/+102
|/ | | | Fixes #1104.
* Add some inline docs about using right-to-left.Matthew Somerville2015-09-17-0/+5
|
* Update JavaScript to handle right-to-left layout.Matthew Somerville2015-09-17-25/+44
|
* Update SCSS to handle right-to-left layout.Matthew Somerville2015-09-17-352/+378
| | | | | Adds a '$direction' parameter that can be used to switch all layout to either left or right.
* Add 'iel8' class to handle IE6-8 things.Matthew Somerville2015-09-17-19/+15
| | | | Remove unused 'oldie' (that was IE6-9).
* Remove unused JavaScript file.Matthew Somerville2015-09-17-37/+0
|
* Update URL hash when menu nav button clicked.Matthew Somerville2015-09-17-0/+1
|
* Use Modernizr to decide whether to show mobile mapMatthew Somerville2015-09-17-28/+6
| | | | Fixes #1192.
* Fix location bug fetching category extras.Matthew Somerville2015-09-01-7/+2
| | | | | On a form, except one where you skipped the map, the category change call would use the initial map centre, rather than the map pin location.
* [Bromley] Remove unneeded CSS, set in base.Matthew Somerville2015-08-25-7/+0
|
* Fix new reports list styling on /my pageSteven Day2015-08-25-6/+7
| | | | | | | | The reports list styling didn't take into account the difference in margins on lists marked as 'full-width', and this issue was being manually fixed in both Greenwich and Oxfordshire. This changes the reports list styling so that these cobrand-specific overrides aren't necessary.
* [Bromley] Update cobrand to use latest FMS stylingSteven Day2015-08-25-284/+1152
| | | | | Replaces the existing Bromley council cobrand with a new one that uses the latest FMS styling. Including the new report list/filter sidebar.
* [East Sussex] Make sure button-nav styling applies to the main menu tooSteven Day2015-08-19-1/+2
|
* [East Sussex] Stop the menu overlapping the intro text on mobilesSteven Day2015-08-19-1/+23
|
* Use variable for menu image.Matthew Somerville2015-08-18-24/+13
| | | | No need to override if it's set right from the start.
* [Warwickshire] Update footer font-size to 16pxSteven Day2015-08-13-0/+4
| | | | To match the live site
* [East Sussex] Fix the header in place on map pagesSteven Day2015-08-13-2/+15
|