umap-project 1.12.2__py3-none-any.whl → 1.13.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/br/LC_MESSAGES/django.po +82 -54
  4. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/cs_CZ/LC_MESSAGES/django.po +82 -54
  6. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/el/LC_MESSAGES/django.po +86 -58
  8. umap/locale/en/LC_MESSAGES/django.po +79 -51
  9. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  10. umap/locale/es/LC_MESSAGES/django.po +82 -54
  11. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  12. umap/locale/fr/LC_MESSAGES/django.po +84 -56
  13. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  14. umap/locale/hu/LC_MESSAGES/django.po +108 -80
  15. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  16. umap/locale/it/LC_MESSAGES/django.po +82 -54
  17. umap/locale/ms/LC_MESSAGES/django.mo +0 -0
  18. umap/locale/ms/LC_MESSAGES/django.po +82 -54
  19. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  20. umap/locale/pl/LC_MESSAGES/django.po +82 -54
  21. umap/locale/sv/LC_MESSAGES/django.mo +0 -0
  22. umap/locale/sv/LC_MESSAGES/django.po +82 -54
  23. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  24. umap/locale/zh_TW/LC_MESSAGES/django.po +86 -58
  25. umap/models.py +29 -0
  26. umap/static/umap/base.css +33 -5
  27. umap/static/umap/content.css +41 -2
  28. umap/static/umap/img/16.svg +12 -2
  29. umap/static/umap/img/source/16.svg +165 -820
  30. umap/static/umap/js/umap.browser.js +9 -3
  31. umap/static/umap/js/umap.controls.js +45 -217
  32. umap/static/umap/js/umap.core.js +66 -30
  33. umap/static/umap/js/umap.forms.js +18 -31
  34. umap/static/umap/js/umap.icon.js +44 -21
  35. umap/static/umap/js/umap.js +5 -26
  36. umap/static/umap/js/umap.layer.js +68 -25
  37. umap/static/umap/js/umap.popup.js +87 -0
  38. umap/static/umap/js/umap.share.js +254 -0
  39. umap/static/umap/js/umap.ui.js +4 -2
  40. umap/static/umap/locale/am_ET.js +19 -9
  41. umap/static/umap/locale/am_ET.json +19 -9
  42. umap/static/umap/locale/ar.js +19 -9
  43. umap/static/umap/locale/ar.json +19 -9
  44. umap/static/umap/locale/ast.js +19 -9
  45. umap/static/umap/locale/ast.json +19 -9
  46. umap/static/umap/locale/bg.js +19 -9
  47. umap/static/umap/locale/bg.json +19 -9
  48. umap/static/umap/locale/br.js +22 -12
  49. umap/static/umap/locale/br.json +22 -12
  50. umap/static/umap/locale/ca.js +19 -9
  51. umap/static/umap/locale/ca.json +19 -9
  52. umap/static/umap/locale/cs_CZ.js +19 -9
  53. umap/static/umap/locale/cs_CZ.json +19 -9
  54. umap/static/umap/locale/da.js +19 -9
  55. umap/static/umap/locale/da.json +19 -9
  56. umap/static/umap/locale/de.js +19 -9
  57. umap/static/umap/locale/de.json +19 -9
  58. umap/static/umap/locale/el.js +19 -9
  59. umap/static/umap/locale/el.json +19 -9
  60. umap/static/umap/locale/en.js +19 -9
  61. umap/static/umap/locale/en.json +19 -9
  62. umap/static/umap/locale/en_US.json +19 -9
  63. umap/static/umap/locale/es.js +19 -9
  64. umap/static/umap/locale/es.json +19 -9
  65. umap/static/umap/locale/et.js +19 -9
  66. umap/static/umap/locale/et.json +19 -9
  67. umap/static/umap/locale/fa_IR.js +19 -9
  68. umap/static/umap/locale/fa_IR.json +19 -9
  69. umap/static/umap/locale/fi.js +19 -9
  70. umap/static/umap/locale/fi.json +19 -9
  71. umap/static/umap/locale/fr.js +19 -9
  72. umap/static/umap/locale/fr.json +19 -9
  73. umap/static/umap/locale/gl.js +19 -9
  74. umap/static/umap/locale/gl.json +19 -9
  75. umap/static/umap/locale/he.js +19 -9
  76. umap/static/umap/locale/he.json +19 -9
  77. umap/static/umap/locale/hr.js +19 -9
  78. umap/static/umap/locale/hr.json +19 -9
  79. umap/static/umap/locale/hu.js +19 -9
  80. umap/static/umap/locale/hu.json +19 -9
  81. umap/static/umap/locale/id.js +19 -9
  82. umap/static/umap/locale/id.json +19 -9
  83. umap/static/umap/locale/is.js +19 -9
  84. umap/static/umap/locale/is.json +19 -9
  85. umap/static/umap/locale/it.js +19 -9
  86. umap/static/umap/locale/it.json +19 -9
  87. umap/static/umap/locale/ja.js +19 -9
  88. umap/static/umap/locale/ja.json +19 -9
  89. umap/static/umap/locale/ko.js +19 -9
  90. umap/static/umap/locale/ko.json +19 -9
  91. umap/static/umap/locale/lt.js +19 -9
  92. umap/static/umap/locale/lt.json +19 -9
  93. umap/static/umap/locale/ms.js +19 -9
  94. umap/static/umap/locale/ms.json +19 -9
  95. umap/static/umap/locale/nl.js +19 -9
  96. umap/static/umap/locale/nl.json +19 -9
  97. umap/static/umap/locale/no.js +19 -9
  98. umap/static/umap/locale/no.json +19 -9
  99. umap/static/umap/locale/pl.js +19 -9
  100. umap/static/umap/locale/pl.json +19 -9
  101. umap/static/umap/locale/pl_PL.json +19 -9
  102. umap/static/umap/locale/pt.js +19 -9
  103. umap/static/umap/locale/pt.json +19 -9
  104. umap/static/umap/locale/pt_BR.js +19 -9
  105. umap/static/umap/locale/pt_BR.json +19 -9
  106. umap/static/umap/locale/pt_PT.js +19 -9
  107. umap/static/umap/locale/pt_PT.json +19 -9
  108. umap/static/umap/locale/ro.js +19 -9
  109. umap/static/umap/locale/ro.json +19 -9
  110. umap/static/umap/locale/ru.js +19 -9
  111. umap/static/umap/locale/ru.json +19 -9
  112. umap/static/umap/locale/sk_SK.js +19 -9
  113. umap/static/umap/locale/sk_SK.json +19 -9
  114. umap/static/umap/locale/sl.js +19 -9
  115. umap/static/umap/locale/sl.json +19 -9
  116. umap/static/umap/locale/sr.js +19 -9
  117. umap/static/umap/locale/sr.json +19 -9
  118. umap/static/umap/locale/sv.js +19 -9
  119. umap/static/umap/locale/sv.json +19 -9
  120. umap/static/umap/locale/th_TH.js +19 -9
  121. umap/static/umap/locale/th_TH.json +19 -9
  122. umap/static/umap/locale/tr.js +19 -9
  123. umap/static/umap/locale/tr.json +19 -9
  124. umap/static/umap/locale/uk_UA.js +19 -9
  125. umap/static/umap/locale/uk_UA.json +19 -9
  126. umap/static/umap/locale/vi.js +19 -9
  127. umap/static/umap/locale/vi.json +19 -9
  128. umap/static/umap/locale/vi_VN.json +19 -9
  129. umap/static/umap/locale/zh.js +19 -9
  130. umap/static/umap/locale/zh.json +19 -9
  131. umap/static/umap/locale/zh_CN.json +19 -9
  132. umap/static/umap/locale/zh_TW.Big5.json +19 -9
  133. umap/static/umap/locale/zh_TW.js +55 -45
  134. umap/static/umap/locale/zh_TW.json +55 -45
  135. umap/static/umap/map.css +76 -9
  136. umap/static/umap/test/Map.Export.js +3 -3
  137. umap/static/umap/test/Polygon.js +2 -2
  138. umap/static/umap/test/Polyline.js +2 -0
  139. umap/static/umap/test/index.html +1 -0
  140. umap/static/umap/vendors/leaflet/leaflet-src.esm.js +7055 -7054
  141. umap/static/umap/vendors/toolbar/leaflet.toolbar-src.js +1 -1
  142. umap/templates/auth/user_form.html +1 -1
  143. umap/templates/umap/content.html +1 -1
  144. umap/templates/umap/js.html +1 -0
  145. umap/templates/umap/map_list.html +1 -1
  146. umap/templates/umap/map_table.html +67 -35
  147. umap/templates/umap/user_dashboard.html +23 -1
  148. umap/templatetags/umap_tags.py +7 -27
  149. umap/tests/integration/test_edit_datalayer.py +45 -0
  150. umap/tests/integration/test_export_map.py +2 -3
  151. umap/tests/integration/test_facets_browser.py +86 -0
  152. umap/utils.py +17 -0
  153. umap/views.py +7 -18
  154. {umap_project-1.12.2.dist-info → umap_project-1.13.0.dist-info}/METADATA +4 -11
  155. {umap_project-1.12.2.dist-info → umap_project-1.13.0.dist-info}/RECORD +158 -155
  156. {umap_project-1.12.2.dist-info → umap_project-1.13.0.dist-info}/WHEEL +0 -0
  157. {umap_project-1.12.2.dist-info → umap_project-1.13.0.dist-info}/entry_points.txt +0 -0
  158. {umap_project-1.12.2.dist-info → umap_project-1.13.0.dist-info}/licenses/LICENSE +0 -0
