diff options
| author | Li Zhineng <[email protected]> | 2025-06-12 23:07:50 +0800 |
|---|---|---|
| committer | Li Zhineng <[email protected]> | 2025-06-12 23:07:50 +0800 |
| commit | d7016f285fbef4b45650043ddbcea0da68d8a64c (patch) | |
| tree | b061bacf84463f9a140975a4b59168776ab671ed /index.html | |
| parent | fc084dbcb34a2906036510c354e3e82bc507a61b (diff) | |
| download | setup-d7016f285fbef4b45650043ddbcea0da68d8a64c.tar.gz setup-d7016f285fbef4b45650043ddbcea0da68d8a64c.zip | |
display unsupported browser message
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -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> |
