feat: implement the open fallback access point and captive portal

This commit is contained in:
2026-09-01 21:41:23 +03:00
parent fd978f323d
commit 50ed341474
13 changed files with 349 additions and 29 deletions
+4 -2
View File
@@ -23,9 +23,11 @@
<input id="ssid" name="ssid" maxlength="32" autocomplete="off" required>
<label for="password">Пароль</label>
<input id="password" name="password" type="password" maxlength="63" autocomplete="new-password">
<p class="hint">Пароль не отображается на этой странице. Проверка и сохранение сети будут доступны на следующем шаге настройки.</p>
<button type="submit">Продолжить</button>
<p class="hint">Пароль не отображается после отправки. Пока идёт проверка, оставайтесь в Battleship-open.</p>
<button type="submit">Проверить и сохранить</button>
</form>
<button id="delete-network" type="button" class="secondary">Удалить сохранённую сеть</button>
<p id="network-status" role="status"></p>
<p><a href="/">Открыть игру</a></p>
</main>
<script src="/setup.js" defer></script>