-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
328 lines (319 loc) · 19.4 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html>
<head>
<title>Tucano Reporting v1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="reporting.css" rel="stylesheet">
<link href="//api.tucanotours.com.ar/bs/css/tucano.bs.css" rel="stylesheet">
<link href="//api.tucanotours.com.ar/bs/css/todc.bs.css" rel="stylesheet">
<link href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" rel="stylesheet">
<link rel="shortcut icon" href="img/tucano.ico" type="image/x-icon" />
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="//api.tucanotours.com.ar/bs/js/bootstrap.min.js"></script>
<!-- GCHARTS INIT -->
<script type="text/javascript" src="js/reporting-graphs.js"></script>
<!-- GCHARTS END -->
<script>
$(function() {
$( ".draggable" ).draggable({ handle: ".drag" });
});
</script>
</head>
<body>
<div id="header">
<div id="logos">
<a href="http://www.tucanotours.com.ar" target="_blank"><img alt="Tucano Tours SRL" src="img/tucano-tours.png"/></a>
<a href="http://sci.tucanotours.com.ar" target="_blank"><img alt="Sistema de Consolidación Integrada" src="img/sci.png"/></a>
<img alt="Herramienta de Reporting" src="img/reporting.png"/>
</div>
</div>
<div id="wrapper">
<div class="row-fluid">
<div id="dashboard4" class="span6 dashboard draggable">
<div class="row0">
<button data-toggle="buttons-checkbox" class="btn btn-inverse btn-mini editar">Editar</button>
<div class="graficar">
<button class="btn btn-mini">Graficar</button>
</div><!--btn graficar-->
<div class="drag">
<i class="icon-move" title="Arrastrar gráfico"></i>
</div>
</div>
<div class="tools" style="display: none;">
<div class="row1">
<div class="btn-group">
<button class="btn btn-mini btn-inverse type" objdata="">Gráfico</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu grafico">
<li><a objdata="col">Barras</a></li>
<li><a objdata="pie">Torta</a></li>
</ul>
</div><!--btn grafico-->
<div class="btn-group">
<button class="btn btn-mini btn-inverse campo" objdata="">Campo</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="sine">Agente</a></li>
<!-- <li><a objdata="cia">Compañía</a></li> -->
<li><a objdata="iata_num_code">Compañía</a></li>
<li><a objdata="gds">Total Emisiones</a></li>
</ul>
</div><!--btn campo-->
</div><!--row1-->
<div class="row2">
<!--
<div class="btn-group">
<button class="btn btn-mini btn-inverse" objdata="">Dimensión</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a dim="dim" objdata="gds">GDS</a></li>
<li><a dim="dim" objdata="limit">Límite</a></li>
</ul>
</div><!--btn dimension-->
<div class="btn-group fetch-filters">
<button class="btn btn-mini btn-inverse filtro" objdata="">Filtro</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Mes</a>
<ul class="dropdown-menu month-filter"></ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Año</a>
<ul class="dropdown-menu year-filter"></ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" id="gds-filter">GDS</a>
<ul class="dropdown-menu gds-filter"></ul>
</li>
<li><a dim="dim" objdata="limit">Límite</a></li>
</ul>
</div><!--btn filtro-->
<div class="limite" style="display:none;">
<input type="text" class="input-mini limit" placeholder="limite">
</div><!--Limite-->
<div class="btn-group fetch-filters">
<button class="btn btn-mini btn-inverse filtro" objdata="">Filtro</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Mes</a>
<ul class="dropdown-menu month-filter"></ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Año</a>
<ul class="dropdown-menu year-filter"></ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" id="gds-filter">GDS</a>
<ul class="dropdown-menu gds-filter"></ul>
</li>
<li><a dim="dim" objdata="limit">Límite</a></li>
</ul>
</div><!--btn filtro-->
<div class="limite" style="display:none;">
<input type="text" class="input-mini limit" placeholder="limite">
</div><!--Limite-->
<div class="btn-group gds" style="display:none;">
<button class="btn btn-mini btn-success gds_value" objdata="">GDS</button>
<button class="btn btn-mini btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="sabre">Sabre</a></li>
<li><a objdata="amadeus">Amadeus</a></li>
</ul>
</div>
</div><!--row2-->
</div><!--display:none-->
<div>
<div id="piecolchart4" class="pie"></div>
</div>
</div><!--dashboard4-->
<div id="dashboard5" class="span6 dashboard draggable">
<div class="row0">
<button data-toggle="buttons-checkbox" class="btn btn-inverse btn-mini editar">Editar</button>
<div class="graficar">
<button class="btn btn-mini">Graficar</button>
</div><!--btn graficar-->
<div class="drag">
<i class="icon-move" title="Arrastrar gráfico"></i>
</div>
</div>
<div class="tools" style="display: none;">
<div class="row1">
<div class="btn-group">
<button class="btn btn-mini btn-inverse type" objdata="">Gráfico</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu grafico">
<li><a objdata="col">Barras</a></li>
<li><a objdata="pie">Torta</a></li>
</ul>
</div><!--btn grafico-->
<div class="btn-group">
<button class="btn btn-mini btn-inverse campo" objdata="">Campo</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="sine">Agente</a></li>
<!-- <li><a objdata="cia">Compañía</a></li> -->
<li><a objdata="iata_num_code">Compañía</a></li>
<li><a objdata="gds">Total Emisiones</a></li>
</ul>
</div><!--btn campo-->
</div><!--row1-->
<div class="drag">
<i class="icon-move" title="Arrastrar gráfico"></i>
</div>
<div class="row2">
<div class="btn-group">
<button class="btn btn-mini btn-inverse" objdata="">Dimensión</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a dim="dim" objdata="gds">GDS</a></li>
<li><a dim="dim" objdata="limit">Límite</a></li>
</ul>
</div><!--btn dimension-->
<div class="limite" style="display:none;">
<input type="text" class="input-mini limit" placeholder="limite">
</div><!--Limite-->
<div class="btn-group gds" style="display:none;">
<button class="btn btn-mini btn-success gds_value" objdata="">GDS</button>
<button class="btn btn-mini btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="sabre">Sabre</a></li>
<li><a objdata="amadeus">Amadeus</a></li>
</ul>
</div>
<div class="btn-group fetch-date">
<button class="btn btn-mini btn-inverse filtro" objdata="">Filtro</button>
<button class="btn btn-mini btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Mes</a>
<ul class="dropdown-menu month-filter">
<!-- <li><a objdata="year">meses</a></li> -->
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" id="date-filter">Año</a>
<ul class="dropdown-menu year-filter">
<!-- <li><a objdata="year">anios</a></li> -->
</ul>
</li>
</ul>
</div><!--btn filtro-->
</div><!--row2-->
</div>
<div>
<div id="piecolchart5" class="pie"></div>
</div>
</div><!--dashboard4-->
</div><!--row-fluid-->
<div id="dashboard1" class="span12 dashboard draggable">
<div class="row00">
<button data-toggle="buttons-checkbox" class="btn btn-inverse btn-mini editar">Editar</button>
<div class="graficar">
<button class="btn btn-mini">Graficar</button>
</div><!--btn graficar-->
<div class="drag">
<i class="icon-move" title="Arrastrar gráfico"></i>
</div>
</div>
<div class='tools' style="display:none;">
<div class="btn-group">
<button class="btn btn-inverse campo" >Tipo de Reporte</button>
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="emisiones-full" href="#">Total Emisiones</a></li>
<li><a objdata="emisiones-gds" href="#">Total Emisiones x GDS</a></li>
<li><a objdata="emisiones-sine" href="#">Total Emisiones x Sine</a></li>
</ul>
</div>
<div class="criterio">
<input type="text" placeholder="Criterio de búsqueda" style='display: none;'></input>
</div>
<div class="btn-group fetch-sine" style="display:none;">
<button class="btn btn-success sine value" objdata="sine">Elija Agente</button>
<button class="btn btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu sine-filter">
<li><a objdata="sine-filter" value-sabre="SB" value-amadeus="AM">pepe_rino</a></li>
<li><a objdata="sine-filter" value-sabre="SB" value-amadeus="AM">luis_bernal</a></li>
</ul>
</div><!--btn agente-->
</div>
<div class="graph">
<div id="chart1" class="line"></div>
<div id="control1" class="line_small"></div>
</div>
</div> <!--dashboard1-->
<div id="dashboard2" class="span12 dashboard draggable">
<div class="row00">
<button data-toggle="buttons-checkbox" class="btn btn-inverse btn-mini editar">Editar</button>
<div class="graficar">
<button class="btn btn-mini">Graficar</button>
</div><!--btn graficar-->
<div class="drag">
<i class="icon-move" title="Arrastrar gráfico"></i>
</div>
</div>
<div class='tools' style="display:none;">
<div class="btn-group">
<button class="btn btn-inverse campo" >Tipo de Reporte</button>
<button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a objdata="emisiones-full" href="#">Total Emisiones</a></li>
<li><a objdata="emisiones-gds" href="#">Total Emisiones x GDS</a></li>
<li><a objdata="emisiones-sine" href="#">Total Emisiones x Sine</a></li>
</ul>
</div>
<div class="criterio">
<input type="text" placeholder="Criterio de búsqueda" style='display: none;'></input>
</div>
<div class="btn-group fetch-sine" style="display:none;">
<button class="btn btn-success sine value" objdata="sine">Elija Agente</button>
<button class="btn btn-success dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span>
</button>
<ul class="dropdown-menu sine-filter">
<li><a objdata="sine-filter" value-sabre="SB" value-amadeus="AM">pepe_rino</a></li>
<li><a objdata="sine-filter" value-sabre="SB" value-amadeus="AM">luis_bernal</a></li>
</ul>
</div><!--btn agente-->
</div>
<div class="graph">
<div id="chart2" class="line"></div>
<div id="control2" class="line_small"></div>
</div>
</div> <!--dashboard1-->
</div><!--wrapper-->
</body>
</html>