From 9ae59b52cc3edbf647cb4ed5da8b01f70133a64b Mon Sep 17 00:00:00 2001 From: ashley Date: Sun, 17 Aug 2025 14:04:52 +0200 Subject: [PATCH] Update html/map.ejs Signed-off-by: ashley --- html/map.ejs | 985 ++++++++++++++++++++++++++------------------------- 1 file changed, 507 insertions(+), 478 deletions(-) diff --git a/html/map.ejs b/html/map.ejs index 800c455b..2206606e 100644 --- a/html/map.ejs +++ b/html/map.ejs @@ -2,7 +2,7 @@ - PokeMaps Beta + PokeMaps Public Beta @@ -21,10 +21,6 @@ .search{position:relative;flex:1;min-width:0} .search input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #333;background:#0b0b0b;color:#fff;outline:none} .search input:focus{border-color:#444;box-shadow:0 0 0 3px rgba(14,165,233,.15)} - .chips{display:flex;gap:6px;margin-top:6px;flex-wrap:wrap} - .chip{border:1px solid var(--chipb);background:var(--chip);color:#ddd;padding:6px 10px;border-radius:999px;cursor:pointer} - .chip:active{transform:scale(.98)} - .tips{position:absolute;right:8px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--tip);font-size:12px} .suggest{position:absolute;top: calc(100% + 6px);left:0;right:0;max-height:42vh;overflow:auto;margin:0;padding:6px 0;list-style:none;border:1px solid #333;border-radius:12px;background:#0b0b0b;display:none} .suggest li{padding:10px 12px;cursor:pointer;border-top:1px solid #111;display:flex;gap:8px;align-items:center} .suggest li:first-child{border-top:none} @@ -32,10 +28,8 @@ .suggest .pill{font-size:11px;border:1px solid #333;border-radius:999px;padding:2px 6px;opacity:.85} .suggest mark{background:transparent;color:var(--accent);font-weight:600} .iconbtn{border:0;border-radius:10px;background:#222;color:#fff;padding:10px 12px;min-width:44px} - .mapwrap{position:relative;height:calc(var(--vh) - 56px);overflow:hidden} iframe#map{position:absolute;inset:0;border:0;width:100%;height:100%} - .marker{ position:absolute;left:50%;top:50%; width:var(--marker-size);height:var(--marker-size); @@ -65,11 +59,11 @@ border:1px solid #333;display:none;min-width:260px;text-align:right; font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","DejaVu Sans Mono",monospace} - .menu{position:fixed;top:56px;right:10px;z-index:8;min-width:260px;max-width:92vw; + .menu{position:fixed;top:56px;right:10px;z-index:8;min-width:290px;max-width:92vw; background:var(--panel);backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass); border:1px solid #333;border-radius:12px;display:none;overflow:hidden} .menu header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #222} - .menu .row{display:flex;gap:8px;align-items:center;padding:8px 12px;border-top:1px solid #111} + .menu .row{display:flex;gap:8px;align-items:center;padding:8px 12px;border-top:1px solid #111;flex-wrap:wrap} .menu .row:first-of-type{border-top:0} .menu .row button,.menu .row select,.menu .row input{flex:1} .select{appearance:none;-webkit-appearance:none;border:1px solid #333;background:#111;color:#fff;border-radius:10px;padding:10px 12px} @@ -84,6 +78,7 @@ .settings{position:fixed;left:10px;bottom:110px;z-index:8;min-width:320px;max-width:92vw;background:var(--panel);backdrop-filter:var(--glass);-webkit-backdrop-filter:var(--glass);border:1px solid #333;border-radius:12px;display:none} .settings header{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #222} + .settings .badge{font-size:11px;opacity:.8;border:1px solid #444;border-radius:999px;padding:2px 8px;margin-left:8px} .settings .group{border-top:1px solid #111} .settings .group:first-of-type{border-top:0} .settings .ghead{display:flex;justify-content:space-between;align-items:center;padding:10px 12px} @@ -93,6 +88,8 @@ .settings label{flex:1} .settings input[type="range"]{flex:1} .settings input[type="color"]{width:42px;height:32px;border:0;background:none} + .settings .about{font-size:13px;opacity:.92;line-height:1.5} + .settings .about p{margin:8px 0} .desktop .bar{grid-column:2} .desktop .app{grid-template-columns:320px 1fr;grid-template-rows:auto 1fr} @@ -114,13 +111,7 @@ @@ -130,7 +121,7 @@
-
PokeMaps
+
PokeMaps Public Beta
@@ -142,20 +133,39 @@ @@ -169,7 +179,7 @@
-
Display & Marker
+
Settings Beta
General
@@ -210,496 +220,515 @@
+ +
+
About PokeMaps (Public Beta)
+
+
+

PokeMaps Public Beta is a lightweight map viewer designed for quick sharing of locations and simple pin management. This beta is still evolving; features and behavior may change at any time, and bugs are expected.

+

Map credits: © OpenStreetMap.org contributors. Map tiles and data are provided by the OpenStreetMap community. “Powered by openstreetmap.org”.

+

Disclaimer: The geographic data shown here is compiled from community-contributed sources and third-party services. Boundaries, names, designations, and tagging may be incomplete, outdated, or disputed. Displayed borders and labels do not imply endorsement or acceptance of any political status. The map does not reflect the politics of the Poke project nor the opinions of its contributors. Always verify critical information from multiple sources before making decisions.

+

Privacy & usage: Location features depend on your browser’s permissions. Geocoding/search is performed via public OSM services and is subject to their rate limits and policies.

+

Feedback: Since this is a beta, user feedback helps shape the roadmap. If something breaks, resets, or behaves oddly, that’s expected during Public Beta.

+
+
+