@@ -8,16 +8,16 @@
8
8
  # coop.shen <coop.shen@gmail.com>, 2014
9
9
  # coop.shen <coop.shen@gmail.com>, 2014
10
10
  # Hsin-lin Cheng (lancetw) <lancetw@gmail.com>, 2014
11
- # Sean Young <assanges@icloud.com>, 2016,2018
11
+ # Sean Young <assanges@icloud.com>, 2016,2018,2023
12
12
  # Supaplex <bejokeup@gmail.com>, 2014,2019
13
13
  # Yuan CHAO <yuanchao@gmail.com>, 2014
14
14
  msgid ""
15
15
  msgstr ""
16
16
  "Project-Id-Version: uMap\n"
17
17
  "Report-Msgid-Bugs-To: \n"
18
- "POT-Creation-Date: 2023-09-22 16:21+0000\n"
18
+ "POT-Creation-Date: 2024-01-08 12:33+0000\n"
19
19
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
20
- "Last-Translator: Supaplex <bejokeup@gmail.com>, 2019,2023\n"
20
+ "Last-Translator: Sean Young <assanges@icloud.com>, 2016,2018,2023\n"
21
21
  "Language-Team: Chinese (Taiwan) (http://app.transifex.com/openstreetmap/umap/language/zh_TW/)\n"
