-
Notifications
You must be signed in to change notification settings - Fork 0
/
relatorios.html
executable file
·138 lines (128 loc) · 4.89 KB
/
relatorios.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
<!DOCTYPE html>
<html>
<head>
<title>TradePlace - Relatórios</title>
<meta charset="utf-8" lang="pt-BR" />
<script src="auto/jquery.min.js"></script>
<link rel="stylesheet" href="fontaw/css/font-awesome.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/messagebox.css" />
<script type="text/javascript" src="js/load.js"></script>
<script type="text/javascript" src="js/messagebox.min.js"></script>
<script type="text/javascript" src="auto/jquery-ui.custom.min.js"></script>
<link href="auto/estilo.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/rest/relatorio.js"></script>
<script type="text/javascript" src="js/jsPDF/jspdf.min.js"></script>
<link rel="stylesheet" href="css/messagebox.css" />
<script type="text/javascript" src="js/jsPDF/jspdf.plugin.autotable.js"></script>
</head>
<body>
<div class="loadingDiv"></div>
<header>
<div class="topo">
<div class="logo">
<img src="img/logo.png" alt="" />
</div>
<div class="top-direita">
<a href="##">Sair <i class="fa fa-sign-out" aria-hidden="true"></i></a>
</div>
</div>
</header>
<aside>
<div class="user">
Usuario: <span>Gilberto Gomes</span> <i class="fa fa-cog" aria-hidden="true"></i>
<div class="configuracoes-user">
<ul>
<li><a href="dasdasdasd.php" title="">Alterar Senha</a></li>
<li><a href="#" title="">Alterar informações da conta</a></li>
</ul>
</div>
</div>
<ul>
<li><a href="index.html"><i class="fa fa-home" aria-hidden="true"></i> <span>Home</span></a></li>
<li><a href="criar-tarefa.html"><i class="fa fa-map" aria-hidden="true"></i> <span>Criar Tarefa</span></a></li>
<li class="active"><a href="relatorios.html"><i class="fa fa-bar-chart" aria-hidden="true"></i> <span>Relatórios</span></a></li>
<li class="aside-cad"><i class="fa fa-blind" aria-hidden="true"></i> <span>Cadastros</span>
<ul class="aside-cad">
<li><a href="promotor.html" alt="Promotor">Promotor</a></li>
<li><a href="mercado.html" alt="Mercado">Mercado</a></li>
<li><a href="usuario.html" alt="Usuário">Usuário</a></li>
<li><a href="empresa.html" alt="Empresa">Empresa</a></li>
</ul>
</li>
<li><a href="promotores.html"><i class="fa fa-users" aria-hidden="true"></i> <span>Promotores</span></a></li>
<li><a href="mercados.html"><i class="fa fa-shopping-cart" aria-hidden="true"></i> <span>Mercados</span></a></li>
<!-- <li><a href="usuarios.html"><i class="fa fa-universal-access" aria-hidden="true"></i> <span>Usuarios</span></a></li> -->
<li><a href="empresas.html"><i class="fa fa-building-o" aria-hidden="true"></i> <span>Empresas</span></a></li>
<li><a href="tarefas.html"><i class="fa fa-tasks" aria-hidden="true"></i> <span>Tarefas</span></a></li>
</ul>
<span class="minima"><i class="fa fa-align-justify" aria-hidden="true"></i></span>
</aside>
<div class="title-page">
<div class="title">
<h1>Relatórios
</h1>
</div>
</div>
<div class="conteudo">
<input type='hidden' id='current_page' />
<input type='hidden' id='show_per_page' />
<div class="lista-container">
<form action="" >
<div class="lista-title table">
<div class="td">
<label>Promotor</label>
<select id="promotor" name="promotor">
<option value="" selected disabled>Selecione</option>
</select>
<button type="button" onclick="listar()" name="button">Gerar</button>
</div>
</div>
</form>
<section class="lista-dados">
<!-- dados vindos do relatorio.js -->
<div class="linha-dados table" id="listTarefa">
<div class="td space"></div>
<div class="td"> Data </div>
<div class="td space"></div>
<div class="td"> Qtd. Viagem </div>
<div class="td space"></div>
<div class="td"> Valor Total </div>
<div class="td space"></div>
<div class="td"> Tarefa ID </div>
<div class="td space"></div>
</div>
</section>
<div id='page_navigation'></div>
<div class="table" style="text-align: center; width: 100%;">
<div class="td">
<button class="export" type="button" onclick="exportPDF(this.rowsPDF)" disabled><i class="fa fa-file-pdf-o fa-2x"></i> Exportar PDF</button>
</div>
</div>
</div>
<footer>
<!-- footer -->
</footer>
<script>
$('#loadingDiv').hide() // hide it initially
.ajaxStart(function() {
$(this).show();
})
.ajaxStop(function() {
$(this).hide();
});
$('.minima').click(function(event) {
$('aside ul li span').toggleClass('dnon');
$('aside').toggleClass('min-aside');
});
$('aside ul li.aside-cad').click(function(event) {
$('aside ul li ul.aside-cad').toggleClass('abre-aside');
$('aside ul li ul li').toggleClass('opac-li');
});
$('.user i').click(function(event) {
$('.configuracoes-user').toggleClass('configuracoes-user-show');
//$('.configuracoes-user ul').toggleClass('config-user-show');
});
</script>
</body>
</html>