From: Lanius Trolling Date: Tue, 5 Dec 2023 15:23:34 +0000 (-0500) Subject: Add touchscreen admonition X-Git-Url: https://gitweb.starshipfights.net/?a=commitdiff_plain;h=501670063590422575c70e4fcfd85a55af950790;p=factbooks Add touchscreen admonition --- diff --git a/src/main/kotlin/info/mechyrdia/lore/view_map.kt b/src/main/kotlin/info/mechyrdia/lore/view_map.kt index 510f8d7..9457fbf 100644 --- a/src/main/kotlin/info/mechyrdia/lore/view_map.kt +++ b/src/main/kotlin/info/mechyrdia/lore/view_map.kt @@ -77,6 +77,15 @@ fun ApplicationCall.galaxyMapPage(): HTML.() -> Unit { div(classes = "panel") { id = "modal-box" } } + div { + id = "touchscreen-admonition" + div(classes = "panel") { + p { + +"Unfortunately, touchscreen input is not supported by the interactive Milky Way Galaxy map viewer" + } + } + } + script(src = "/assets/map/data.js") {} script(src = "/assets/map/main.js") {} }