geo-activity-playground 1.12.1__py3-none-any.whl → 1.12.2__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.
- geo_activity_playground/webui/blueprints/settings_blueprint.py +19 -9
- geo_activity_playground/webui/templates/explorer/server-side.html.j2 +3 -2
- {geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/METADATA +1 -1
- {geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/RECORD +7 -7
- {geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/LICENSE +0 -0
- {geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/WHEEL +0 -0
- {geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/entry_points.txt +0 -0
|
@@ -188,15 +188,17 @@ def make_settings_blueprint(
|
|
|
188
188
|
@needs_authentication(authenticator)
|
|
189
189
|
def color_strategy():
|
|
190
190
|
if request.method == "POST":
|
|
191
|
-
config_accessor().color_strategy_max_cluster_color =
|
|
192
|
-
"color_strategy_max_cluster_color"
|
|
193
|
-
|
|
194
|
-
config_accessor().color_strategy_max_cluster_other_color =
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
191
|
+
config_accessor().color_strategy_max_cluster_color = _add_alpha_if_needed(
|
|
192
|
+
request.form["color_strategy_max_cluster_color"]
|
|
193
|
+
)
|
|
194
|
+
config_accessor().color_strategy_max_cluster_other_color = (
|
|
195
|
+
_add_alpha_if_needed(
|
|
196
|
+
request.form["color_strategy_max_cluster_other_color"]
|
|
197
|
+
)
|
|
198
|
+
)
|
|
199
|
+
config_accessor().color_strategy_visited_color = _add_alpha_if_needed(
|
|
200
|
+
request.form["color_strategy_visited_color"]
|
|
201
|
+
)
|
|
200
202
|
config_accessor().color_strategy_cmap_opacity = float(
|
|
201
203
|
request.form["color_strategy_cmap_opacity"]
|
|
202
204
|
)
|
|
@@ -624,3 +626,11 @@ def save_privacy_zones(
|
|
|
624
626
|
config_accessor().privacy_zones = new_zone_config
|
|
625
627
|
config_accessor.save()
|
|
626
628
|
flash("Updated privacy zones.", category="success")
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
def _add_alpha_if_needed(color_str: str) -> str:
|
|
632
|
+
if 6 <= len(color_str) <= 7:
|
|
633
|
+
color_str += "4d"
|
|
634
|
+
if len(color_str) == 7:
|
|
635
|
+
color_str = "#" + color_str
|
|
636
|
+
return color_str
|
|
@@ -52,8 +52,6 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</div>
|
|
54
54
|
|
|
55
|
-
<p><a href="{{ url_for('settings.color_strategy') }}">Modify color values</a>.</p>
|
|
56
|
-
|
|
57
55
|
{% if bookmarks %}
|
|
58
56
|
<h2 class="mb-3">Bookmarked cluster sizes</h2>
|
|
59
57
|
|
|
@@ -107,6 +105,9 @@
|
|
|
107
105
|
</div>
|
|
108
106
|
</div>
|
|
109
107
|
|
|
108
|
+
<h2 class="mb-3">Tile coloring</h2>
|
|
109
|
+
<p><a href="{{ url_for('settings.color_strategy') }}">Modify color values</a>.</p>
|
|
110
|
+
|
|
110
111
|
<h2 class="mb-3">Tile URLs</h2>
|
|
111
112
|
|
|
112
113
|
<p>You can use the overlay tiles with other services like <a href="https://bikerouter.de/" target="_blank">Bike
|
{geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/RECORD
RENAMED
|
@@ -79,7 +79,7 @@ geo_activity_playground/webui/blueprints/heatmap_blueprint.py,sha256=prERVBOxq2x
|
|
|
79
79
|
geo_activity_playground/webui/blueprints/photo_blueprint.py,sha256=i4-AS9icK6pDypTdl-coTZyKldXtpukGiNbKsihfpl0,7299
|
|
80
80
|
geo_activity_playground/webui/blueprints/plot_builder_blueprint.py,sha256=SttkVghm4msPmEbSmxZj3e1Q-e2-YdhH6zjZGaiYEQg,3844
|
|
81
81
|
geo_activity_playground/webui/blueprints/search_blueprint.py,sha256=hY3hfGTip24AEf7NVTPtQt2hj7MEAcG3gbJd42NY3Ic,2258
|
|
82
|
-
geo_activity_playground/webui/blueprints/settings_blueprint.py,sha256=
|
|
82
|
+
geo_activity_playground/webui/blueprints/settings_blueprint.py,sha256=YVWSmtQJGkd3X3T_SJ_Ih0yqUch4ojJETH2UJ1JGZHw,23332
|
|
83
83
|
geo_activity_playground/webui/blueprints/square_planner_blueprint.py,sha256=xVaxJxmt8Dysl3UL9f2y__LVLtTH2Np1Ust4OSXKRAk,4746
|
|
84
84
|
geo_activity_playground/webui/blueprints/summary_blueprint.py,sha256=giVLJttJ2myJ6n5Xg5aq3hFvfu7MPo1euyYZGVAaBBk,6746
|
|
85
85
|
geo_activity_playground/webui/blueprints/tile_blueprint.py,sha256=YzZf9OrNdjhc1_j4MtO1DMcw1uCv29ueNsYd-mWqgbg,837
|
|
@@ -141,7 +141,7 @@ geo_activity_playground/webui/templates/eddington/distance.html.j2,sha256=9cLlIr
|
|
|
141
141
|
geo_activity_playground/webui/templates/eddington/elevation_gain.html.j2,sha256=h2mI1Uc1-P7rN_SeCVP_uadpQqX09ZpBG3Z6N8QWNLw,4723
|
|
142
142
|
geo_activity_playground/webui/templates/elevation_eddington/index.html.j2,sha256=WjquRFWaMzIZrvByhRIuhJbSCUW2HTfMck6THQHZI-I,4743
|
|
143
143
|
geo_activity_playground/webui/templates/equipment/index.html.j2,sha256=6pzSCJACMXA1fKgsO_KrCTvpumAKlelzj5f9dReey14,1742
|
|
144
|
-
geo_activity_playground/webui/templates/explorer/server-side.html.j2,sha256=
|
|
144
|
+
geo_activity_playground/webui/templates/explorer/server-side.html.j2,sha256=K6Bov5D3dpiW8XgqCp3cJWZvUBxNoAUu7cMNVaQEeUQ,5570
|
|
145
145
|
geo_activity_playground/webui/templates/export/index.html.j2,sha256=vxqpAm9KnT405Qz7q0_td-HZ4mCjcPR4Lp6EnIEWisg,1652
|
|
146
146
|
geo_activity_playground/webui/templates/hall_of_fame/index.html.j2,sha256=P15fVPjXf0Wf6K_hd_lCMuw6-Q8_qfNqsBOWNpMfoXw,1804
|
|
147
147
|
geo_activity_playground/webui/templates/heatmap/index.html.j2,sha256=Q99v4LP5EnuvDYKayL52qujWaIroLsD89ly2cM2YvTI,1420
|
|
@@ -178,8 +178,8 @@ geo_activity_playground/webui/templates/summary/vega-chart.html.j2,sha256=mw8Hti
|
|
|
178
178
|
geo_activity_playground/webui/templates/time_zone_fixer/index.html.j2,sha256=s9r6BJMXmd7kLSyjkvH4xLi6e01S5bpGRcMgMMJyCAE,1760
|
|
179
179
|
geo_activity_playground/webui/templates/upload/index.html.j2,sha256=5W2gpm4eSvidOyJOCSZZbvTZaTkSWNrOWux3-oIm0zI,784
|
|
180
180
|
geo_activity_playground/webui/templates/upload/reload.html.j2,sha256=YZWX5eDeNyqKJdQAywDBcU8DZBm22rRBbZqFjrFrCvQ,556
|
|
181
|
-
geo_activity_playground-1.12.
|
|
182
|
-
geo_activity_playground-1.12.
|
|
183
|
-
geo_activity_playground-1.12.
|
|
184
|
-
geo_activity_playground-1.12.
|
|
185
|
-
geo_activity_playground-1.12.
|
|
181
|
+
geo_activity_playground-1.12.2.dist-info/LICENSE,sha256=4RpAwKO8bPkfXH2lnpeUW0eLkNWglyG4lbrLDU_MOwY,1070
|
|
182
|
+
geo_activity_playground-1.12.2.dist-info/METADATA,sha256=0yPugHx4y1UoKRI1Jy37Xu-vC-MIUvXz-Qym23Eyh10,1836
|
|
183
|
+
geo_activity_playground-1.12.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
184
|
+
geo_activity_playground-1.12.2.dist-info/entry_points.txt,sha256=pbNlLI6IIZIp7nPYCfAtiSiz2oxJSCl7DODD6SPkLKk,81
|
|
185
|
+
geo_activity_playground-1.12.2.dist-info/RECORD,,
|
{geo_activity_playground-1.12.1.dist-info → geo_activity_playground-1.12.2.dist-info}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|