-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.php
56 lines (55 loc) · 3.55 KB
/
menu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{% macro barra_navegacao() %}
{% from 'bootstrap5/nav.html' import render_nav_item %}
{% from 'bootstrap5/utils.html' import render_icon %}
<nav class="navbar navbar-expand-sm bg-primary-subtle rounded-4 shadow-sm mb-3 px-3 py-2 sticky-top">
<div class="container-fluid">
<a class="navbar-brand ps-3" href="{{ url_for('index') }}">{{ render_icon('shop', size=60) }}</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown">
{{ render_icon('box-seam') }} Produtos
</a>
<ul class="dropdown-menu dropdown-menu-lg-end">
<li><a class="dropdown-item" href="#">{{ render_icon('card-list') }} Listar</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('plus') }} Adicionar</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">{{ render_icon('exclamation-diamond') }} Produtos em falta</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('boxes') }} Estoque</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('cart') }} Comprar/vender em lote</a></li>
</ul>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown">
{{ render_icon('book') }} Categorias
</a>
<ul class="dropdown-menu dropdown-menu-lg-end">
<li><a class="dropdown-item" href="#">{{ render_icon('card-list') }} Listar</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('plus') }} Adicionar</a></li>
</ul>
</li>
<li class="nav-item dropdown ms-3">
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown">
<span class="fw-semibold">Acesso ao sistema</span>
</a>
<ul class="dropdown-menu dropdown-menu-lg-end">
<li><a class="dropdown-item" href="#">{{ render_icon('box-arrow-in-right') }} Login</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="#">{{ render_icon('person') }} Perfil</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('toggles') }} Gerenciamento dos usuários</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('person-plus') }} Criar conta</a></li>
<li><a class="dropdown-item" href="#">{{ render_icon('box-arrow-right') }} Logout</a>
</ul>
</li>
</ul>
</div>
</div>
</nav>
{% endmacro %}
<?php
require_once "rodape.php";
?>