goodmap 0.3.1__tar.gz → 0.4.0__tar.gz
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.
- {goodmap-0.3.1 → goodmap-0.4.0}/PKG-INFO +2 -1
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/formatter.py +5 -3
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/templates/map.html +11 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/pyproject.toml +1 -1
- {goodmap-0.3.1 → goodmap-0.4.0}/LICENSE.md +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/README.md +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/__init__.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/core.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/core_api.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/data_models/location.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/data_validator.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/db.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/goodmap.py +0 -0
- {goodmap-0.3.1 → goodmap-0.4.0}/goodmap/templates/admin.html +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: goodmap
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Map engine to serve all the people :)
|
|
5
5
|
Author: Krzysztof Kolodzinski
|
|
6
6
|
Author-email: krzysztof.kolodzinski@problematy.pl
|
|
@@ -9,6 +9,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
13
|
Requires-Dist: Babel (>=2.10.3,<3.0.0)
|
|
13
14
|
Requires-Dist: Flask (==3.0.3)
|
|
14
15
|
Requires-Dist: Flask-Babel (>=4.0.0,<5.0.0)
|
|
@@ -18,8 +18,10 @@ def prepare_pin(place, visible_fields, meta_data):
|
|
|
18
18
|
"metadata": {
|
|
19
19
|
gettext(field): safe_gettext(place[field]) for field in meta_data if field in place
|
|
20
20
|
},
|
|
21
|
-
"data":
|
|
22
|
-
gettext(field)
|
|
23
|
-
|
|
21
|
+
"data": [
|
|
22
|
+
[gettext(field), safe_gettext(place[field])]
|
|
23
|
+
for field in visible_fields
|
|
24
|
+
if field in place
|
|
25
|
+
],
|
|
24
26
|
}
|
|
25
27
|
return pin_data
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
{% extends "base.html" %}
|
|
2
2
|
|
|
3
|
+
{% block head_meta %}
|
|
4
|
+
|
|
5
|
+
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
|
|
6
|
+
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
|
|
7
|
+
crossorigin=""/>
|
|
8
|
+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css" />
|
|
9
|
+
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css" />
|
|
10
|
+
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
|
|
3
14
|
{% block left_panel %}
|
|
4
15
|
<div id="filter-form"></div>
|
|
5
16
|
{% endblock %}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|