-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdashboard.html
More file actions
52 lines (41 loc) · 1.65 KB
/
dashboard.html
File metadata and controls
52 lines (41 loc) · 1.65 KB
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
<html>
<head>
<title>DC dashboard sample</title>
<!-- css from third party -->
<link rel="stylesheet" type="text/css" href="libs/bootstrap/bootstrap-3.2.0.min.css" />
<link rel="stylesheet" type="text/css" href="libs/dc-2.1/dc.css" />
<!-- our css styles -->
<link rel="stylesheet" type="text/css" href="css/dashboard.css" />
<!-- third party libraries -->
<script src="libs/d3/v3/d3.js"></script>
<script src="libs/crossfilter/crossfilter.js"></script>
<script src="libs/dc-2.1/dc.js"></script>
</head>
<body>
<div>
<div class="info-ctrl">
<div id="mystats" class="dc-data-count">
<span class="filter-count"></span> selected out of <span class="total-count"></span> |
<a href="javascript:dc.filterAll(); dc.renderAll();">Reset All</a>
</div>
</div>
<div class="main-charts">
<div>
<div id="line"></div>
<div id="pie"></div>
</div>
</div>
<div class="dc-data-table">
<div id="paging" style="display: none;">
Showing <span id="begin"></span>-<span id="end"></span> of <span id="size"></span> <span id="totalsize"></span>
<input id="last" class="btn" type="Button" value="Last" onclick="javascript:dashboard.last()" />
<input id="next" class="btn" type="button" value="Next" onclick="javascript:dashboard.next()"/>
</div>
<table class="the-table" id="mytable">
</table>
</div>
</div>
<!-- our js code -->
<script src="js/dashboard.js"></script>
</body>
</html>