-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.html
executable file
·59 lines (53 loc) · 1.82 KB
/
options.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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="options.css">
<title id="widget-title">Opera Extensions | Translate</title>
<script type="text/javascript" src="lib.js"></script>
<script type="text/javascript" src="options.js"></script>
</head>
<body>
<header>
<img src="icon_64x64.png">
<h1 id="widget-name">Translate</h1>
<h2>for Opera 11</h2>
</header>
<section>
<fieldset style="text-align:center;">
<input type="button" id="clearPreferences" value="Reset all translation preferences">
</fieldset>
</section>
<section>
<h3>Translate pages into</h3>
<fieldset style="text-align:center;">
<select id="homeLang"></select>
</fieldset>
</section>
<section>
<h3>Privacy</h3>
<fieldset>
<p>
Enable translation on secure pages?
<label for="httpsOn">Yes</label>
<input type="radio" name="https" id="httpsOn" value="1" />
<label for="httpsOff">No</label>
<input type="radio" name="https" id="httpsOff" value="0" />
</p>
</fieldset>
</section>
<section>
<h3>Change your settings per language</h3>
<fieldset style="text-align:center;">
<p><input type="button" id="blanketPreferences" value="Translate all languages automatically"></p>
<p><input type="button" id="blanketPreferencesOff" value="Never ask to translate any page"></p>
<p>You can always manually trigger a page translation with the shortcut Ctrl-Shift-R.</p>
</fieldset>
</section>
<section style="margin-top:20px;" id="optionsList"></section>
<footer>
<p>Copyright © MMXI Neil Jenkins and Rich Tibbett</p>
<p>Powered by <a href="http://translate.google.com">Google Translate</a></p>
</footer>
</body>
</html>