-
Notifications
You must be signed in to change notification settings - Fork 17
/
options.html
143 lines (132 loc) · 5.07 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Correct Identity</title>
<script src="scripts/i18n.js"></script>
<script src="scripts/options.js"></script>
<style type="text/css">
select {
text-overflow: ellipsis;
width: 100%;
}
textarea {
width: 100%;
}
.tooltip {
text-decoration: none;
position: relative;
}
.tooltip span {
display: none;
}
.tooltip:hover span {
width: 75%;
left: 20%;
bottom: 100%;
background-color: orange;
padding: 5px;
border-width: 1px;
border-style: solid;
border-color: black;
display: block;
position: absolute;
overflow: hidden;
}
.invisible_box {
overflow: hidden;
visibility: hidden;
height: 0;
width: 0;
}
/* copied from Thunderbird sources: suite/themes/modern/global/menu.css */
.menu-iconic-text {
margin-top: 0px !important;
margin-bottom: 0px !important;
margin-inline-start: 0px !important;
margin-inline-end: 2px !important;
color: inherit;
}
.menu-description {
font-style: italic;
color: #8C99AB;
margin-inline-start: 1ex !important;
}
</style>
</head>
<body>
<!-- <header>__MSG_CorrectIdentity.title__</header> -->
<fieldset>
<legend>__MSG_CorrectIdentity.accountsCaption__</legend>
<div class="box">
<form>
<label for="accountSelector" id="accountLabel">__MSG_CorrectIdentity.accountSelector__ </label>
<select name="AccountSelector" id="accountSelector" role="listbox">
</select>
</form>
</div>
<div class="box" id="identityMechanismGroup" role="radiogroup" aria-describedby="identityMechanismGroupLabel">
<br><label for="identityMechanismGroup" id="identityMechanismGroupLabel">__MSG_CorrectIdentity.accountsDescription__</label><br>
<input type="radio" id="defaultIdentity" name="identityMechanism" value=0 checked="checked">
<label for="defaultIdentity" id="defaultIdentityLabel">__MSG_CorrectIdentity.mechanismDefault__</label><br>
<input type="radio" id="explicitIdentity" name="identityMechanism" value=1 aria-roledescription="identity from list">
<label for="explicitIdentity" id="explicitSelectorLabel">__MSG_CorrectIdentity.mechanismExplicit__</label>
<select name="ExplicitSelector" id="explicitSelector" label="list box" role="listbox" aria-labelledby="explicitSelectorLabel">
</select>
</div>
<div class="box">
<br><span id="replyDescription">__MSG_CorrectIdentity.replyDescription__</span><br>
<input type="checkbox"
id="replyFromRecipient" name="replyFromRecipient"
value="replyFromRecipient" aria-labelledby="replyDescription replyFromRecipientLabel"> <label for="replyFromRecipient" id="replyFromRecipientLabel">__MSG_CorrectIdentity.replyFromRecipient__</label><br>
</div>
</fieldset>
<fieldset>
<legend>__MSG_CorrectIdentity.detectionCaption__</legend>
<span id="detectionDescription">__MSG_CorrectIdentity.detectionDescription__</span>
<form aria-describedby="detectionDescription">
<label for="selectedDetectionIdentity" id="identityLabel">__MSG_CorrectIdentity.identitySelector__ </label>
<select name="SelectedDetectionIdentity" id="selectedDetectionIdentity" role="listbox">
</select>
</form>
<div class="box">
<input type="checkbox" id="detectable" name="detectable"
value="detectable"> <label for="detectable">__MSG_CorrectIdentity.identityDetectable__</label><br>
<input type="checkbox"
id="removeSenderFromRecipients" name="removeSenderFromRecipients"
value="removeSenderFromRecipients"> <label for="removeSenderFromRecipients" id="removeSenderFromRecipientsLabel">__MSG_CorrectIdentity.removeSenderFromRecipients__</label><br>
<input type="checkbox"
id="keepRecipientAddress" name="keepRecipientAddress"
value="keepRecipientAddress"> <label for="keepRecipientAddress" id="keepRecipientAddressLabel">__MSG_CorrectIdentity.keepRecipientAddress__</label><br>
</div>
<br>
<label for="detectionAliases">__MSG_CorrectIdentity.aliasesDescription__</label>
<div class="tooltip">
<textarea id="detectionAliases" name="detectionAliases" rows="4"></textarea>
<span>__MSG_CorrectIdentity.aliasesTooltip__</span>
</div>
</fieldset>
<fieldset>
<legend>__MSG_CorrectIdentity.safetyCaption__</legend>
<span id="safetyDescription">__MSG_CorrectIdentity.safetyDescription__</span>
<form aria-describedby="safetyDescription">
<label for="selectedSafetyIdentity">__MSG_CorrectIdentity.identitySelector__ </label>
<select name="SelectedSafetyIdentity" id="selectedSafetyIdentity" role="listbox">
</select>
</form>
<label for="warningAliases">__MSG_CorrectIdentity.warningAliasesDescription__</label>
<div class="tooltip">
<textarea id="warningAliases" name="warningAliases" rows="4"></textarea>
<span>__MSG_CorrectIdentity.warningAliasesTooltip__</span>
</div>
</fieldset>
<fieldset id="additionalHeaderFieldsSet">
<legend>__MSG_CorrectIdentity.additionalHeaderFieldsCaption__</legend>
<label for="additionalHeaderFields">__MSG_CorrectIdentity.additionalHeaderFieldsDescription__</label>
<div class="tooltip">
<textarea id="additionalHeaderFields" name="additionalHeaderFields" rows="4"></textarea>
<span>__MSG_CorrectIdentity.additionalHeaderFieldsTooltip__</span>
</div>
</fieldset>
</body>
</html>