322eb9cd74
Consistent coding style, significantly less repetition. Use `chrome` rather than `browser`, for compatibility.
57 lignes
1,4 Kio
HTML
57 lignes
1,4 Kio
HTML
<!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;
|
|
}
|
|
</style>
|
|
<form>
|
|
<button data-locale="resurrectGoogle" data-gen="genGoogleUrl">
|
|
<img src="icons/cacheicons/google.png">
|
|
</button>
|
|
<button data-locale="resurrectGoogleText" data-gen="genGoogleTextUrl">
|
|
<img src="icons/cacheicons/google.png">
|
|
</button>
|
|
<button data-locale="resurrectArchive" data-gen="genIaUrl">
|
|
<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>
|
|
|
|
<br>
|
|
|
|
<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>
|