Add production installer and observability tooling

This commit is contained in:
2026-05-07 12:11:15 -03:00
parent a19ac9f00c
commit 5d92a6c99a
30 changed files with 3493 additions and 1015 deletions
+39 -37
View File
@@ -1,55 +1,57 @@
<!DOCTYPE html>
<html lang="pt-BR">
<!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">
<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>
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 %}
<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>
<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>