-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
185 lines (177 loc) · 8.43 KB
/
index.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="plugin/bootstrap-5.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="plugin/fontawesome-free-6.5.1/css/all.min.css">
<script src="plugin/jquery/node_modules/jquery/dist/jquery.min.js"></script>
<title>Dashboard usando Bootstrap 5</title>
</head>
<body>
<!-- Menu lateral-->
<nav class="navbar bg-body-tertiary fixed-top">
<div class="container-fluid">
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar"
aria-controls="offcanvasNavbar" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<p class="fw-bold">Dashboard - Financeiro</p>
<h6>Joice Fogaça</h6>
<!-- <a class="navbar-brand" href="#">Joice Fogaça</a> -->
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasNavbar"
aria-labelledby="offcanvasNavbarLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasNavbarLabel">Menu</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<!-- Menu lateral-->
<div class="container p-5">
<!-- Gráfico -->
<div class="row row-cols-1 row-cols-sm-1 row-cols-md-1 row-cols-lg-3 justify-content-center mt-3 gap-2">
<div class="col border border-secondary-subtle justify-content-center">
<canvas id="receitaChart">
</div>
<div class="col border border-secondary-subtle">
<canvas id="inadimplenciaChart">
</div>
</div>
<!-- Fim Gráfico -->
<!-- Filtros Indicadores -->
<div class="container text-bg-light mt-4 mb-3 border border-secondary-subtle">
<div class="row m-2">
<div class="col-auto me-auto pt-2">
<p>Resumo dos indicadores:</p>
</div>
<div class="col-md-3 mt-1">
<select id="typeInterval" class="form-select">
<option selected>Escolha o intervalo ...</option>
<option value="1">Mês</option>
<option value="2">Trimestre</option>
<option value="3">Anual</option>
</select>
</div>
<div class="col-md-3 mt-1">
<select id="periodo" class="form-select" disabled>
<option selected>Escolha o periodo ...</option>
</select>
</div>
<div class="col-auto mt-1">
<button type="button" id="btn-processar" class="btn btn-secondary" disabled>Processar</button>
</div>
</div>
<!-- Filtros Indicadores -->
<div class="table-responsive mt-3">
<table class="table table-bordered border-secondary-subtle">
<thead>
<th scope="col">Notas Emitidas</th>
<th scope="col">Notas Emitidas - Sem cobrança</th>
<th scope="col">Notas vencidas - Inadimplência</th>
<th scope="col">Nota à Vencer</th>
<th scope="col">Notas Pagas</th>
</thead>
<tbody>
<tr>
<td>R$ 200, 00</td>
<td>R$ 300,08 </td>
<td>R$ 1300,08</td>
<td>R$ 650,08</td>
<td>R$ 780,00 </td>
</tr>
</tbody>
</table>
</div>
<!-- Fim Indicadores-->
</div>
<!-- Filtros Tabelas -->
<!-- Fim Tabelas -->
<!-- Tabela e filtros -->
<div class="container text-bg-light border border-secondary-subtle">
<div class="row justify-content-end m-2">
<div class="col-auto mt-1">
<select id="mesEmissao" class="form-select selecaoPadraoFiltroTabela">
<option value="todos" selected>Mês emissão ...</option>
</select>
</div>
<div class="col-auto mt-1">
<select id="mesCobranca" class="form-select selecaoPadraoFiltroTabela">
<option value="todos" selected>Mês cobrança ...</option>
</select>
</div>
<div class="col-auto mt-1">
<select id="mesPagamento" class="form-select selecaoPadraoFiltroTabela">
<option value="todos" selected>Mês pagamento ...</option>
</select>
</div>
<div class="col-auto mt-1">
<select id="statusNota" class="form-select selecaoPadraoFiltroTabela">
<option value="todos" selected>Status nota...</option>
</select>
</div>
<div class="col-auto mt-1">
<button id="btnLimparFiltrosTabela" type="button" class="btn btn-primary">Limpar filtros</button>
</div>
</div>
<div class="table-responsive mt-3">
<table id="tabelaNotas" class="table table-bordered border-secondary-subtle">
<thead>
<tr>
<th scope="col">Pagador</th>
<th scope="col">Identificação da nota</th>
<th scope="col">Dt Emissão nota</th>
<th scope="col">Dt cobrança</th>
<th scope="col">Dt pagamento</th>
<th scope="col">Valor Nota</th>
<th scope="col">Nota Fiscal</th>
<th scope="col">Boleto</th>
<th scope="col">Status</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<!--Paginação-->
<nav aria-label="Page navigation example">
<ul class="pagination justify-content-center">
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">1</a></li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
<!--fim Paginação-->
</div>
</div>
</div>
</div>
<script type="text/javascript" src="plugin/chartJs/node_modules/chart.js/dist/chart.umd.js"></script>
<script type="text/javascript" src="js/chart.js"></script>
<script type="text/javascript" src="js/selectsIndicadores.js"></script>
<script type="text/javascript" src="js/tableFilters.js"></script>
<script src="plugin/bootstrap-5.3.2/js/bootstrap.min.js"></script>
<script src="plugin/fontawesome-free-6.5.1/js/all.min.js"></script>
</body>
</html>