forked from arantius/resurrect-pages
-
Notifications
You must be signed in to change notification settings - Fork 3
/
popup.htm
70 lines (67 loc) · 1.81 KB
/
popup.htm
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
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: caption, sans-serif;
}
button, label {
display: block;
width: 100%;
}
button {
margin: 2px 0;
padding: 2px;
text-align: left;
}
label {
font-size: small;
}
img {
vertical-align: bottom;
height: 16px;
}
@media (prefers-color-scheme: dark){
body {
filter: hue-rotate(180deg) invert(1);
background-color:#102;
}
}
</style>
<form>
<button data-locale="resurrectCachew" data-gen="genCachewUrl">
<img src="icons/cacheicons/cachew.png">
</button>
<button data-locale="resurrectArchive" data-gen="genIaUrl">
<img src="icons/cacheicons/waybackmachine.png">
</button>
<button data-locale="resurrectArchiveList" data-gen="genIaListUrl">
<img src="icons/cacheicons/waybackmachine.png">
</button>
<button data-locale="resurrectArchiveIs" data-gen="genArchiveIsUrl">
<img src="icons/cacheicons/archiveis.png">
</button>
<button data-locale="resurrectWebcitation" data-gen="genWebCiteUrl">
<img src="icons/cacheicons/webcitation.png">
</button>
<button data-locale="resurrectMementoWeb" data-gen="genMementoUrl">
<img src="icons/cacheicons/mementoweb.png">
</button>
<button data-locale="resurrectIsUp" data-gen="genIsUpUrl">
<img src="icons/cacheicons/isup.png">
</button>
<div style='line-height: 8px;'> </div>
<label data-locale="resurrectConfigCurrentTab">
<input type="radio" name="openIn" value="0">
</label>
<label data-locale="resurrectConfigNewTab">
<input type="radio" name="openIn" value="1">
</label>
<label data-locale="resurrectConfigBgTab">
<input type="radio" name="openIn" value="2">
</label>
<label data-locale="resurrectConfigNewWindow">
<input type="radio" name="openIn" value="3">
</label>
</form>
<script src="common.js"></script>
<script src="popup.js"></script>