freetravel/public/index.html
peppa-bot 8bb6e25889
All checks were successful
peppa/lint lint: success за 4с
peppa/typecheck typecheck: success за 4с
peppa/test test: success за 3с
peppa/build build: success за 4с
ci / checks (pull_request) Successful in 48s
deploy / deploy (pull_request) Successful in 1m31s
FRTVL-28: тексты блока Телеграма без повторов, код принимается сообщением
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:43:17 +00:00

92 lines
5.0 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">Настоящий поиск ещё не включён.</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 id="link-steps" class="muted">Откройте бота, нажмите Start — бот получит код сам. Если бот не ответил, отправьте ему код привязки сообщением. Затем вернитесь сюда и нажмите «Подтвердить привязку».</p>
</div>
<p id="bot-unavailable" class="notice" role="status" hidden></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" aria-describedby="link-steps" hidden>Подтвердить привязку</button>
<button id="unlink-button" type="button" aria-describedby="telegram-action-hint" hidden>Отвязать</button>
</div>
<p id="telegram-action-hint" class="muted"></p>
<label class="inline enabled-field">
<input id="enabled" type="checkbox" aria-describedby="enabled-hint" />
<span>Искать раз в сутки и присылать новое</span>
</label>
<small id="enabled-hint" class="muted"></small>
<p id="settings-last-run" class="muted" role="status"></p>
<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>