-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
45 lines (45 loc) · 1003 Bytes
/
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
<!-- popup.html -->
<!DOCTYPE html>
<html>
<head>
<style>
body {
font-family: Arial, sans-serif;
padding: 10px;
}
input,
select {
width: 100%;
padding: 8px;
margin-top: 10px;
}
button {
width: 100%;
padding: 8px;
margin-top: 10px;
cursor: pointer;
}
.secret-wrapper {
width: 400px;
margin: 0 auto;
}
</style>
</head>
<body>
<h3>Configure Encryption</h3>
<div class="secret-wrapper">
<input type="url" id="pageUrl" placeholder="Enter URL pattern" />
<input type="password" id="myKey" placeholder="Enter your secret key" />
<input
type="password"
id="peerKey"
placeholder="Enter peer's secret key"
/>
<button id="saveKeys">Save Keys for this URL</button>
</div>
<hr />
<h3>Saved URLs</h3>
<div id="savedUrls"></div>
<script src="popup.js"></script>
</body>
</html>