-
Notifications
You must be signed in to change notification settings - Fork 0
/
dash.html
78 lines (71 loc) · 3.08 KB
/
dash.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
<!doctype html>
<html lang="en" ng-app>
<head>
<title>DASH</title>
<meta charset="utf-8">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style/font-awesome.css">
<link rel="stylesheet/less" type="text/css" href="style/font-awesome.less">
<link rel="stylesheet/less" type="text/css" href="style/style.less">
<script src="lib/less-1.3.0.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="lib/angular.min.js"></script>
<script src="mustache.js"></script>
<script src="icanhaz.js"></script>
<script src="lib/jquery.base64.min.js"></script>
<script src="lib/jquery.csv.min.js"></script>Î
<script src="lib/jquery.dateformat.js"></script>
<script src="lib/bootstap-carousel.js"></script>
<script type="text/javascript" src="FusionCharts.js"></script>
<script type="text/javascript" src="FusionCharts.jqueryplugin.js"></script>
<script src="controller/status.js"></script>
<script src="controller/icinga.js"></script>
<script src="controller/akamai.js"></script>
<script src="controller/time.js"></script>
<script src="controller/twitter.js"></script>
</head>
<body>
<section id="main">
<div id="calendar" class="module-dash-single bg-grey" ng-controller="CalendarCtrl">
<div>
<span class="t-size-x60">{{calendar.date | date:'h:mm'}}</span>
<span class="t-size-x40">{{calendar.date | date:'a'}}</span>
</div>
<div>
<div>
<div class="t-size-x24">{{calendar.date | date:'EEEE, MMM d'}}</div>
</div>
</div>
</div>
<div id="status" class="module-dash-single bg-status-{{status.online}}" ng-controller="StatusCtrl">
<h2 class="t-size-x40">Build</h2>
<div class="t-size-x24">Build: {{status.build}}</div>
<div class="t-size-x24">Leg: {{status.leg}}</div>
</div>
<div id="icinga" class="module-dash-single bg-status-{{icinga.overall}}" ng-controller="IcingaCtrl">
<h2 class="t-size-x40">Production</h2>
<div class="t-size-x24">OK: {{icinga.ok}}</div>
<div class="t-size-x24">Warn: {{icinga.warn}}</div>
<div class="t-size-x24">Error: {{icinga.error}}</div>
</div>
<div id="urls" class="module-dash-single bg-purple" ng-controller="AkamaiUrlCtrl">
<h2 class="t-size-x40">Urls</h2>
</div>
<div id="browsers" class="module-dash-single bg-turquoise" ng-controller="AkamaiCtrl">
<h2 class="t-size-x40">Browsers</h2>
<div id="browsers-chart"></div>
</div>
<div class="module-dash-single bg-blue">Hello</div>
<div id="twitter" class="module-dash-single bg-light-blue" ng-controller="TwitterCtrl">
<h2 class="t-size-x40">Tweets</h2>
<ul class="unstyled carousel">
<li class='item' ng-repeat="tweet in tweets.results">
<div><span><img src="{{tweet.profile_image_url}}" /></span><span class="user">@{{tweet.from_user}}</span></div>
<span class="t-size-x18">{{tweet.text}}</span>
</li>
</ul>
</div>
<div class="module-dash-single bg-steel-blue">Hello</div>
</section>
</body>
</html>