summaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
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>