Update public source
This commit is contained in:
@@ -228,7 +228,8 @@ def build_standard_popup(
|
||||
|
||||
rows.append(
|
||||
"Координаты: "
|
||||
f"{escape_html(coordinates)} "
|
||||
f"{escape_html(coordinates)}"
|
||||
"<br>"
|
||||
"<button "
|
||||
"type=\"button\" "
|
||||
"class=\"map-popup-copy\" "
|
||||
|
||||
@@ -678,6 +678,22 @@ def build_geojson(
|
||||
)
|
||||
)
|
||||
|
||||
elif category == "open":
|
||||
|
||||
popup = build_search_popup(
|
||||
access_point,
|
||||
"open",
|
||||
"OPEN AP",
|
||||
credentials=credentials.get(
|
||||
access_point_id,
|
||||
[]
|
||||
),
|
||||
handshakes=handshakes.get(
|
||||
access_point_id,
|
||||
[]
|
||||
)
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
popup = popup_other(
|
||||
|
||||
@@ -1419,6 +1419,13 @@ code {
|
||||
}
|
||||
|
||||
|
||||
.search-popup-category.open {
|
||||
background: rgba(171, 71, 188, 0.16);
|
||||
|
||||
color: #AB47BC;
|
||||
}
|
||||
|
||||
|
||||
.search-popup-section {
|
||||
margin-top: 9px;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user