22
22
  "MIME-Version: 1.0\n"
23
23
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -33,115 +33,115 @@ msgstr "僅能由私密連結編輯"
33
33
  msgid "Everyone can edit"
34
34
  msgstr "所有人皆可編輯"
35
35
 
36
- #: forms.py:69 models.py:317
36
+ #: forms.py:69 models.py:349
37
37
  msgid "Inherit"
38
- msgstr ""
38
+ msgstr "繼承"
39
39
 
40
- #: middleware.py:14
40
+ #: middleware.py:13
41
41
  msgid "Site is readonly for maintenance"
42
42
  msgstr "網站目前因維護中設定為唯讀狀態"
43
43
 
44
- #: models.py:48
44
+ #: models.py:49
45
45
  msgid "name"
46
46
  msgstr "名稱"
47
47
 
48
- #: models.py:79
48
+ #: models.py:80
49
49
  msgid "details"
50
50
  msgstr "詳情"
51
51
 
52
- #: models.py:80
52
+ #: models.py:81
53
53
  msgid "Link to a page where the licence is detailed."
54
54
  msgstr "連結至授權條款說明網址"
55
55
 
56
- #: models.py:90
56
+ #: models.py:91
57
57
  msgid "URL template using OSM tile format"
58
58
  msgstr "URL 樣板,使用 OSM 地圖磚格式"
59
59
 
60
- #: models.py:96
60
+ #: models.py:97
61
61
  msgid "Order of the tilelayers in the edit box"
