-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (29 loc) · 1.2 KB
/
Copy pathindex.html
File metadata and controls
43 lines (29 loc) · 1.2 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
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>Twitch Api</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/reset.css">
<link rel='stylesheet prefetch' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container" ng-app="Streams">
<!-- display streams -->
<div class="container" ng-controller="PostsCtrl">
<ul class="row">
<div class="col-sm-2">
<li class="float-right" ng-repeat="stream in streams">{{stream}}</li>
</div>
<div class="col-sm-10">
<li class="float-left" ng-repeat="state in status track by $index">{{state[0]}}<a href="{{state[1]}}" target="_blank">{{state[3]}}</a><span id="streamInfo">{{state[2]}}</span></li>
</div>
</ul>
</div>
</div>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script>
<script src="js/index.js"></script>
</body>
</html>