add new ui
This commit is contained in:
44
frontend/login.html
Normal file
44
frontend/login.html
Normal file
@@ -0,0 +1,44 @@
|
||||
<!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="/static/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="/static/css/index.css" />
|
||||
<style>
|
||||
.login-card { max-width: 420px; margin: 40px auto; }
|
||||
.muted { color: #6c757d; font-size: 0.9rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="/app/">АСУ Инвентаризация</a></h1>
|
||||
<h2>Авторизация</h2>
|
||||
</header>
|
||||
|
||||
<main class="container">
|
||||
<div class="card login-card">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title mb-3">Вход</h5>
|
||||
<form id="login-form">
|
||||
<div class="mb-3 text-start">
|
||||
<label for="username" class="form-label">Логин</label>
|
||||
<input type="text" id="username" class="form-control" autocomplete="username" required />
|
||||
</div>
|
||||
<div class="mb-3 text-start">
|
||||
<label for="password" class="form-label">Пароль</label>
|
||||
<input type="password" id="password" class="form-control" autocomplete="current-password" required />
|
||||
</div>
|
||||
<div id="status" class="muted mb-2"></div>
|
||||
<button type="submit" class="btn btn-primary w-100">Войти</button>
|
||||
</form>
|
||||
<div class="muted mt-3">Демо: admin / admin (после инициализации БД)</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script src="/app/login.js" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user