Files
smeta-web/sandbox/admin-spike/vanilla.html
T

35 lines
1.3 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 http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; connect-src 'self'">
<title>Клиенты — vanilla spike</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<header><h1>Клиенты</h1><input id="q" type="search" placeholder="Поиск по имени или адресу" aria-label="Поиск"></header>
<main>
<div class="table-wrap">
<table>
<thead><tr><th>Клиент</th><th>Статус</th><th>Был(а)</th><th>24 ч</th><th>Баланс</th><th>Доступ</th></tr></thead>
<tbody id="rows"></tbody>
</table>
</div>
</main>
<aside class="drawer" id="drawer" data-testid="drawer" aria-hidden="true" aria-label="Карточка клиента">
<button id="close" type="button">Закрыть</button>
<h2 id="drawer-title"></h2>
<p id="drawer-email"></p>
<dl>
<dt>Статус</dt><dd id="d-status"></dd>
<dt>Был(а)</dt><dd id="d-seen"></dd>
<dt>Потрачено за 24 ч</dt><dd id="d-spent"></dd>
<dt>Баланс</dt><dd id="d-balance"></dd>
<dt>Доступ</dt><dd id="d-access"></dd>
</dl>
</aside>
<script type="module" src="./vanilla.js"></script>
</body>
</html>