Commit graph

78 commits

Author SHA1 Message Date
nertc
08fa95cbfc When downloading image, allow other map styles 2024-07-15 19:08:49 +04:00
nertc
c66851f474 Share button unusable on a cell phone 2024-07-04 18:09:48 +04:00
Tom Hughes
161fc8ac47 Replace deprecated text-muted class with text-body-secondary 2024-05-22 11:58:32 +01:00
Anton Khorev
5c0a55d7ff Remove custom right sidebar section class 2024-04-11 17:55:05 +03:00
Anton Khorev
bf65abf268 Add tooltip to disabled html share button 2023-11-24 16:12:30 +03:00
Anton Khorev
6dd34d8430 Disable html share button for tracestracktopo layer 2023-11-24 15:12:41 +03:00
Andy Allan
01eed9b96c Make the sharing controls read-only
They aren't used for inputting any information, only for copying.
2023-09-06 18:10:02 +01:00
Andy Allan
dc24f6c219 Use bootstrap form controls for the link and html controls 2023-09-06 18:10:02 +01:00
Andy Allan
0ea6646fb6 Use bootstrap for share forms
This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.

Move the custom dimensions input to beside the custom dimensions
display.
2023-09-06 18:10:02 +01:00
Andy Allan
5f0c072ae0
Merge pull request #4120 from AntonKhorev/no-deprecated-iframe-attrs
Remove deprecated attributes from share html
2023-08-02 14:14:55 +01:00
Anton Khorev
c4b5392628 Remove deprecated attributes from share html 2023-07-29 20:34:10 +03:00
Anton Khorev
c3500b4b81 Remove display properties from share tabs 2023-07-29 19:26:20 +03:00
Andy Allan
aa78da82fe
Merge pull request #3694 from AntonKhorev/share-button-group
Use Bootstrap button group for share tabs
2022-10-19 16:24:08 +01:00
Anton Khorev
7702035963 Remove unnecessary appendTo() that is undone by append() right away 2022-09-17 09:14:46 +03:00
Anton Khorev
e60282da09 Remove share-tabs css class 2022-09-17 08:47:22 +03:00
Anton Khorev
79c524832e Use button group for share tabs 2022-09-17 08:34:53 +03:00
Anton Khorev
9acde429bf Inverted onAdd() method of sidebar panes 2022-08-27 22:55:19 +03:00
Anton Khorev
71e7208a0a Create pane button fn 2022-08-27 20:54:37 +03:00
Anton Khorev
8a02bd67d9 Create Leaflet sidebar pane control with header writer fn 2022-08-27 20:33:44 +03:00
Anton Khorev
89095c8981 Fix eslint errors 2022-07-27 21:36:54 +03:00
Anton Khorev
0322ed4295 Changed close buttons of banner and other leaflet sidebars to Bootstrap 2022-07-27 20:22:20 +03:00
Andy Allan
934d81aa55 Bootstrap 5: Replace all form-group classes with mb-3 2022-07-20 14:42:57 +01:00
Andy Allan
501e256419 Refactor the share panel to use bootstrap forms 2021-02-17 17:17:19 +00:00
Tom Hughes
8ac2302837 Avoid concatenating text to a translation
Fixes #3064
2021-01-21 17:15:27 +00:00
Andy Allan
1977e66ace Use bootstrap text-muted in place of custom deemphasze class
This avoids changing anything related to forms, since they will be
switched over to bootstrap separately.
2020-07-08 18:30:15 +02:00
Andy Allan
f885cfe0f5 Rename form-row to standard-form-row to avoid clashing with a bootstrap class 2020-01-15 17:16:11 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
8030e7b5d6 Enable some more eslint checks 2019-04-06 17:27:17 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
83d97699cc Use configured server protocol for shared URLs
Closes #939
2018-02-05 21:03:45 +00:00
Tom Hughes
93631482ce Make export form send authenticity token 2017-01-02 22:50:59 +00:00
Simon Legner
359d030a5b Only the standard layer can be exported
Fixes #1141
Closes #1182
2016-03-14 21:04:31 +00:00
Eric Theise
6403cb9b08 Add a Geo URI link to the share panel
Fixes #799
2015-06-25 17:56:03 +01:00
Tom Hughes
bd2e999756 Move some javascript functions out of global scope 2015-02-24 00:19:08 +00:00
Aaron Lidman
d3e99bc8bd Hide control tooltips on #map-ui expansion, closes #55 2013-11-15 11:26:36 -08:00
Eden Halperin
3689798a04 Return map-ui sidebars in mobile 2013-11-07 16:57:53 -05:00
Eden Halperin
89a132d31c user menu fix 2013-11-06 13:17:36 -05:00
Eden Halperin
7503caa750 touch up secondary pages and leaflet sidebar content 2013-11-05 12:37:29 -08:00
Omar Vega
2d0dcbd9d0 Adding internationalization in links share and layers. 2013-10-01 19:38:27 +01:00
Tom Hughes
5da715756d Fix "view larger map" link in HTML sharing 2013-08-12 00:24:32 +01:00
John Firebaugh
e6ef6defb2 Wrap marker coordinates in URLs 2013-08-06 10:44:02 -07:00
John Firebaugh
a89d75d3d8 Recenter marker on map pan/zoom 2013-08-05 12:27:37 -07:00
John Firebaugh
21ad851612 Reset filter bounds whenever it's enabled 2013-08-05 08:32:44 -07:00
John Firebaugh
48775da938 Make the toggles themselves permalinks 2013-08-05 08:32:44 -07:00
John Firebaugh
fa9b4a5f6a Add/remove active class on map UI buttons 2013-08-05 08:32:43 -07:00
John Firebaugh
95ce2515d1 Tweak labels 2013-08-05 08:31:47 -07:00
John Firebaugh
98cd01c40d Toggle between Link / Short Link / HTML 2013-08-05 08:31:47 -07:00
John Firebaugh
a3d69ee264 Put link next to input and make it non-navigable 2013-08-05 08:31:47 -07:00
John Firebaugh
f1a6755060 Always center map on marker
Not centering is of dubious usefulness, and doesn't work
at all with a short link.
2013-08-05 08:31:46 -07:00