Adam Hoyle
86912a61df
stub model and show in view
2021-08-08 23:28:44 +01:00
Adam Hoyle
ffc6b697f0
add communities page
2021-08-08 23:27:34 +01:00
Adam Hoyle
d8d1ab1776
add route for communities
2021-08-07 15:46:39 +01:00
Tom Hughes
e842c7be97
Add missing autocomplete attributes
2021-07-27 19:36:47 +01:00
Andy Allan
0c7ad10573
Refactor About header to use bootstrap and flex
...
This reduces the amount of custom CSS required for the layout, and
makes it responsive on small screen sizes.
2021-06-30 15:21:49 +01:00
Andy Allan
c8f0a81eb7
Rework sidebar to use padding on the sidebar_content div
...
This saves every header, list, paragraph etc having to sort out their own padding. The couple of instances where we want edge-to-edge can be acheived using the negative margin spacing utilities.
The padding is based on $spacer so that it can be adjusted automatically via bootstrap configuration.
This also means that we can remove many (mis-)uses of the browse-section class, which is only supposed to be for cases where there are multiple browse-sections in sequence (e.g. multiple nodes in the node history browse pages).
2021-06-16 15:45:58 +01:00
Andy Allan
952cf0fdb4
Remove the old richtext_area helper
...
This has been superseded by the `f.richtext_field` custom form builder.
2021-03-03 15:34:16 +00:00
Andy Allan
05dd681abf
Refactor the export form to use bootstrap form controls
...
I started refatoring the export inputs to use a flex grid instead of
floats, but this is perhaps the one place on the whole site where left/right
makes sense since even in rtl we want min_lon on the left.
2021-02-03 13:44:52 +00:00
Tom Hughes
0ff89c31e4
Remove both Potlatch versions
...
Fixes #2622
2021-01-05 21:18:45 +00:00
Andy Allan
c233bec67b
Use flexbox to position the close icon on the sidebars
...
This ensures that the text and the close icon don't overlap, regardless
of the length of the title. The title div grows to use all available
space, while ensuring the text breaks if necessary to prevent it from
pushing the close icon offscreen.
2020-10-21 17:11:28 +02:00
Andy Allan
94008d9059
Fix remaining unstyled buttons by moving to bootstrap buttons
2020-08-19 14:54:36 +02:00
Tom Hughes
0e2a66e8de
Fix new rubocop warnings
2020-08-06 18:42:16 +01:00
Tom Hughes
c24c2e481c
Merge remote-tracking branch 'upstream/pull/2667'
2020-08-05 21:50:08 +01:00
Quincy Morgan
de3ddafcd2
Update iD initialization for v2.18.1
2020-07-20 16:14:28 -04:00
Andy Allan
3012201160
Convert warnings to use bootstrap alerts
...
The new note is guidance, rather than a warning, so it gets the info
background
2020-07-15 19:09:46 +02:00
Andy Allan
bae057dbdf
Avoid list markers for the richtext help text
2020-07-04 10:51:16 +02:00
Andy Allan
627f2493fa
Refactor away from global form control styling
...
This enables forms to be converted one-by-one to bootstrap. Without this
refactoring, these global styles interfere with form control styling from
bootstrap.
The rearrangement of the search and directions styling is to solve CSS selector specitivity issues.
2020-07-01 17:23:02 +02:00
Simon Poole
63c0b697a4
Change tile licence
...
This changes the text describing the tile licence as per decision of the OSMF board starting July 1st 2020
2020-06-22 01:06:14 +02:00
Tom Hughes
a13b40ace9
Fix new erblint warnings
2020-06-11 19:44:22 +01:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Anton Melnichuk
292f38a6ce
fix help page, grid card layout on mobile
2020-02-13 14:18:49 +02:00
Andy Allan
1a75b1ba72
Minor tweaks to copyright heading
...
This fixes a small bug where the hr was shown even when not required,
by ensuring the test is run before creating the content.
Also fixes where an h1 tag was used instead of a div.
2020-01-15 12:09:14 +01:00
Tom Hughes
928465764e
Merge remote-tracking branch 'upstream/pull/2499'
2020-01-09 10:36:31 +00:00
Andy Allan
ff363832f8
Fix typos
2020-01-09 10:06:20 +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
Tom Hughes
a570f59187
Merge remote-tracking branch 'upstream/pull/2494'
2020-01-05 18:51:42 +00: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
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
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
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
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
Tom Hughes
32fa124698
Merge remote-tracking branch 'upstream/pull/2452'
2019-12-18 18:23:42 +00:00
Tom Hughes
a2ad08b2e2
Use correct link for settings page
2019-12-12 19:12:38 +00:00
Tom Hughes
9153fd3559
Fix link in error page when a user has public edits disabled
2019-12-12 18:50:30 +00:00
Andy Allan
dc96834ebb
Use bootstrap cards to spruce up the help page
2019-12-11 10:24:57 +01:00
Tom Hughes
fc8189685e
Fix erblint warnings
2019-12-04 19:58:21 +00:00
Mayank Tankhiwale
4596fa9420
Fix 2402 PR lint errors
2019-11-23 22:22:29 +05:30
Mayank Tankhiwale
9f7ec064e4
Fix #2402
...
1. Modified about routes
2. Accept the new params in site#about
3. Update about.html.erb
2019-11-23 20:26:19 +05:30
Andy Allan
fbcd2bc10a
Refactor some diary entry routes to use resources
2019-05-29 15:55:27 +02:00
Tom Hughes
7ce40eeb38
erblint: use consistent spacing in HTML tags
2019-03-28 00:30:48 +00:00
Tom Hughes
49da87fb6d
erblint: remove leading blank lines
2019-03-28 00:29:04 +00:00
Tom Hughes
89341ce266
erblint: avoid dynamic find_by methods
2019-03-27 19:14:16 +00:00
Tom Hughes
7cd7354673
erblint: prefer symbolic logical operators over and/or/not
2019-03-27 18:47:51 +00:00
Andy Allan
3834ed45e6
erblint: avoid parentheses for method calls with no arguments
2019-03-27 10:59:10 +01:00
Andy Allan
6d0100b91d
erblint: prefer double quoted strings
2019-03-27 10:57:00 +01:00
Andy Allan
74b91c0e3e
erblint: Add or remove curly braces around hash parameters as required
2019-03-27 10:30:48 +01:00
Andy Allan
38cfc35eb2
Whitespace fixes for site erb files
2019-03-26 20:23:35 +00:00