-
Notifications
You must be signed in to change notification settings - Fork 0
/
detailed.html
118 lines (112 loc) · 2.67 KB
/
detailed.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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Tab</title>
<style>
html, body{
max-height: 575px;
min-width: 600px;
}
body{
text-align: center;
background-color: #30303d;
}
#data{
font-family: 'Roboto';
font-size: 20px;
margin-top: 5px;
margin-left: 20px;
color: #E0E0E0;
}
#chartdiv {
width : 100%;
height : 300px;
text-align: center;
}
#in{
color: #00BCD4;
}
.nomarg{
margin:0;
}
h2{
color: #2196F3;
}
#inline{
display: inline;
}
.content{
text-align: left;
margin-left:50px;
}
.content h1{
font-size:1.5em;
font-family: 'Roboto';
color: #E0E0E0;
}
.content h2{
font-size:1em;
font-family: 'Roboto';
color: #2196F3;
}
#sub{
color: #F44336;
}
#warn{
color: #FFC107;
margin-top: 15px;
opacity: 0;
}
#sub{
float: right;
margin-right: 25px;
margin-top: 10px;
margin-bottom: 10px;
}
#butn{
float: left;
margin-left: 43px;
margin-top: 10px;
margin-bottom: 10px;
}
</style>
<script src="jquery-3.2.1.min.js"></script>
<script src="Chart.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="material/material.min.css">
<script src="material/material.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<script src="detail.js"></script>
</head>
<body>
<i class = "material-icons" id = "warn">warning</i>
<div id = "data">Detailed Tab Usage</div>
<script src="am/amcharts/amcharts.js"></script>
<script src="am/amcharts/serial.js"></script>
<script src="am/amcharts/plugins/export/export.min.js"></script>
<link rel="stylesheet" href="am/amcharts/plugins/export/export.css" type="text/css" media="all">
<script src="am/amcharts/themes/dark.js"></script>
<div id = "chartdiv"></div>
<div id = "inline">
<div class = "content">
<h2 class = "nomarg"> Average Session Length : </h2>
<h1 class = "nomarg" id = "avgSn"></h1>
<h2 class = "nomarg"> Total Time Spent : </h2>
<h1 class = "nomarg" id = "total" ></h1>
</div>
<div id = "minisettings">
<button class="mdl-button mdl-js-button mdl-button--icon mdl-button--colored" id = "butn">
<a href = "popup.html" id = "plop"><i class="material-icons" id = "in">arrow_back</i></a>
</button>
<button class="mdl-button mdl-js-button mdl-js-ripple-effect" id = "sub">
Blacklist Website
</button>
</div>
</div>
</body>
</html>