-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
executable file
·78 lines (70 loc) · 2 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
<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<html>
<head>
<title>Options</title>
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<style>
.container {
/* avoid an excessively wide status text */
text-overflow: ellipsis;
overflow: hidden;
max-width: 500px;
width: 400px;
height: 100%;
}
#status {
padding: 10px;
min-height: 100px;
}
</style>
<script src="bundle.js"></script>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3">
<h3 class="text-center"><img src="images/RosetteRNT-Icon.png" width="36px" height="36px"></img> Rosette Name Translation</h3>
</div>
</div>
<div class="row">
<div class="col-md-3">
<hr>
<p><strong>Tip:</strong> Highlight a name in your text to translate it</p>
<hr>
<div class="bg-info" id="status"></div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<hr>
<h4>Language Preferences:</h4>
<form id="lang-selectors">
<label class="checkbox-inline">
<input type="checkbox" id="eng" value="eng"> English
</label>
<label class="checkbox-inline">
<input type="checkbox" id="ara" value="ara"> Arabic
</label>
<label class="checkbox-inline">
<input type="checkbox" id="kor" value="kor"> Korean
</label>
<label class="checkbox-inline">
<input type="checkbox" id="rus" value="rus"> Russian
</label>
<label class="checkbox-inline">
<input type="checkbox" id="zho" value="zho"> Chinese
</label>
</form>
<hr>
</div>
</div>
<div class="row">
<div class="col-md-3 text-right">
<!--<a href="chrome://extensions?options=jbbcffpanimckakafabcgccckdjkpbok">Go to options.</a>-->
<a href="options.html"><button type="button" class="btn btn-primary btn-xs">Enter API Key</button></a>
</div>
</div>
</div>
</body>
</html>