-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
62 lines (58 loc) · 1.74 KB
/
popup.html
File metadata and controls
62 lines (58 loc) · 1.74 KB
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
<!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>Getting Started Extension's Popup</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
}
.row{
float: left;
width: 17em;
}
.row > input{
float: left;
width: 16em;
}
.row > button{
width: 2em;
position: relative;
display: inline-block;
float: left;
}
#status{
position: absolute;
right: 4em;
top: -7px;
background-color: #ff3333;
height: 1.2em;
}
</style>
<link rel="stylesheet" href="css/font-awesome.min.css">
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
-->
</head>
<body>
<form>
<div class="row">
<input type="text" name="searchField" id="search" autofocus autocomplete="off">
<p id="status"></p>
<button id="incr"><i class="fa fa-chevron-down"></i></button>
<button id="decr"> <i class="fa fa-chevron-up"></i></button>
</div><br>
</form>
</body>
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script src="popup.js"></script>
</html>