Commit graph

5562 commits

Author SHA1 Message Date
Andy Allan
82fd7a10ac Remove the custom layout css from the terms page
This uses bootstrap utilities where necessary. It also removes the
terms page from a padding override, which was then in turn overridden
by a padding class applied to the form!
2020-01-08 17:04:53 +01:00
Andy Allan
f0ee117cff Refactor the welcome page to use the bootstrap grid and alert box
The two columns work well side-by-side even at small screen widths.
2020-01-08 16:41:17 +01:00
Andy Allan
0b1aafb701 Refactor the fixthemap page to use the bootstrap responsive grid
This ensures that on small screens, the 'how to help' sections
are one above the other, and on larger screens they are side-by-side
2020-01-08 16:27:39 +01:00
Andy Allan
68422c7ff2 Remove extra styling for rss icon
This brings it into line with e.g. the new diary entry icon
2020-01-08 16:08:18 +01:00
Andy Allan
827123a8f6 Rework changeset descriptions to use h6 tags, and refactor changeset lists to use list-group-flush
The descriptions are probably best not as a header, but still needs to be something more prominent than surrounding text.
2020-01-08 16:04:45 +01:00
Andy Allan
1a9595862f Remove font size override on sidebar tags tables 2020-01-08 16:01:07 +01:00
Andy Allan
712e67ed4a Refactor the query results to use bootstrap list-group-flush 2020-01-08 16:00:18 +01:00
Andy Allan
8a774e7519 Use a post link to logout
This avoids needing to access the session id, which is currently
only working with the memcache store.

The fallback page is preserved for anyone who wants to logout without
using javascript.

