Files
web_auth/login.html

98 lines
3.1 KiB
HTML
Raw Normal View History

2026-01-19 08:35:00 +03:00
<!DOCTYPE html>
<html>
<head>
2026-01-19 08:57:58 +03:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2026-01-19 08:35:00 +03:00
<title>Вход</title>
2026-01-19 11:43:37 +03:00
<link rel="stylesheet" href="css/auth.css">
2026-01-19 08:57:58 +03:00
<style>
:root {
color-scheme: light;
--bg: #f5f7fb;
--card: #ffffff;
--text: #1b1f2a;
--muted: #6b7280;
--border: #e5e7eb;
--accent: #3b82f6;
--accent-dark: #2563eb;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: "Segoe UI", Arial, sans-serif;
background: linear-gradient(135deg, #eef2ff, #f8fafc);
color: var(--text);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
}
.card {
width: 100%;
max-width: 380px;
background: var(--card);
border: 1px solid var(--border);
border-radius: 12px;
padding: 24px;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
h2 {
margin: 0 0 8px;
font-size: 24px;
}
.subtitle {
margin: 0 0 20px;
color: var(--muted);
font-size: 14px;
}
.field {
margin-bottom: 14px;
}
label {
display: block;
font-size: 13px;
color: var(--muted);
margin-bottom: 6px;
}
input {
width: 100%;
padding: 10px 12px;
border: 1px solid var(--border);
border-radius: 8px;
font-size: 14px;
transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.helper {
margin-top: 14px;
font-size: 12px;
color: var(--muted);
text-align: center;
}
</style>
2026-01-19 08:35:00 +03:00
</head>
<body>
2026-01-19 08:57:58 +03:00
<div class="card">
<h2>Вход</h2>
<p class="subtitle">Введите логин и пароль для доступа</p>
<form id="loginForm">
<div class="field">
<label for="username">Логин</label>
<input id="username" type="text" name="username" placeholder="Введите логин" required autocomplete="username" autocapitalize="off" spellcheck="false">
</div>
<div class="field">
<label for="password">Пароль</label>
<input id="password" type="password" name="password" placeholder="Введите пароль" required autocomplete="current-password">
</div>
2026-01-19 11:43:37 +03:00
<button class="btn-primary" type="submit">Войти</button>
2026-01-19 08:57:58 +03:00
</form>
<div class="helper">Доступ только для зарегистрированных пользователей</div>
</div>
2026-01-19 08:35:00 +03:00
<script src="js/auth.js"></script>
</body>
</html>