Files

46 lines
2.0 KiB
HTML

<!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="/styles.css">
<script src="/site-chat.js" defer></script>
</head>
<body>
<header class="topbar">
<div class="topbar-inner">
<span class="product">Онлайн-школа ЕГЭ</span>
<button id="chat-exit" class="header-button" type="button">Выход</button>
</div>
</header>
<main class="site-shell" id="chat-view">
<h1 id="chat-title">Чат поддержки</h1>
<section class="panel chat-panel" aria-label="Чат поддержки">
<div class="chat-panel-header">
<p id="chat-ticket" class="note">Новое обращение</p>
<button type="button" id="chat-new" class="secondary" hidden>Новое обращение</button>
</div>
<div class="chat-window" id="chat-window">
<p id="chat-empty" class="chat-empty">Опишите вопрос. Детали можно отправить следующими сообщениями.</p>
<ol id="chat-log" class="chat-log" role="log" aria-label="Переписка" aria-relevant="additions" hidden></ol>
</div>
<form id="chat-form">
<label for="chat-message">Сообщение</label>
<div class="chat-compose">
<textarea id="chat-message" name="message" rows="3" maxlength="4000" required placeholder="Что случилось?"></textarea>
<button id="chat-submit" type="submit">Отправить</button>
</div>
</form>
<p id="chat-feedback" class="feedback" role="status"></p>
</section>
</main>
<main id="chat-exit-view" class="exit-view" hidden>
<section class="panel">
<h1>Вы вышли</h1>
<button type="button" id="chat-return">Вернуться в чат</button>
</section>
</main>
</body>
</html>