Refs #2488
2020-01-08 14:03:05 +01:00
Tom Hughes
5a668bfbe4 Add some missing _html suffixes 2020-01-05 19:01:54 +00:00
Tom Hughes
a570f59187 Merge remote-tracking branch 'upstream/pull/2494' 2020-01-05 18:51:42 +00:00
Tom Hughes
6c22bf4b9a Set X-Entity-Ref-ID header on notification emails
This disables threading in gmail completely - without it all
notifications of a given type are grouped together.
2020-01-02 21:45:41 +00:00
Andy Allan
53f2c36f1d Use ActionView's safe_join to avoid using raw when joining arrays of text 2020-01-02 18:07:23 +01:00
Andy Allan
5aa255e13f Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2020-01-02 17:43:34 +01:00
Andy Allan
8dba8cd4a0 Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2020-01-02 17:13:41 +01:00
mmd-osm
97036c181e JSON output, handle Accept header 2020-01-02 15:17:11 +01:00
mmd-osm
b54333fa6d Unify lat/lon formatting for json output 2020-01-02 14:52:53 +01:00
Tom Hughes
e7332b0c41 Merge remote-tracking branch 'upstream/pull/2491' 2020-01-02 13:29:26 +00:00
Andy Allan
4ca2721c63 Remove the dashed underline from prose headings
No other headings are underlined, and the underlines look more like
a section separator (e.g. dashed hr) and so visually separated the
heading from its content.
2020-01-02 13:40:30 +01:00
Andy Allan
304deb3ca7 Remove usused css for about page
Also removes some whitespace on sections and headings that can be
better left as default.
2020-01-02 11:15:26 +01:00
Andy Allan
fc5260d71b Split the legal_html into two, so that we can use proper paragraphs instead of a linebreak
Also add a missing full stop.
2020-01-02 11:14:54 +01:00
Andy Allan
ca8195c8a3 Reinstate background colour for sidebars
This is required when the sidebar overlaps the map, for example when
it is not full height on the welcome message.
2020-01-02 10:50:02 +01:00
Tom Hughes
23e763ea95 Mark language and direction for about page 2019-12-30 22:49:17 +00:00
Tom Hughes
3426976606 Merge remote-tracking branch 'upstream/pull/2444' 2019-12-30 22:34:24 +00:00
Tom Hughes
29aac6e149 Merge remote-tracking branch 'upstream/pull/2462' 2019-12-30 22:29:24 +00:00
mmd-osm
480eaa1b36 Added helper function set_references for mail header 2019-12-30 23:04:15 +01:00
Tom Hughes
1c5642637a Merge remote-tracking branch 'upstream/pull/2471' 2019-12-30 21:40:10 +00:00
Tom Hughes
1597a2f879 Merge remote-tracking branch 'upstream/pull/2470' 2019-12-30 21:37:32 +00:00
Tom Hughes
5ff4e4e331 Merge remote-tracking branch 'upstream/pull/2469' 2019-12-30 21:29:00 +00:00
mmd-osm
45a1d298a9 Move default_format_xml to api_controller 2019-12-30 17:26:00 +01:00
mmd-osm
75a49786f8 API JSON output 2019-12-30 16:37:52 +01:00
Tom Hughes
e0f3fdbac7 Merge remote-tracking branch 'upstream/pull/2475' 2019-12-29 19:16:33 +00:00
Kristjan
81c244e273
fixed "end tag" -> "source"
Fixed inattentiveness from my last commit.
2019-12-26 11:23:45 +01:00
Kristjan
0d3f269aa8
removed end tag ("source" is a self-closing tag) 2019-12-24 23:44:50 +01:00
Kristjan
ec56eaf0f2
removed end tag ("source" is a self-closing tag) 2019-12-24 23:44:22 +01:00
Kristjan
f771df86d2
removed end tag ("source" is a self-closing tag) 2019-12-24 23:43:49 +01:00
Simon Legner
7a81258ddc Translate units used by leaflet-locatecontrol 2019-12-24 00:29:30 +01:00
Andy Allan
dddef7672e Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2019-12-22 11:28:18 +01:00
Andy Allan
281d7992f8
Merge pull request #2464 from hikemaniac/fix-comment-textarea
Improve textarea behaviour
2019-12-22 10:21:14 +00:00
Andy Allan
217f616630 Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2019-12-20 14:32:00 +01:00
Andy Allan
dfedf85b6c Use _html suffix to avoid using raw when displaying translated strings
This is safer than raw, since any user input is still escaped.
2019-12-20 10:29:07 +01:00
Andy Allan
1ff7e3ac71 Replace custom css class with bootstrap inline utility
This has actually been broken since the controller was renamed,
but nobody noticed.
2019-12-19 19:31:52 +01:00
Andy Allan
1586e2ba80 Use badges for the trace visibility labels
Our green is currently just on the side of triggering black text,
hence the override to make it look consistent with the other badges.
2019-12-19 19:18:00 +01:00
Andy Allan
a3e3be007e Use text-danger style for pending trace warning 2019-12-19 19:15:36 +01:00
Andy Allan
f8d61f287c Remove font-size overrides for traces and user lists
This makes them much easier to read
2019-12-19 18:03:09 +01:00
Andy Allan
410fe87045 Use a warning alert for reporting new issues
This removes custom colouring for the alert. The list overrides
need to stay until we unpick more of our custom styling.
2019-12-19 17:50:22 +01:00
Andy Allan
3776a6d321 Use offwhite instead of grey for browse pages tag tables 2019-12-19 17:43:03 +01:00
Andy Allan
118347444f Remove more header font size overrides
This smooths out inconsistencies in the hierarchies, for example when
using header sizes beyond h3 in profile descriptions.
2019-12-19 17:29:21 +01:00
Andy Allan
6edf2d4374 Minimially invasive fix for sidebar heading sizes
I'd prefer to avoid overriding the heading sizes, but this will involve
more extensive changes to the layout. For example, the h2 heading has
specific padding and margins that break when moving to h3.

Fixes #2467
2019-12-19 17:09:51 +01:00
hikemaniac
75d09e2233 Let all textareas only be vertically resized 2019-12-18 20:32:56 +01:00
Tom Hughes
32fa124698 Merge remote-tracking branch 'upstream/pull/2452' 2019-12-18 18:23:42 +00:00