summaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
authorLi Zhineng <[email protected]>2025-06-12 23:07:50 +0800
committerLi Zhineng <[email protected]>2025-06-12 23:07:50 +0800
commitd7016f285fbef4b45650043ddbcea0da68d8a64c (patch)
treeb061bacf84463f9a140975a4b59168776ab671ed /index.html
parentfc084dbcb34a2906036510c354e3e82bc507a61b (diff)
downloadsetup-d7016f285fbef4b45650043ddbcea0da68d8a64c.tar.gz
setup-d7016f285fbef4b45650043ddbcea0da68d8a64c.zip
display unsupported browser message
Diffstat (limited to 'index.html')
-rw-r--r--index.html30
1 files changed, 18 insertions, 12 deletions
diff --git a/index.html b/index.html
index eb9a563..b2a6736 100644
--- a/index.html
+++ b/index.html
@@ -4,17 +4,23 @@
<script defer src="main.mjs"></script>
</head>
<body>
- <h1>Setup AIRMX Pro</h1>
- <div>
- <input type="text" id="ssid" placeholder="SSID" />
- </div>
- <div>
- <input type="password" id="password" placeholder="Password" />
- </div>
- <div>
- <button id="connect" type="button">
- Connect
- </button>
- </div>
+ <p id="unsupported-message" style="display: none;">
+ Your browser does not support the Web Bluetooth API. Please switch to Google Chrome and try again.
+ </p>
+
+ <main>
+ <h1>Setup AIRMX Pro</h1>
+ <div>
+ <input type="text" id="ssid" placeholder="SSID" />
+ </div>
+ <div>
+ <input type="password" id="password" placeholder="Password" />
+ </div>
+ <div>
+ <button id="connect" type="button" onclick="connect()">
+ Connect
+ </button>
+ </div>
+ </main>
</body>
</html>