62
62
  msgstr "編輯方塊中地圖磚的圖層順序"
63
63
 
64
- #: models.py:142 models.py:318
64
+ #: models.py:143 models.py:350
65
65
  msgid "Everyone"
66
66
  msgstr "所有人"
67
67
 
68
- #: models.py:143 models.py:149 models.py:319
68
+ #: models.py:144 models.py:150 models.py:351
69
69
  msgid "Editors only"
70
70
  msgstr "只有編輯者"
71
71
 
72
- #: models.py:144 models.py:320
72
+ #: models.py:145 models.py:352
73
73
  msgid "Owner only"
74
74
  msgstr "只有擁有者"
75
75
 
76
- #: models.py:147
76
+ #: models.py:148
77
77
  msgid "Everyone (public)"
78
78
  msgstr "所有人 (公開)"
79
79
 
80
- #: models.py:148
80
+ #: models.py:149
81
81
  msgid "Anyone with link"
82
82
  msgstr "任何有連結的人"
83
83
 
84
- #: models.py:150
84
+ #: models.py:151
85
85
  msgid "Blocked"
86
86
  msgstr "已經封銷了"
87
87
 
88
- #: models.py:153 models.py:324
88
+ #: models.py:154 models.py:356
89
89
  msgid "description"
90
90
  msgstr "描述"
91
91
 
92
- #: models.py:154
92
+ #: models.py:155
93
93
  msgid "center"
94
94
  msgstr "中心"
95
95
 
96
- #: models.py:155
96
+ #: models.py:156
97
97
  msgid "zoom"
98
98
  msgstr "縮放"
99
99
 
100
- #: models.py:157
100
+ #: models.py:158
101
101
  msgid "locate"
102
102
  msgstr "定位"
103
103
 
104
- #: models.py:157
104
+ #: models.py:158
105
105
  msgid "Locate user on load?"
106
106
  msgstr "載入時使用定位功能?"
107
107
 
108
- #: models.py:161
108
+ #: models.py:162
109
109
  msgid "Choose the map licence."
110
110
  msgstr "選擇地圖授權"
111
111
 
112
- #: models.py:162
112
+ #: models.py:163
113
113
  msgid "licence"
114
114
  msgstr "授權"
115
115
 
116
- #: models.py:172
116
+ #: models.py:174
117
117
  msgid "owner"
118
118
  msgstr "擁有者"
119
119
 
120
- #: models.py:176
120
+ #: models.py:178
121
121
  msgid "editors"
122
122
  msgstr "編輯者"
123
123
 
124
- #: models.py:181 models.py:338
124
+ #: models.py:183 models.py:370
125
125
  msgid "edit status"
126
126
  msgstr "編輯狀態"
127
127
 
128
- #: models.py:186
128
+ #: models.py:188
129
129
  msgid "share status"
130
130
  msgstr "分享狀態"
131
131
 
132
- #: models.py:189 models.py:333
132
+ #: models.py:191 models.py:365
133
133
  msgid "settings"
134
134
  msgstr "設定"
135
135
 
136
- #: models.py:268
136
+ #: models.py:298
137
137
  msgid "Clone of"
138
138
  msgstr "複製"
139
139
 
140
- #: models.py:328
140
+ #: models.py:360
141
141
  msgid "display on load"
142
142
  msgstr "載入時顯示"
143
143
 
144
- #: models.py:329
144
+ #: models.py:361
145
145
  msgid "Display this layer on load."
146
146
  msgstr "載入此圖層時顯示"
147
147
 
@@ -298,50 +298,78 @@ msgstr "找點子,瀏覽其他地圖"
298
298
  msgid "You are logged in. Continuing..."
299
299
  msgstr "您已登入,繼續中..."
300
300
 
301
- #: templates/umap/map_list.html:9 views.py:303
301
+ #: templates/umap/map_list.html:9 views.py:296
302
302
  msgid "by"
303
303
  msgstr "由"
304
304
 
305
- #: templates/umap/map_list.html:17 templates/umap/map_table.html:39
305
+ #: templates/umap/map_list.html:17
306
306
  msgid "More"
307
307
  msgstr "更多"
308
308
 
