58 lines
2.2 KiB
HTML
58 lines
2.2 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 rel="stylesheet" href="{{ url_for('static', filename='css/vendor.css') }}">
|
|
<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>
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
|
<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>
|
|
<script src="{{ url_for('static', filename='js/vendor.js') }}"></script>
|
|
</body>
|
|
</html>
|