-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
52 lines (46 loc) · 2.49 KB
/
index.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
<!doctype html>
<html ng-app="app">
<head>
<title>Smartlighting</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/angular_material/1.0.5/angular-material.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/client/index.css">
</head>
<body>
<div id="insight" style="width: 600px; margin: auto;">
<bulb-insight></bulb-insight>
</div>
<div style="width: 600px; margin: auto;">
<div id="meetings" style="height: 400px;"></div>
<div id="hours"></div>
</div>
</body>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.8.0/metricsgraphics.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/metrics-graphics/2.8.0/metricsgraphics.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.5/bluebird.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.11.1/lodash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.13.0/moment.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular-animate.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular-aria.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.9/angular-messages.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angular_material/1.0.5/angular-material.min.js"></script>
<script src="socket.io/socket.io.js"></script>
<script src="/client/app.js"></script>
<script src="/client/products/bulb/schemas/instance-states.js"></script>
<script src="/client/products/bulb/app.js"></script>
<script src="/client/graphics/scatterplot/graphics.js"></script>
<script>
jQuery(document).ready(function(){
var Meetings = Graphics.meetings('#meetings');
var Hours = Graphics.hours('#hours');
jQuery.getJSON('/client/graphics/scatterplot/data.json', function(data){
Meetings.render(data);
Hours.render(data);
});
});
</script>
</html>