-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (90 loc) · 4.31 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
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
<!DOCTYPE html>
<html ng-app="twitter">
<head>
<title>helloAngular</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/spinner.css" type="text/css">
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/d3.v3.min.js"></script>
<script src="js/Oauth.js"></script>
<script src="js/angular.js"></script>
<script src="js/app.js"></script>
<script src="js/d3Module.js"></script>
<script src="js/controller.js"></script>
<script src="js/services.js"></script>
<style>
.container {
margin-top: 10px;
margin-bottom: 10px;
}
#results .row {
margin-top: 15px;
margin-bottom: 15px;
}
</style>
</head>
<body>
<div class="container" ng-controller="controller">
<div class="row">
<form class="navbar-form navbar-left" role="search">
<div class="col-xs-12">
<div class="col-lg-10">
<div class="input-group">
<input ng-model="query" ng-keypress="$event.keyCode == 13 ? search() : return;" type="text" id="search" placeholder="Search to get started" style='display:none;' class="form-control" autofocus="autofocus">
<span class="input-group-btn search-button-container">
<button ng-click="search()" id="searchButton" class="btn btn-default" type="button" style="display:none;">Go!</button>
</span>
</div>
</div>
<button ng-click="auth()" id="login" type="button" class="btn btn-primary">Connect to Twitter</button>
<button ng-click="signOut()" id="signOut" type="button" class="btn btn-link" style="display:none;">Sign Out</button>
<!--<div class="three-quarters" style="display: inline-block;"></div>-->
</div>
</form>
</div>
<div class="row result_counter" style="display: none;">
<div style="padding-left: 50px;" class="col-lg-2">
About {{resultsFound}} results
</div>
<div class="input-group-btn spinner col-lg-4" style="display: none; margin-top: 4px;">
<div id="fountainG">
<div id="fountainG_1" class="fountainG">
</div>
<div id="fountainG_2" class="fountainG">
</div>
<div id="fountainG_3" class="fountainG">
</div>
<div id="fountainG_4" class="fountainG">
</div>
<div id="fountainG_5" class="fountainG">
</div>
<div id="fountainG_6" class="fountainG">
</div>
<div id="fountainG_7" class="fountainG">
</div>
<div id="fountainG_8" class="fountainG">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12" style="margin-left: 30px; display: none;" id="graph">
<h3>Chart by hour of tweet</h3>
<grafff data="graphData"></grafff>
</div>
<div class="col-xs-12" style="margin-left: 30px;" id="results">
<div class="row" ng-repeat="t in statuses">
<div class="col-xs-2 col-sm-1">
<img ng-src="{{t.user.profile_image_url}}" class="img-circle">
</div>
<div class="col-xs-10 col-sm-11">
<small>{{t.user.name}}</small> - <small>{{t.created_at | asDate | date:'short'}}</small><br>{{t.text}}
</div>
</div>
</div>
</div>
</div>
</body>
</html>