-
Notifications
You must be signed in to change notification settings - Fork 1
/
options.html
125 lines (105 loc) · 2.44 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
<!DOCTYPE html>
<html>
<head>
<title lang="en" data-locale-code="optionsHeaderText">Options</title>
<style>
body {
margin: 20px;
background: #fff;
color: #000;
overflow: hidden;
}
h3 {
margin-bottom: 0;
}
form {
display: flex;
padding: 0;
border: 1px solid #bbb;
border-radius: 4px;
}
span {
display: inline-block;
margin: 0;
padding: 4px;
background: #ddd;
border: none;
border-radius: 4px 0px 0px 4px;
}
#composePaneStylingForm>label,
#composePaneStylingForm>input {
margin-top: auto;
margin-bottom: auto;
padding: 4px;
}
#customDomainsList {
margin: 4px 0;
padding: 0;
list-style-type: none;
}
#customDomainForm {
margin: 4px 0;
}
#customDomainsList>li {
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 4px;
padding: 4px 0;
}
input {
padding: 4px;
}
#customDomainInput,
#customDomainsList>li {
width: 100%;
border: none;
white-space: nowrap;
}
#customDomainsList>li>p {
margin: 0;
padding: 4px;
}
button {
padding: 4px;
background: #ddd;
border: none;
border-radius: 4px;
cursor: pointer;
white-space: nowrap;
}
button:hover {
background: #aaa;
}
body>div {
display: flex;
}
#statusMessage {
margin: 8px 0;
opacity: 0;
transition: .2s opacity;
}
</style>
</head>
<body>
<h3 lang="en" data-locale-code="optionsComposePaneStylingTitle"></h3>
<p lang="en" data-locale-code="optionsComposePaneStylingDescription"></p>
<form id="composePaneStylingForm">
<span>
<input type="checkbox" id="composePaneStylingCheckbox" name="composePaneStylingCheckbox" checked>
</span>
<label for="composePaneStylingCheckbox" lang="en" data-locale-code="optionsComposePaneStylingLabel"></label>
</form>
<h3 lang="en" data-locale-code="optionsCustomDomainTitle"></h3>
<p lang="en" data-locale-code="optionsCustomDomainDescription"></p>
<form id="customDomainForm">
<span>http(s):// </span>
<input type="url" id="customDomainInput" name="customDomainInput">
<button id="addCustomDomainButton" formnovalidate="formnovalidate" lang="en"
data-locale-code="optionsAddButtonText"></button>
</form>
<ul id="customDomainsList"></ul>
<div id="statusMessage"><br></div>
<script src="js/options.js"></script>
</body>
</html>