-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
84 lines (74 loc) · 1.78 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
<!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>Baikal - Navigate between pages with a keyboard</title>
<style>
body {
font-family: "Segoe UI", "Lucida Grande", Tahoma, sans-serif;
font-size: 100%;
width: 600px;
padding-top: 40px;
}
.search-container {
padding-top: 8px;
padding-bottom: 8px;
position: fixed;
top: 0;
width: 100%;
background-color: white;
}
#filter {
width: 100%;
font-size: 150%;
}
table {
width: 100%;
}
tr:focus {
background-color: grey;
}
tr:hover {
background-color: lightgrey;
}
.link-caption {
margin: 8px 0 0 0;
font-size: 16px;
font-weight: bold;
}
.link-href {
margin: 0 0 8px 0;
font-size: 14px;
word-wrap: nowrap;
}
</style>
<!--
- 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
-->
<script src="popup.js"></script>
</head>
<body>
<section class="search-container">
<input id="filter" type="text" name="" value="" tabindex=1 placeholder="Type to search...">
</section>
<table id=links>
<tbody>
</tbody>
</table>
<template id="linkRowTemplate">
<tr>
<td>
<p class="link-caption"></p>
<p class="link-href"></p>
</td>
</tr>
</template>
</body>
</html>