-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcw_settings.html
More file actions
136 lines (121 loc) · 4.19 KB
/
cw_settings.html
File metadata and controls
136 lines (121 loc) · 4.19 KB
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
<!DOCTYPE html>
<!--
Copyright 2019 PilzAdam
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- The settings page. Automatically incldued in about:addons -->
<html>
<head>
<meta charset="utf-8" />
<title data-i18n="settingsTitle"></title>
<link rel="icon" href="icons/cw_128.png" />
<link rel="stylesheet" type="text/css" href="cw_common.css" />
<style>
body {
overflow: hidden;
}
#ignoredDomains {
box-sizing: border-box;
min-width: 100%;
max-width: 100%;
resize: vertical;
}
table {
width: 100%;
max-width: 40em;
}
select {
width: 100%;
}
.key {
text-align: right;
vertical-align: top;
padding-top: 0.9em;
}
.save {
text-align: center;
}
</style>
</head>
<body>
<table>
<tbody>
<tr data-i18n="title=settingsCheckCertsTooltip">
<td class="key">
<label for="certChecks" data-i18n="settingsLblCheckCerts"></label>
</td>
<td>
<select id="certChecks">
<option value="all" data-i18n="settingsCheckAllCert"></option>
<option value="domain" data-i18n="settingsCheckDomainCert"></option>
</select>
</td>
</tr>
<tr data-i18n="title=settingsIgnoredDomainsTooltip">
<td class="key">
<label for="ignoredDomains" data-i18n="settingsLblIgnoredDomains"></label>
</td>
<td>
<textarea id="ignoredDomains" rows="15" data-i18n="placeholder=settingsIgnoredDomainsTooltip"></textarea>
</td>
</tr>
<tr data-i18n="title=settingsLogLevelTooltip">
<td class="key">
<label for="logLevel" data-i18n="settingsLblLogLevel"></label>
</td>
<td>
<select id="logLevel">
<option value="none" data-i18n="settingsLogLevelNone"></option>
<option value="info" data-i18n="settingsLogLevelInfo"></option>
<option value="debug" data-i18n="settingsLogLevelDebug"></option>
</select>
</td>
</tr>
<tr data-i18n="title=settingsCheckedFieldsTooltip">
<td class="key">
<label for="checkedFields" data-i18n="settingsLblCheckedFields"></label>
</td>
<td>
<form id="checkedFields">
<input type="checkbox" name="checkedFields" value="subject" id="checkFieldSubject" />
<label for="checkFieldSubject" data-i18n="settingsLblCheckSubject"></label>
<br/>
<input type="checkbox" name="checkedFields" value="issuer" id="checkFieldIssuer" />
<label for="checkFieldIssuer" data-i18n="settingsLblCheckIssuer"></label>
<br/>
<input type="checkbox" name="checkedFields" value="validity" id="checkFieldValidity" />
<label for="checkFieldValidity" data-i18n="settingsLblCheckValidity"></label>
<br/>
<input type="checkbox" name="checkedFields" value="subjectPublicKeyInfoDigest" id="checkFieldPublicKey" />
<label for="checkFieldPublicKey" data-i18n="settingsLblCheckPublicKey"></label>
<br/>
<input type="checkbox" name="checkedFields" value="serialNumber" id="checkFieldSerialNumber" />
<label for="checkFieldSerialNumber" data-i18n="settingsLblCheckSerialNumber"></label>
<br/>
<input type="checkbox" name="checkedFields" value="fingerprint" id="checkFieldFingerprint" />
<label for="checkFieldFingerprint" data-i18n="settingsLblCheckFingerprint"></label>
</form>
</td>
</tr>
<tr>
<td class="save">
<input type="button" id="save" disabled data-i18n="value=settingsSave" />
<input type="button" id="reset" disabled data-i18n="value=settingsReset" />
</td>
</tr>
</tbody>
</table>
<!-- Force a bit of extra space in about:addons -->
<div> <br /> </div>
<script src="cw_common.js"></script>
<script src="cw_settings.js"></script>
</body>
</html>