freetravel/public/index.html
2026-11-18 02:59:43 +05:00

89 lines
4.6 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" />
<title>Стажировки</title>
<link rel="stylesheet" href="/style.css" />
</head>
<body>
<header>
<h1>Стажировки в клиентском сервисе</h1>
<p class="lead">
Бесплатные и полностью оплачиваемые стажировки по миру — на русском или без обязательного иностранного
языка. Условия находит ИИ-агент: перед подачей проверьте их на сайте программы.
</p>
</header>
<p id="mock-note" class="note" role="status" hidden>
<span id="mock-note-text"><strong>Это примеры, не настоящие стажировки.</strong> Настоящий поиск ещё не включён.</span>
</p>
<section class="controls" aria-label="Поиск и фильтры">
<form id="search-form">
<label id="token-label" hidden>
<span class="field-label">Код доступа</span>
<input id="token" type="password" autocomplete="off" placeholder="Введите код доступа" aria-describedby="token-hint token-error" />
<small id="token-error" class="field-error" role="alert"></small>
<small id="token-hint" class="muted">Код доступа вам выдаёт владелец сервиса — попросите его у того, кто дал вам ссылку на эту страницу. Без кода поиск не запустится.</small>
</label>
<button id="search-button" type="submit">Найти новые</button>
<span id="search-state" role="status"></span>
</form>
<p id="run-summary" class="muted"></p>
<p id="run-next" class="muted"></p>
<div class="filters">
<label>
<span class="field-label">Страна</span>
<select id="filter-country" aria-describedby="country-hint"><option value="">Все</option></select>
<small id="country-hint" class="muted">Где проходит стажировка</small>
</label>
<label>
<span class="field-label">Язык</span>
<select id="filter-language" aria-describedby="language-hint">
<option value="">Любой</option>
<option value="russian">Русский</option>
<option value="not_required">Язык не требуется</option>
</select>
<small id="language-hint" class="muted">Оставьте стажировки на русском или без требования к языку</small>
</label>
</div>
</section>
<section class="settings" aria-label="Уведомления">
<h2>Уведомления в Телеграм</h2>
<p id="telegram-status" class="status" role="status"></p>
<p id="telegram-note" class="muted"></p>
<p id="bot-setup" class="notice" role="note" hidden></p>
<details id="telegram-details" class="muted" hidden>
<summary>Подробнее</summary>
<p id="telegram-detail"></p>
</details>
<p id="telegram-code-hint" class="muted"></p>
<p id="settings-hint" class="muted"></p>
<div id="link-info" hidden>
<p class="link-line"><span class="field-label">Бот:</span> <strong id="bot-name"></strong></p>
<p class="link-line"><span class="field-label">Код привязки:</span> <code id="link-code"></code></p>
<p class="muted">Откройте бота, нажмите Start и отправьте код.</p>
</div>
<p id="settings-last-run" class="muted" role="status"></p>
<div class="row">
<button id="link-button" type="button">Привязать Телеграм</button>
<a id="link-url" href="#" target="_blank" rel="noopener noreferrer" hidden>Открыть бота</a>
<button id="mock-confirm" type="button" hidden>Подтвердить привязку</button>
<button id="unlink-button" type="button" hidden>Отвязать</button>
<label class="inline">
<input id="enabled" type="checkbox" />
<span>Искать раз в сутки и присылать новое</span>
</label>
</div>
<p id="settings-error" class="muted" role="alert"></p>
</section>
<p id="empty" class="muted" hidden></p>
<ul id="list" class="cards"></ul>
<script type="module" src="/app.js"></script>
</body>
</html>