-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
225 lines (218 loc) · 5.77 KB
/
index.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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<?php
require_once __DIR__ . '/header.php';
require_once __DIR__ . '/menu.php';
require_once __DIR__ . '/DataRequest.php';
$dados_clientes = (new DataRequest)->dadosClientes();
$dados_usuarios = (new DataRequest)->dadosUsuarios();
$dados_fornecedores = (new DataRequest)->dadosFornecedores();
$count_clientes = count($dados_clientes);
$count_usuarios = count($dados_usuarios);
$count_fornecedores = count($dados_fornecedores);
?>
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<div class="page-content">
<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<div
class="modal fade"
id="portlet-config"
tabindex="-1"
role="dialog"
aria-labelledby="myModalLabel"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button
type="button"
class="close"
data-dismiss="modal"
aria-hidden="true"
></button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">Widget settings form goes here</div>
<div class="modal-footer">
<button type="button" class="btn blue">Save changes</button>
<button type="button" class="btn default" data-dismiss="modal">
Close
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
<!-- BEGIN PAGE HEADER-->
<div class="row">
<div class="col-md-12">
<!-- BEGIN PAGE TITLE & BREADCRUMB-->
<h3 class="page-title">
Dashboard <small>tudo que você precisa à um click.</small>
</h3>
<ul class="page-breadcrumb breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="index.html">Home</a>
<i class="fa fa-angle-right"></i>
</li>
<li>
<a href="#">Dashboard</a>
</li>
<li class="pull-right">
<div
id="dashboard-report-range"
class="dashboard-date-range tooltips"
data-placement="top"
data-original-title="Change dashboard date range"
>
<i class="fa fa-calendar"></i>
<span> </span>
<i class="fa fa-angle-down"></i>
</div>
</li>
</ul>
<!-- END PAGE TITLE & BREADCRUMB-->
</div>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN DASHBOARD STATS -->
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="dashboard-stat blue">
<div class="visual">
<i class="fa fa-shopping-cart"></i>
</div>
<div class="details">
<div class="number"><?= $count_clientes ?></div>
<div class="desc">Clientes</div>
</div>
<a class="more" href="#" id="click_cliente">
Visualizar <i class="m-icon-swapright m-icon-white"></i>
</a>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="dashboard-stat green">
<div class="visual">
<i class="fa fa-group"></i>
</div>
<div class="details">
<div class="number"><?= $count_usuarios ?></div>
<div class="desc">Usuários</div>
</div>
<a class="more" href="#" id="click_usuario">
Visualizar <i class="m-icon-swapright m-icon-white"></i>
</a>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="dashboard-stat purple">
<div class="visual">
<i class="fa fa-globe"></i>
</div>
<div class="details">
<div class="number"><?= $count_fornecedores ?></div>
<div class="desc">Fornecedores</div>
</div>
<a class="more" href="#" id="click_fornecedor">
Visualizar <i class="m-icon-swapright m-icon-white"></i>
</a>
</div>
</div>
</div>
<!-- END DASHBOARD STATS -->
<div class="clearfix"></div>
<!--Tabela-->
<div class="row">
<div class="col-md-12">
<!-- BEGIN SAMPLE TABLE PORTLET-->
<div class="portlet box grey" id="tabela_simples">
<div class="portlet-title">
<div class="caption">
<i class="fa fa-folder-open"></i>Tabela Simples
</div>
<div class="tools">
<a href="javascript:;" class="collapse"></a>
<a
href="#portlet-config"
data-toggle="modal"
class="config"
></a>
<a href="javascript:;" class="reload"></a>
<a href="javascript:;" class="remove"></a>
</div>
</div>
<div class="portlet-body">
<div class="table-responsive">
<table class="table table-hover">
<thead id="tabela_simples_thead">
<tr>
<th>#</th>
<th>Nome</th>
<th>Sobrenome</th>
<th>Usuario</th>
<th>Status</th>
</tr>
</thead>
<tbody id="tabela_simples_tbody">
<tr>
<td>1</td>
<td>Mark</td>
<td>Otto</td>
<td>makr124</td>
<td>
<span class="label label-sm label-success">
Aprovado
</span>
</td>
</tr>
<tr>
<td>2</td>
<td>Jacob</td>
<td>Nilson</td>
<td>jac123</td>
<td>
<span class="label label-sm label-info">
Pendente
</span>
</td>
</tr>
<tr>
<td>3</td>
<td>Larry</td>
<td>Cooper</td>
<td>lar</td>
<td>
<span class="label label-sm label-warning">
Suspenso
</span>
</td>
</tr>
<tr>
<td>4</td>
<td>Sandy</td>
<td>Lim</td>
<td>sanlim</td>
<td>
<span class="label label-sm label-danger">
Bloqueado
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- END SAMPLE TABLE PORTLET-->
</div>
</div>
</div>
</div>
<!-- END CONTENT -->
<?php
require_once __DIR__ . '/footer.php';