309
- #: templates/umap/map_table.html:6
310
- msgid "Map"
311
- msgstr "地圖"
312
-
313
- #: templates/umap/map_table.html:7
309
+ #: templates/umap/map_table.html:5
314
310
  msgid "Name"
315
311
  msgstr "名稱"
316
312
 
317
- #: templates/umap/map_table.html:8
313
+ #: templates/umap/map_table.html:6
314
+ msgid "Preview"
315
+ msgstr ""
316
+
317
+ #: templates/umap/map_table.html:7
318
318
  msgid "Who can see / edit"
319
319
  msgstr "誰可以檢視 / 編輯"
320
320
 
321
- #: templates/umap/map_table.html:9
321
+ #: templates/umap/map_table.html:8
322
322
  msgid "Last save"
323
323
  msgstr "最後儲存"
324
324
 
325
- #: templates/umap/map_table.html:10
325
+ #: templates/umap/map_table.html:9
326
326
  msgid "Owner"
327
327
  msgstr "擁有者"
328
328
 
329
- #: templates/umap/map_table.html:11
329
+ #: templates/umap/map_table.html:10
330
330
  msgid "Actions"
331
331
  msgstr "動作"
332
332
 
333
- #: templates/umap/map_table.html:28
333
+ #: templates/umap/map_table.html:22
334
+ msgid "Open preview"
335
+ msgstr ""
336
+
337
+ #: templates/umap/map_table.html:38
334
338
  msgid "Share"
335
339
  msgstr "分享"
336
340
 
337
- #: templates/umap/map_table.html:29
341
+ #: templates/umap/map_table.html:39
338
342
  msgid "Edit"
339
343
  msgstr "編輯"
340
344
 
341
- #: templates/umap/map_table.html:30
345
+ #: templates/umap/map_table.html:40
342
346
  msgid "Download"
343
347
  msgstr "下載"
344
348
 
349
+ #: templates/umap/map_table.html:49
350
+ msgid "first"
351
+ msgstr ""
352
+
353
+ #: templates/umap/map_table.html:50
354
+ msgid "previous"
355
+ msgstr ""
356
+
357
+ #: templates/umap/map_table.html:59
358
+ #, python-format
359
+ msgid ""
360
+ "\n"
361
+ " Page %(maps_number)s of %(num_pages)s\n"
362
+ " "
363
+ msgstr ""
364
+
365
+ #: templates/umap/map_table.html:65
366
+ msgid "next"
367
+ msgstr ""
368
+
369
+ #: templates/umap/map_table.html:66
370
+ msgid "last"
371
+ msgstr ""
372
+
345
373
  #: templates/umap/navigation.html:15
346
374
  msgid "Starred maps"
347
375
  msgstr "打心號的地圖"
@@ -438,52 +466,52 @@ msgstr "我的個人檔案"
438
466
  msgid "You have no map yet."
439
467
  msgstr "你目前還沒有地圖。"
440
468
 
441
- #: views.py:308
469
+ #: views.py:301
442
470
  msgid "View the map"
443
471
  msgstr "檢視地圖"
444
472
 
445
- #: views.py:658
473
+ #: views.py:660
446
474
  msgid "Map has been updated!"
447
475
  msgstr "地圖已經更新"
448
476
 
449
- #: views.py:683
477
+ #: views.py:685
450
478
  msgid "Map editors updated with success!"
451
479
  msgstr "地圖編輯者更新完成"
452
480
 
453
- #: views.py:721
481
+ #: views.py:723
454
482
  #, python-format
455
483
  msgid "The uMap edit link for your map: %(map_name)s"
456
484
  msgstr "你的地圖 uMap 編輯連結:%(map_name)s"
457
485
 
458
- #: views.py:724
486
+ #: views.py:726
459
487
  #, python-format
460
488
  msgid "Here is your secret edit link: %(link)s"
461
489
  msgstr "這是你的祕密編輯連結:%(link)s"
462
490
 
463
- #: views.py:730
491
+ #: views.py:732
464
492
  #, python-format
465
493
  msgid "Email sent to %(email)s"
466
494
  msgstr "電子郵件寄至 %(email)s"
467
495
 
468
- #: views.py:741
496
+ #: views.py:743
469
497
  msgid "Only its owner can delete the map."
