-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (53 loc) · 2.07 KB
/
index.html
File metadata and controls
53 lines (53 loc) · 2.07 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
53
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src='https://cdn.firebase.com/js/client/1.0.17/firebase.js'></script>
<title>Tweet Analytics</title>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="web.css">
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<script src = "model.js"></script>
<script src = "helpers.js"></script>
<script src = "view.js"></script>
<script src="http://code.highcharts.com/maps/highmaps.js"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script>
$(window).bind("beforeunload", function() {
dataRef.remove();
})
</script>
</head>
<body>
<div id="tweets"></div>
<a href="https://github.com/austinbourdier/firebase-twitter-analytics"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 2;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on Github"></a>
<button class = "btn btn-success">Restart Clock</button>
<span id = "seconds" style = "color:blue;">Seconds: </span>
<table id = "metrics" class = "table">
<tr>
<td>Sentiment</td>
<td>Total Tweets</td>
<td>Per Second</td>
</tr>
<tr style = "color:green">
<td>Positive:</td>
<td id = "positive">0</td>
<td id = "positivePerSecond">0.00</td>
</tr>
<tr style = "color:gray">
<td>Neutral:</td>
<td id = "neutral">0</td>
<td id = "neutralPerSecond">0.00</td>
</tr>
<tr style="color:red">
<td>Negative:</td>
<td id = "negative">0</td>
<td id = "negativePerSecond">0.00</td>
</tr>
</table>
<div id="spline"></div>
</body>
</html>