diff --git a/static/css/components.css b/static/css/components.css index 31c632a..bcec453 100644 --- a/static/css/components.css +++ b/static/css/components.css @@ -20,6 +20,10 @@ --bs-success-dark: #157347; --bs-secondary: #6c757d; --bs-secondary-dark: #565e64; + + /* Variáveis para status */ + --status-active: #28a745; + --status-inactive: #dc3545; } /* Tabelas */ @@ -608,4 +612,15 @@ input.btn-secondary:hover, color: #055160; background-color: #cff4fc; border-color: #b6effb; +} + +/* Status styles */ +.status-active { + color: var(--status-active); + font-weight: 500; +} + +.status-inactive { + color: var(--status-inactive); + font-weight: 500; } \ No newline at end of file diff --git a/templates/dashboard_admin.html b/templates/dashboard_admin.html index 170360d..01a549a 100644 --- a/templates/dashboard_admin.html +++ b/templates/dashboard_admin.html @@ -4,15 +4,9 @@ {% block content %}
| {{ usuario.nome }} | {{ usuario.last_login }} | - + {{ "Ativo" if usuario.ativo else "Inativo" }} |