-
Notifications
You must be signed in to change notification settings - Fork 0
/
jindex.html
101 lines (91 loc) · 2.9 KB
/
jindex.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Principal</title>
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<!-- jQuery -->
<script type="text/javascript" charset="utf8"
src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
<!-- DataTables -->
<script type="text/javascript" charset="utf8"
src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script>
<!-- DataTables CSS -->
<link rel="stylesheet" type="text/css"
href="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css" />
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
<!-- Graph -->
<script type="text/javascript" charset="utf8"
src="http://cdn.jsdelivr.net/jqplot/1.0.4/jquery.jqplot.min.js"></script>
<script type="text/javascript" charset="utf8"
src="http://cdn.jsdelivr.net/jqplot/1.0.4/plugins/jqplot.pieRenderer.min.js"></script>
<script type="text/javascript" charset="utf8"
src="http://cdn.jsdelivr.net/jqplot/1.0.4/plugins/jqplot.donutRenderer.min.js"></script>
<link rel="stylesheet" type="text/css"
href="http://cdn.jsdelivr.net/jqplot/1.0.4/jquery.jqplot.css" />
<link rel="stylesheet" type="text/css"
href="css/styles.css" />
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<script src="js/gral.js"></script>
<script type="text/javascript" charset="utf-8">
$.ajaxSetup({
async : false,
cache: false
});
var url = outputDir + "datatables/global.json";
var total = 0;
var contenido = Object;
var itemsGraph = [];
$(document).ready(
function() {
$.getJSON(url, function(data) {
contenido = data.aaData;
});
$('#table_ppal').dataTable({
"bJQueryUI" : true,
"bProcessing" : true,
"sPaginationType" : "full_numbers",
"aaData" : contenido,
"aoColumns" : [ {
"mData" : "trafico"
}, {
"mData" : "peticiones"
} ]
});
ini();
$("#labelMostrar").css("visibility", "hidden");
$("#divFecha").css("visibility", "hidden");
$("#divLimpiarFecha").css("visibility", "hidden");
});
</script>
<style>
.ui-button {
padding-right: 7px;
padding-left: 7px;
}
</style>
<!-- Menu -->
<link rel="stylesheet" media="screen" href="js/superfish-1.4.8/css/superfish.css" />
<script src="js/superfish-1.4.8/js/hoverIntent.js"></script>
<script src="js/superfish-1.4.8/js/superfish.js"></script>
<link rel="stylesheet" type="text/css"
href="css/styles.css" />
</head>
<body>
<div id="menu"></div>
<div style="width: 800px">
<table cellpadding="0" cellspacing="0" border="0" class="display"
id="table_ppal">
<thead>
<tr>
<th>Tráfico</th>
<th>Peticiones</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</body>
</html>