-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
87 lines (78 loc) · 3.14 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
<!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 style="min-width:500px">
<head>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<title>Revmine</title>
<!-- <link rel="stylesheet" href="style.css"> -->
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<link type="text/css" rel="stylesheet" href="css/marquee.css">
<link type="text/css" rel="stylesheet" href="css/dark.css">
<link type="text/css" rel="stylesheet" href="css/jquery.upvote.css">
<script src="js/Chart.min.js"></script>
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/jquery.upvote.js"></script>
<script src="popup.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
</head>
<body>
<div align="center">
<div id="topic" class="upvote" style="float: left;" hidden='true'>
<a class="upvote"></a>
<span class="count">0</span>
<a class="downvote"></a>
</div>
<font size="6" align="center"> RevMine<sup>®</sup></font>
<label for="light_mode" style="cursor: pointer; float: right;"><font size="6" id='symbol'>☀</font><input type="checkbox" id="light_mode" class="cbx hidden"/>
</label>
<!-- TABS -->
<div class="row" id="tablet" hidden>
<div class="col-sm-offset-2 s8">
<ul class="tabs" align="center" style="background-color: transparent;">
<li class="tab col s4"><a class="active green-text" href="#" id="i1">Insights</a></li>
<li class="tab col s4"><a class="green-text" href="#" id="a1">Alternatives</a></li>
<li class="tab col s4"><a class="green-text" href="#" id="p1">Term Frequencies</a></li>
</ul>
</div>
</div>
<!--TABS-->
</div></div>
<div id="insights">
<div class="row">
<div class="col s12">
<div class="progress" id='prog' style:"display: none;">
<div class="indeterminate"></div>
</div>
<p id="status" class='flow-text'></p>
</div>
<div id="js-legend" class="chart-legend" align="right" style="padding-right: 2.5cm;"></div>
<canvas id="canvas" height="250" width="500" style="display: none;"></canvas>
<br>
<div class = "flow-text" id='anim' align="center" hidden>Click on a bar to see the related review!</div>
</div>
</div>
<div id="alternatives" hidden>
<div class="card green lighten-2">
<div class="card-content black-text">
<h5 id="name"></h5>
<h6 id="message"></h6>
</div>
</div>
<ul class="collection" id="ballu">
</ul>
</div>
<div id="pie" hidden>
<div class="row center">
<canvas id="piechart" height="250" width="450" style="display: none;"></canvas>
</div>
</div>
</div>
<footer align="center">Made with <font color="#FF00FF">❤</font> in BITS Pilani by EvolvingLegends <sup>©</sup> 2016</footer>
</body>
</html>