Andy Allan
f173895b00
Use small bootstrap buttons for oauth client actions
2021-02-03 13:44:52 +00:00
Andy Allan
e6dcf94577
Use small bootstrap buttons for message inbox and outbox actions
2021-02-03 13:44:52 +00:00
Andy Allan
fd6273cfb8
Refactor user_blocks revoke form to use bootstrap
2021-02-03 13:44:52 +00:00
Andy Allan
b6277bda20
Use bootstrap form styles for update home checkbox
...
This slipped through the refactoring last week.
2021-02-03 09:39:43 +00:00
Tom Hughes
e6db73f8d3
Avoid password manager autocompletion on user settings page
2021-01-28 11:33:01 +00:00
Tom Hughes
e6dbf56d43
Merge remote-tracking branch 'upstream/pull/3074'
2021-01-28 10:41:06 +00:00
Tom Hughes
f981182731
Merge remote-tracking branch 'upstream/pull/3073'
2021-01-28 10:36:38 +00:00
Tucker Chapman
d257e67842
Remove conditional for polyline layer
...
When a user searches for a route and one is not found the polyline
layer is removed - if they then change the mode of transportation the
event listener will not reroute if there is no polyline layer.
This commit removes the conditional that prevents the routing code from
re-running after the polyline has been removed.
Fixes #3050
Closes #3055
2021-01-28 10:31:33 +00:00
Andy Allan
1f4d334dfe
Use boolean instead of string for hiding labels
2021-01-28 10:10:03 +00:00
Andy Allan
a7d959e588
Refactor account form to use bootstrap
...
There's further refactoring that could be done, but this is sufficient for now.
2021-01-27 17:59:58 +00:00
Andy Allan
e4277a4b09
Convert issue comments to use bootstrap
...
The reassign checkbox could be simplified in future by changing the expected parameter in the controller
2021-01-27 17:50:07 +00:00
Andy Allan
eabc7f330b
Converge redaction forms to use bootstrap
2021-01-27 17:04:47 +00:00
Andy Allan
c0adab7aba
Convert note form to use bootstrap
2021-01-27 16:33:11 +00:00
Tom Hughes
810e4da85a
Fix locate control popup on the main map to use new translations
...
Fixes #3072
2021-01-27 13:48:54 +00:00
Andy Allan
f737d2d34a
Use model attributes and attribute help for the registration fields
...
The disply name keeps its specific help, since it is different on the account settings page
2021-01-27 12:36:21 +00:00
Mikel Maron
7d2ff8e4cd
reserve 60x60 in top right of survey banner
2021-01-24 20:31:21 -05:00
Mikel Maron
04cb8d488e
community survey banner
2021-01-22 14:52:49 -05:00
Tom Hughes
8ac2302837
Avoid concatenating text to a translation
...
Fixes #3064
2021-01-21 17:15:27 +00:00
Andy Allan
8e02c98c3f
Refactor diary comment form to use bootstrap
2021-01-20 15:38:10 +00:00
Andy Allan
cc8bb7c6a5
Refactor user registration form to use bootstrap
2021-01-20 15:38:10 +00:00
Andy Allan
601d28d4b4
Convert to use bootstrap form
2021-01-20 11:11:52 +00:00
Tom Hughes
812f5b44e8
Redirect after saving settings in case the username has changed
...
Fixes #3059
2021-01-19 18:57:34 +00:00
Andy Allan
e94a8a45ba
Refactor user_blocks form to use bootstrap
...
Further refactoring could involve a virtual attribute for duration.
2021-01-14 10:03:11 +00:00
Tom Hughes
4abd9cfcf1
Merge remote-tracking branch 'upstream/pull/2994'
2021-01-13 20:40:48 +00:00
Tom Hughes
697e36f364
Merge remote-tracking branch 'upstream/pull/3046'
2021-01-13 20:35:04 +00:00
Andy Allan
e8e4aa53d4
Refactor login form to use bootstrap
...
Care has been taken to preserve exact tabindexes, field values etc.
2021-01-13 19:20:06 +00:00
Andy Allan
78bf2993e4
Refactor richtext fields to use a custom bootstrap_form input.
...
This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.
2021-01-13 14:05:39 +00:00
Andy Allan
ed07e17ca2
Align the richtext help text height with the height of the textarea.
...
This works by setting the card to the same height as its containing flexbox. For perfect alignment, we need to make sure the extra margin at the bottom of the text-area stops applying when they are shown side by side.
2021-01-13 10:12:15 +00:00
Tom Hughes
0654be27f9
Fix new rubocop warnings
2021-01-11 19:17:31 +00:00
Andy Allan
85bf0af488
Merge branch 'pull/3035'
2021-01-06 15:41:42 +00:00
Andy Allan
76146baf60
Remove spacing tweaks and legacy pagination spacing CSS
...
No need to fight against something that we no longer use.
2021-01-06 15:40:53 +00:00
Andy Allan
9568c7fee8
Merge branch 'pull/3024'
2021-01-06 15:25:37 +00:00
Andy Allan
b5188cae08
Remove link_to_if since it's in a clause with the same condition
2021-01-06 15:24:50 +00:00
Tom Hughes
0ff89c31e4
Remove both Potlatch versions
...
Fixes #2622
2021-01-05 21:18:45 +00:00
Tobias Jordans
18ec273038
Traces: Migrate pagination to bootstrap
...
Same feature, different style.
- Change pagination to use bootstrap default styles
- … but with empty span-tags instead of non-active a-tags
- refactor partial to not use @-variables but get the variables via
the render-call, simplify render-call-syntax
- remove the additional `if @traces.size > 1` inside the pagination
partial since that caused the pagination to disappear on the last page.
The partial will be visible with inactive links.
- Add bootstrap spacer-classes to overwrite commons-css so removing. Eg.
commons also has a pagination class same as bootstrap.
2021-01-03 20:55:50 +01:00
Tobias
36a41a8cc5
Diary entries #index: Simplify bootstrap pagination
...
- We can use a span instead of a disabled link as well
- Update to use double quotes everywhere
2021-01-02 22:24:46 +01:00
Tobias Jordans
abc83298cd
Diary entries #index: Migrate to bootstrap pagination
...
Use https://getbootstrap.com/docs/4.5/components/pagination/ for the pagination.
I tried using link_to_if but this does not work well in this case since multiple changes need to happen for the disabled state.
2020-12-30 14:20:13 +01:00
Tom Hughes
e392556444
Revert "Switch to using the zeitwork autoloader"
...
This reverts commit 127880a73f
.
2020-12-29 19:29:36 +00:00
Tom Hughes
127880a73f
Switch to using the zeitwork autoloader
2020-12-29 18:42:22 +00:00
Tobias Jordans
b470e01f84
Break long URLs where richtext is used.
...
For example on the blog post show page.
This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.
2020-12-27 22:11:36 +01:00
Andy Allan
547459314b
Refactor diary entry forms to use a custom form builder
2020-12-24 13:32:41 +00:00
Andy Allan
170ea3399b
Ensure richtext editing style rules are only applied on standard forms
2020-12-24 13:32:41 +00:00
Andy Allan
4f304e2301
Remove SystemTimer and use stdlib Timeout directly
...
SystemTimer was only needed on ruby 1.8, and we dropped support for
that a long time ago.
2020-12-23 14:25:58 +00:00
Andy Allan
bd1420a7c5
Merge pull request #3009 from gravitystorm/svg_icons
...
Add updated authentication icons
2020-12-17 11:44:22 +00:00
Andy Allan
c192bd0d40
Use bootstrap utility class instead of custom css
2020-12-16 17:34:12 +00:00
Tom Hughes
384ac46102
Convert id column for oauth_nonces to bigint
2020-12-14 14:48:59 +00:00
Tom Hughes
88ba316abe
Merge remote-tracking branch 'upstream/pull/2999'
2020-12-09 14:51:04 +00:00
Andy Allan
651217e1bc
Add missing html suffix to translation key
...
The new key was added to the translations config file in a previous commit.
2020-12-08 13:50:22 +00:00
Frédéric Rodrigo
bab39572a1
Add CyclOSM layer
2020-12-06 21:29:36 +01:00
Tom Hughes
92712591c9
Merge remote-tracking branch 'upstream/pull/2993' into master
2020-12-06 18:44:33 +00:00