2026-07-21 10:29:31 +02:00

34 lines
1014 B
HTML

<!doctype html>
<html lang="es">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ settings.app_title }}</title>
<link rel="stylesheet" href="{{ url_for('static', path='/style.css') }}">
</head>
<body>
{% if user %}
<header class="topbar">
<div>
<a class="brand" href="/">MESAVAULT</a>
<span class="subtitle">Revisión de gobernanza</span>
</div>
<nav>
<a href="/">Pendientes</a>
<a href="/history">Historial</a>
<span class="user">{{ user.display_name }}</span>
{% if not settings.write_enabled %}<span class="status">Solo lectura</span>{% endif %}
<form class="inline" method="post" action="/logout">
<input type="hidden" name="csrf_token" value="{{ user.csrf_token }}">
<button class="link-button" type="submit">Salir</button>
</form>
</nav>
</header>
{% endif %}
<main class="container">
{% block content %}{% endblock %}
</main>
</body>
</html>