-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
158 lines (140 loc) · 5.27 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<script src="jquery-2.1.1.min.js"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="slider/css/slider.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script src = "popup.js"></script>
</head>
<body>
<script src="jquery-2.1.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="slider/js/bootstrap-slider.js"></script>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<div style="min-width:350px;min-height:300px;">
<div class="container-fluid">
<!-- <div class="row">
<div class="col-xs-7">
<h2>Mike Anamendolla</h2>
<p><strong>About: </strong> Web Designer / UI. </p>
<p><strong>Hobbies: </strong> Read, out with friends, listen to music, draw and learn new things. </p>
</div>
<div class="col-xs-4" style = "margin-top:60px;">
<img src="http://api.randomuser.me/portraits/men/49.jpg" alt="" class="center-block img-circle img-responsive">
</div>
</div> -->
<div class = "row">
<div class="col-xs-6">
<h2 id="learnt"><strong>0</strong></h2>
<p><small>Learnt</small></p>
<button class="btn btn-success btn-block"><span class="fa fa-plus-circle"></span> Show Me </button>
</div><!--/col-->
<div class="col-xs-6">
<h2 id="toLearn"><strong>0</strong></h2>
<p><small>To Learn</small></p>
<button class="btn btn-info btn-block"><span class="fa fa-user"></span> Show Me </button>
</div><!--/col-->
</div>
</div>
<hr>
<div class = "row" style = "margin:10px;">
<div class = "col-xs-4">
<h4>Words/P: </h4>
</div>
<div class = "col-xs-7" style = "margin:5px;">
<input id="wordsReplaced" class="slider" data-slider-max="10" data-slider-min="0" data-slider-step="1" type="text">
</div>
</div>
<div class = "row" style = "margin:10px;">
<div class = "col-xs-4">
<h4>Translate: </h4>
</div>
<div class = "col-xs-7" style = "margin:5px;">
<div id="onoff" class="btn-group btn-toggle">
<button id="turnOn" class="btn btn-default">ON</button>
<button id="turnOff" class="btn btn-primary active">OFF</button>
</div>
</div>
</div>
<div class = "row" style = "margin:10px;">
<div class = "col-xs-4">
<h4>Words Displayed: </h4>
</div>
<div class = "col-xs-7" style = "margin:5px;">
<div id="englishchinese" class="btn-group btn-toggle">
<button id="displayEnglish" class="btn btn-default">English</button>
<button id="displayChinese" class="btn btn-primary active">Chinese</button>
</div>
</div>
</div>
<div class = "row" style = "margin:10px;">
<div class = "col-xs-4">
<h4>From: </h4>
</div>
<div class = "col-xs-7" style = "margin:5px;">
<div class = "row">
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox1" value="cnn.com">CNN
</label>
</div>
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox2" value="chinadaily.com.cn">ChinaDaily
</label>
</div>
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox3" value="bbc.com">BBC
</label>
</div>
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox4" value="all">ALL_Website
</label>
</div>
</div>
</div>
</div>
<div class = "row" style = "margin:10px;">
<div class = "col-xs-5" style = "margin:5px;">
<button style = "margin-left:20px;" class="btn btn-primary btn-lg" id="setting">Setting</button>
</div>
<div class = "col-xs-5" style = "margin:5px;">
<button style = "margin-left:20px;" class="btn btn-primary btn-lg" id="documentation">Tutorial</button>
</div>
</div>
<!-- <div class = "row" style = "margin:10px;">
<div class = "col-xs-4">
<h4>Category: </h4>
</div>
<div class = "col-xs-7" style = "margin:5px;">
<div class = "row">
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox1" value="1">Politics
</label>
</div>
<div class = "col-xs-6">
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox3" value="3">Technology
</label>
</div>
</div>
</div>
</div> -->
</div>
</body>
</html>