Files
battleship/data/setup.html
T

34 lines
1.8 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#08233d">
<title>Настройка сети — Морской бой</title>
<link rel="stylesheet" href="/setup.css">
</head>
<body>
<main>
<p class="eyebrow">BATTLESHIP-OPEN · ЛОКАЛЬНАЯ СЕТЬ</p>
<h1>Настройка WiFi</h1>
<p>Игра доступна в этой открытой сети. Выберите домашнюю сеть или укажите скрытую вручную.</p>
<section aria-labelledby="networks-title">
<div class="section-heading"><h2 id="networks-title">Доступные сети</h2><button id="refresh" type="button">Обновить</button></div>
<p id="scan-status" role="status">Нажмите «Обновить», чтобы найти сети.</p>
<div id="networks" class="networks" aria-live="polite"></div>
</section>
<form id="network-form">
<h2>Скрытая или другая сеть</h2>
<label for="ssid">Название сети (SSID)</label>
<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>
</form>
<p><a href="/">Открыть игру</a></p>
</main>
<script src="/setup.js" defer></script>
</body>
</html>