-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
77 lines (71 loc) · 2.25 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>
<html>
<head>
<meta charset="UTF-8">
<title>__MSG_settings_title__</title>
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/read-storage.js"></script>
<script src="js/write-storage.js"></script>
<script src="js/popup.js"></script>
<style type="text/css">
body {
font-size: 14px;
margin: 10px;
}
select {
width: 104px;
}
.long {
width: 100px;
}
table tr:last-child {
visibility: hidden;
}
button {
width: 24px;
}
select, button, input {
background: #FFF;
border-radius: 4px;
border-width: 1px;
padding: 5px;
user-select: none;
margin: 3px;
color: black;
}
select:focus, button:focus, input:focus {
outline: none;
}
select, button {
cursor: pointer;
}
</style>
</head>
<body>
<style>
span:empty::after {
content: "__MSG_settings_none__";
color: grey;
font-style: italic;
}
</style>
<table>
<tr>
<td>__MSG_settings_profile__:</td>
<td colspan="2">
<select id="profileNames"></select>
</td>
</tr>
<tr>
<td><input id="replaceableTag" class="long" placeholder="__MSG_settings_replace_tag__" /></td>
<td><input id="substituteTag" class="long" placeholder="__MSG_settings_substitute_tag__" /></td>
<td><button id="addTagReplacing">+</button></td>
</tr>
<tr>
<td><span id="replaceableTag2" class="long"></span></td>
<td><span id="substituteTag2" class="long"></span></td>
<td><button id="removeTag">-</button></td>
</tr>
</table>
</body>
</html>