470
498
  msgstr "只有擁有者可以刪除此地圖"
471
499
 
472
- #: views.py:764
500
+ #: views.py:766
473
501
  #, python-format
474
502
  msgid ""
475
503
  "Your map has been cloned! If you want to edit this map from another "
476
504
  "computer, please use this link: %(anonymous_url)s"
477
505
  msgstr "您的地圖已複製完成!如果您想在不同的機器編輯這個地圖,請使用這個連結:%(anonymous_url)s"
478
506
 
479
- #: views.py:769
507
+ #: views.py:771
480
508
  msgid "Congratulations, your map has been cloned!"
481
509
  msgstr "恭喜,您的地圖已被複製!"
482
510
 
483
- #: views.py:958
511
+ #: views.py:1007
484
512
  msgid "Layer successfully deleted."
485
513
  msgstr "圖層已刪除"
486
514
 
487
- #: views.py:980
515
+ #: views.py:1029
488
516
  msgid "Permissions updated with success!"
489
- msgstr ""
517
+ msgstr "權限更新完成"
umap/models.py CHANGED
@@ -11,6 +11,7 @@ from django.urls import reverse
11
11
  from django.utils.translation import gettext_lazy as _
12
12
 
13
13
  from .managers import PublicManager
14
+ from .utils import _urls_for_js
14
15
 
15
16
 
16
17
  # Did not find a clean way to do this in Django
@@ -193,6 +194,34 @@ class Map(NamedModel):
193
194
  objects = models.Manager()
194
195
  public = PublicManager()
195
196
 
197
+ @property
198
+ def preview_settings(self):
199
+ layers = self.datalayer_set.all()
200
+ datalayer_data = [c.metadata() for c in layers]
201
+ map_settings = self.settings
202
+ if "properties" not in map_settings:
203
+ map_settings["properties"] = {}
204
+ map_settings["properties"].update(
205
+ {
206
+ "tilelayers": [TileLayer.get_default().json],
207
+ "datalayers": datalayer_data,
208
+ "urls": _urls_for_js(),
209
+ "STATIC_URL": settings.STATIC_URL,
210
+ "editMode": "disabled",
211
+ "hash": False,
212
+ "attributionControl": False,
213
+ "scrollWheelZoom": False,
214
+ "umapAttributionControl": False,
215
+ "noControl": True,
216
+ "umap_id": self.pk,
217
+ "onLoadPanel": "none",
218
+ "captionBar": False,
219
+ "default_iconUrl": "%sumap/img/marker.png" % settings.STATIC_URL,
220
+ "slideshow": {},
221
+ }
222
+ )
223
+ return map_settings
224
+
196
225
  def get_absolute_url(self):
197
226
  return reverse("map", kwargs={"slug": self.slug or "map", "map_id": self.pk})
198
227
 
umap/static/umap/base.css CHANGED
@@ -162,13 +162,15 @@ textarea {
162
162
  padding: 7px;
163
163
  }
164
164
  select {
165
+ border: 1px solid #222;
165
166
  width: 100%;
166
167
  height: 28px;
167
168
  line-height: 28px;
169
+ margin-top: 5px;
170
+ }
171
+ .dark select {
168
172
  color: #efefef;
169
- border: 1px solid #222;
170
173
  background-color: #393F3F;
171
- margin-top: 5px;
172
174
  }
