formha/Documents_ref/backup_tmp_user.html

99 lines
3.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
{% block title %}{{ title | default('FORMHä') }}{% endblock %}
</title>
<!-- {# i bootstrap #} -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- {# icons #}} -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<!-- {# f bootstrap #} -->
{% block css %}
{% endblock %}
<!-- {# i navbar css #} -->
<link rel="stylesheet" href="{{url_for('static', filename='template/tmp.css')}}">
<!-- {# navbar #} -->
<link rel="stylesheet" href="{{url_for('static', filename='template/navbar.css')}}">
<!-- {# f navbar css #} -->
<!-- {# i notify css #} -->
<!-- {# doc: https://github.com/simple-notify/simple-notify?tab=readme-ov-file #} -->
<!-- CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.css" />
<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/simple-notify/dist/simple-notify.min.js"></script>
<!-- {# f notify js #} -->
</head>
<!-- <body> -->
<body>
{% block navbar %}
<!-- {# {% include 'comps/navbar_usr.html' %} #} -->
<nav class="navbar navbar-expand-lg bg-body-tertiary navbar-custom">
<div class="container-fluid">
<a class="navbar-brand" href="{{ url_for('home') }}">
{% include 'comps/formha.html' %}
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0 effect-3">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<i class="bi bi-person-circle"></i> {{nombre}}
</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#"><i class="bi bi-file-earmark-person-fill"></i> Usuarios</a></li>
<li><hr class="dropdown-divider"></li>
<!-- <li><a class="dropdown-item" href="#">Something else here</a></li> -->
<li>
<a class="dropdown-item" href="{{ url_for('logout') }}">
<i class="bi bi-door-open-fill"></i> Logout
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
{% endblock navbar %}
<!-- <main> -->
<main>
{% block body %}
{% endblock body %}
</main>
{% include 'comps/footer.html' %}
<!-- {# i bootstrap js #} -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<!-- {# f bootstrap js #} -->
{% block js %}
{% include 'comps/notification.html' %}
{% if f_mnsj %}
<script>
simpleNotification("{{ f_mnsj.title }}", "{{ f_mnsj.body }}", "{{ f_mnsj.typeAlert }}");
</script>
{% endif %}
{% endblock js %}
</body>
</html>