-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
125 lines (114 loc) · 3.52 KB
/
popup.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html>
<head>
<title>MaxCDN Chrome</title>
<script src="assets/js/jquery-1.10.2.min.js"></script>
<script src="assets/js/jsoauth.js"></script>
<script src="assets/js/numeral.js"></script>
<script src="assets/js/moment.js"></script>
<script src="assets/js/jsapi.js"></script> <!-- google api stuff -->
<script src="assets/js/pops.js"></script> <!-- drawMarkersMap(cdnData) -->
<script src="assets/js/script.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<link href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
<style>
body { width: 500px; }
.stat-container {
display: table;
width: 100%;
}
.stat-holder {
display: table-cell;
width: 25%;
}
.stat span {
display: block;
margin-bottom: .4em;
font-size: 18px;
font-weight: 500;
font-style: bold;
color: #4A515B;
}
.stat {
height: 60px;
padding: 8px;
margin-right: 1em;
font-weight: 300;
font-size: 14px;
font-style: bold;
text-align: center;
color: #888;
background: #FFF;
border: 1px solid #CCC;
border-radius: 5px;
text-shadow: 1px 1px 2px rgba(255,255,255,.5);
}
.stat-container .stat-holder:last-child .stat {
margin: 0;
}
</style>
</head>
<body>
<h3>Reports - Past 30 Days</h3>
<hr />
<div class="stat-container">
<div class="stat-holder">
<div class="stat">
<span id="size">
<div class="progress progress-warning progress-striped active">
<div class="bar" style="width: 100%;"></div>
</div>
</span>
Transferred
</div> <!-- /stat -->
</div> <!-- /stat-holder -->
<div class="stat-holder">
<div class="stat">
<span id="cache-hits">
<div class="progress progress-warning progress-striped active">
<div class="bar" style="width: 100%;"></div>
</div>
</span>
Cache Hits
</div> <!-- /stat -->
</div> <!-- /stat-holder -->
<div class="stat-holder">
<div class="stat">
<span id="non-cache-hits">
<div class="progress progress-warning progress-striped active">
<div class="bar" style="width: 100%;"></div>
</div>
</span>
None-cache Hits
</div> <!-- /stat -->
</div> <!-- /stat-holder -->
</div>
<hr>
<div class="row">
<div class="span12">
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#us" data-toggle="tab">USA</a></li>
<li><a href="#eu" data-toggle="tab">EU</a></li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane active" id="us">
<div class="span6">
<div class="well" style="background-color: #FFF;">
<p><strong>United States</strong></p>
<div id="us_chart_div" style="width: 475px; height: 285px;"></div>
</div>
</div>
</div>
<div class="tab-pane" id="eu">
<div class="span6">
<div class="well" style="background-color: #FFF;">
<p><strong>Europe</strong></p>
<div id="eu_chart_div" style="width: 475px; height: 285px;"></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>