173
175
  select[multiple="multiple"] {
174
176
  height: auto;
@@ -294,16 +296,19 @@ input[type="file"] + .error {
294
296
  text-align: left;
295
297
  display: block;
296
298
  cursor: pointer;
297
- background-color: #232729;
299
+ background-color: #eee;
298
300
  height: 30px;
299
301
  line-height: 30px;
300
- color: #fff;
301
302
  margin: 0;
302
303
  font-family: fira_sans;
303
304
  font-weight: normal;
304
305
  font-size: 1.2em;
305
306
  padding: 0 5px;
306
307
  }
308
+ .dark .fieldset.toggle .legend {
309
+ background-color: #232729;
310
+ color: #fff;
311
+ }
307
312
  .fieldset.toggle .legend:before {
308
313
  background-repeat: no-repeat;
309
314
  text-indent: 24px;
@@ -311,11 +316,14 @@ input[type="file"] + .error {
311
316
  width: 24px;
312
317
  line-height: 24px;
313
318
  display: inline-block;
314
- background-image: url('./img/16-white.svg');
319
+ background-image: url('./img/16.svg');
315
320
  vertical-align: bottom;
316
321
  content: " ";
317
322
  background-position: -144px -76px;
318
323
  }
324
+ .dark .fieldset.toggle .legend:before {
325
+ background-image: url('./img/16-white.svg');
326
+ }
319
327
  .fieldset.toggle.on .legend:before {
320
328
  background-position: -144px -51px;
321
329
  }
@@ -584,6 +592,8 @@ i.info {
584
592
  text-align: center;
585
593
  margin-bottom: 5px;
586
594
  display: block;
595
+ color: black;
596
+ font-weight: bold;
587
597
  }
588
598
  .umap-pictogram-choice img {
589
599
  vertical-align: middle;
@@ -643,6 +653,24 @@ input[type=hidden].blur + .button,
643
653
  input[type=hidden].blur + [type="button"] {
644
654
  display: none;
645
655
  }
656
+ .copiable-input {
657
+ display: flex;
658
+ align-items: end;
659
+ }
660
+ .copiable-input input {
661
+ border-radius: initial;
662
+ }
663
+ .copiable-input button {
664
+ background-repeat: no-repeat;
665
+ background-image: url('./img/16.svg');
666
+ background-position: -45px -140px;
667
+ display: inline;
668
+ padding: 0 10px;
669
+ height: 32px;
670
+ width: 32px;
671
+ border: 1px solid #202425;
672
+ border-radius: initial;
673
+ }
646
674
 
647
675
  /* *********** */
648
676
  /* Panel */
@@ -134,6 +134,9 @@ h2.section {
134
134
  padding-top: 28px;
135
135
  }
136
136
  h2.tabs a {
137
+ color: #666;
138
+ }
139
+ h2.tabs a:not(.selected) {
137
140
  font-weight: normal;
138
141
  color: #666;
139
142
  }
@@ -296,9 +299,9 @@ table.maps {
296
299
  width: 100%;
297
300
  }
298
301
  table.maps .map_fragment {
299
- height: 100px;
302
+ display: block;
303
+ height: 80vh;
300
304
  width: 100%;
301
- min-width: 200px;
302
305
  }
303
306
  table.maps tbody tr:nth-child(odd) {
304
307
  background-color: #f4f4f4;
@@ -309,6 +312,42 @@ table.maps td {
309
312
  table.maps thead tr {
310
313
  line-height: 2em;
311
314
  }
315
+ table.maps .button {
316
+ margin-bottom: 2px;
317
+ padding:4px 6px;
318
+ height: 36px;
319
+ line-height: 23px;
320
+ }
321
+
322
+ /* **************************** */
323
+ /* Dialog */
324
+ /* **************************** */
325
+ dialog {
326
+ width: 90vw;
327
+ height: 90vh;
328
+ }
329
+ dialog::backdrop {
330
+ background: #fff5;
331
+ backdrop-filter: blur(4px);
332
+ }
333
+ .close-dialog {
334
+ text-align: center;
335
+ margin-bottom: 0;
336
+ }
337
+
338
+ /* ********************************* */
339
+ /* Pagination */
340
+ /* ********************************* */
341
+ .pagination {
342
+ display: flex;
343
+ flex-direction: row;
344
+ justify-content: space-around;
345
+ margin: 1rem;
346
+ border-top: 1px solid gray;
347
+ }
348
+ .pagination > * {
349
+ padding: 1rem;
350
+ }
312
351
 
313
352
 
314
353
  /* ************************************************* */
@@ -1,5 +1,8 @@
1
- <svg id="svg2" width="144" height="168" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
1
+ <svg id="svg2" width="168" height="168" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
2
2
  <defs id="defs4">
3
+ <marker id="Arrow1" overflow="visible" markerHeight="6.7071066" markerWidth="4.0606604" orient="auto-start-reverse" preserveAspectRatio="xMidYMid" viewBox="0 0 4.0606602 6.7071068">
4
+ <path id="path5057" transform="rotate(180 .125 0)" d="m3-3-3 3 3 3" fill="none" stroke="context-stroke"/>
5
+ </marker>
3
6
  <mask id="mask0_181_11898" x="2" y="2" width="15" height="15" maskUnits="userSpaceOnUse">
4
7
  <path id="path2351" d="m16.04 2.3158h-14.035v14.035h14.035z" fill="#fff"/>
5
8
  </mask>
@@ -13,7 +16,6 @@
13
16
  </rdf:RDF>
14
17
  </metadata>
15
18
  <g id="layer1" transform="translate(0 -812.36)">
16
- <text id="text4457" x="5.7867966" y="897.80786" fill="#000000" font-family="sans-serif" letter-spacing="0px" word-spacing="0px" style="line-height:0%" xml:space="preserve"><tspan id="tspan4459" x="5.7867966" y="897.80786" font-family="sans-serif" font-size="40px" style="line-height:1.25"> </tspan></text>
17
19
  <g id="help" transform="translate(-23.256 -119.39)">
18
20
  <circle id="path3014" transform="matrix(1.0714 0 0 1.0714 26.684 934.11)" cx="8" cy="9" r="7" fill="none" stroke="#4d4d4d" stroke-width=".93333"/>
19
21
  <g id="text3784" transform="translate(27.256 -100.61)" fill="#4d4d4d">
@@ -168,5 +170,13 @@
168
170
  </g>
169
171
  <path id="path2378" d="m25.147 1.8521h-4.2439c-0.07035 0-0.13782 0.027946-0.18756 0.077689-0.04974 0.049744-0.07769 0.11721-0.07769 0.18756v4.2439c0 0.070353 0.02795 0.13782 0.07769 0.18756 0.04974 0.049742 0.11721 0.077682 0.18756 0.077682h4.2439c0.07035 0 0.13782-0.02794 0.18756-0.077682 0.04974-0.049742 0.07768-0.11721 0.07768-0.18756v-4.2439c0-0.070349-0.02794-0.13782-0.07768-0.18756-0.04974-0.049743-0.11721-0.077689-0.18756-0.077689zm-0.26524 4.1591h-3.7135v-3.5463h3.7135z" fill="#464646" stroke-width=".26458"/>
170
172
  </g>
173
+ <path id="arrow-down" d="m156 875.36 6-6h-12z" fill="#4d4d4d" fill-rule="evenodd"/>
174
+ <path id="arrow-right" d="m159 896.36-6-6v12z" fill="#4d4d4d" fill-rule="evenodd"/>
175
+ <path id="downloadfile" d="m14.182 962.12v2.6078h2.6078zm2.9091 4.0624h-2.9091c-0.80332 0-1.4545-0.65122-1.4545-1.4545v-2.9091h-5.8182v13.091h10.182zm-10.182-5.8182h7.574l4.0624 4.0624v10.483c0 0.80333-0.65122 1.4546-1.4545 1.4546h-10.182c-0.80332 0-1.4545-0.65122-1.4545-1.4546v-13.091c0-0.80333 0.65122-1.4546 1.4545-1.4546zm4.3636 9.8806v-3.3351h1.4545v3.3351l0.94028-0.94029 1.0285 1.0285-2.6961 2.6961-2.6961-2.6961 1.0285-1.0285z" fill="#464646" fill-rule="evenodd" stroke-width=".72727"/>
176
+ <g id="downloadbackup">
177
+ <path id="path8303-6" d="m42.545 974.91c0 0.80333-0.65122 1.4546-1.4545 1.4546h-10.182c-0.80332 0-1.4545-0.65122-1.4545-1.4546h13.091z" fill="#464646" stroke-width=".72727"/>
178
+ <path id="path16669" d="m36 963.88v8.3163" fill="none" marker-end="url(#Arrow1)" stroke="#464646" stroke-width="1.5"/>
179
+ </g>
180
+ <path id="copy" d="m58.25 962.61v3.5h4v4h3.5v-7.5zm-4 4v7.5h7.5v-7.5z" fill="#4d4d4d" style="paint-order:fill markers stroke"/>
171
181
  </g>
172
182
  </svg>