aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/angus
Commit message (Collapse)AuthorAgeLines
* [Angus,Bristol] Don't try and add assets if no mapMatthew Somerville2016-12-16-0/+8
|
* [UK] Refactor WFS asset handling.Matthew Somerville2016-11-11-348/+15
| | | | | | Allow multiple asset layers, and setting of multiple asset attributes. [Bristol] Add Bristol asset layers.
* Move to using pushState for new report.Zarino Zappia2016-07-11-11/+12
| | | | | Update the URL whenever location of pin is updated (first time, drag, or reclick), make sure it works when clicking back.
* Tidy up JavaScript functions.Matthew Somerville2016-07-11-8/+1
| | | | Split big functions into smaller more descriptive ones.
* Remove most IE8 special cases.Matthew Somerville2016-06-15-13/+2
| | | | | | 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.
* Remove all IE6 special cases.Matthew Somerville2016-06-15-7/+4
|
* Merge branch '1350-stop-map-hiding-behind-header'Matthew Somerville2016-06-03-54/+5
|\
| * Remove user-meta; "Your reports" to "Your account"Zarino Zappia2016-06-03-29/+2
| |
| * Absolutely position map pages.Zarino Zappia2016-06-03-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
* | Improve CSS compilation.Matthew Somerville2016-05-31-27/+1
|/ | | | | | | | 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.
* [Angus] Load web fonts over HTTPSDave Arter2016-03-31-6/+6
|
* [Angus] Remove unused CSS.Matthew Somerville2016-03-30-2/+1
|
* [Angus] Add clickable street light layer to report mapDave Arter2016-03-29-2/+383
| | | | | | | | | | | | | | | | | 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