Files
V-Fire-Monitor/templates/login.html
T

56 lines
2.0 KiB
HTML

<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login | V-Fire Monitor</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
min-height: 100vh;
margin: 0;
display: grid;
place-items: center;
background:
radial-gradient(circle at top, rgba(255, 90, 61, 0.2), transparent 30%),
linear-gradient(180deg, #0b1117 0%, #07090c 100%);
color: #eef2f7;
font-family: "Segoe UI", sans-serif;
}
.login-card {
width: min(100%, 380px);
padding: 2rem;
border-radius: 18px;
background: rgba(18, 23, 29, 0.96);
border: 1px solid #2a333d;
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}
</style>
</head>
<body>
<section class="login-card">
<div class="text-uppercase small text-secondary mb-2">Voltec</div>
<h1 class="h4 mb-4">Acesso ao V-Fire Monitor</h1>
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="alert alert-warning py-2" role="alert">{{ messages[0] }}</div>
{% endif %}
{% endwith %}
<form method="POST" novalidate>
<div class="mb-3">
<label for="username" class="form-label">Usuario</label>
<input id="username" type="text" name="username" class="form-control bg-dark text-light border-secondary" required autofocus>
</div>
<div class="mb-4">
<label for="password" class="form-label">Senha</label>
<input id="password" type="password" name="password" class="form-control bg-dark text-light border-secondary" required>
</div>
<button type="submit" class="btn btn-danger w-100">Entrar</button>
</form>
</section>
</body>
</html>