Add touchscreen admonition
authorLanius Trolling <lanius@laniustrolling.dev>
Tue, 5 Dec 2023 15:23:34 +0000 (10:23 -0500)
committerLanius Trolling <lanius@laniustrolling.dev>
Tue, 5 Dec 2023 15:23:34 +0000 (10:23 -0500)
src/main/kotlin/info/mechyrdia/lore/view_map.kt

index 510f8d7877361b7ce1271f7835ebafd86ee72412..9457fbf65648ad02c037f0e0d77b19afc29b6d53 100644 (file)
@@ -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") {}
                }