forked from quimgil/mailman-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mailman-template.html
282 lines (267 loc) · 8.57 KB
/
mailman-template.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<!-- Version: C 1.7 -->
<html lang="en">
<head>
<title><MM-List-Name> Mailing List - Wikimedia</title>
<style>
html, body {
height: 100%;
}
body {
margin: 0px;
padding: 0px;
background: #F0F0F0;
font-family: 'Open Sans', sans-serif;
font-size: 13px;
color: #252525;
}
h1, h2, h3 {
margin: 0;
padding: 0;
}
p, ol, ul {
margin-top: 0px;
}
p {
line-height: 180%;
}
a {
color: #0000FF;
}
a:hover {
text-decoration: none;
}
a img {
border: none;
}
img.border {
}
img.alignleft {
float: left;
}
img.alignright {
float: right;
}
img.aligncenter {
margin: 0px auto;
margin-top: -25px;
padding-bottom: 10px;
}
hr {
display: none;
}
/** WRAPPER */
.container {
width: 1000px;
margin: 0px auto;
}
/** GREEN EFFECT */
.greeneff:hover {
background-color: #d4f8d4;
}
/** GRAY EFFECT */
.grayeff:hover {
background-color: #f6f6f6;
}
/** MENU */
#menu {
#float: right;
#width: 600px;
#height: 99px;
}
#menu ul {
#float: right;
margin-left: -25px;
#padding: 40x 0px;
list-style: none;
line-height: normal;
}
#menu li {
#float: left;
#margin-left: 2em;
}
#menu a {
display: block;
padding: 10px 0px;
letter-spacing: 2px;
text-decoration: none;
text-transform: uppercase;
font-family: 'Archivo Narrow', sans-serif;
font-size: 1.10em;
font-weight: 600;
color: #252525;
}
#menu .active a {
background: #0091E6;
border-radius: 5px;
color: #FFFFFF;
}
#menu a:hover {
text-decoration: underline;
}
/** PAGE */
#page {
overflow: hidden;
width: 900px;
padding: 50px 30px 30px 30px;
background-color: #FFFFFF;
border-radius: 10px 10px 10px 10px;
}
#page h2 {
margin-bottom: 30px;
}
/** CONTENT */
#content {
float: right;
width: 660px;
}
#content #onecolumn {
padding-bottom: 15px;
border-bottom: 1px solid #D4D4D4;
}
#content h2 {
letter-spacing: -1px;
font-size: 3em;
}
/** SIDEBAR */
#sidebar {
float: left;
width: 220px;
padding-top: 0px;
}
#sidebar #sbox1 {
margin-bottom: 40px;
}
#sidebar #sbox2 {
overflow: hidden;
margin-bottom: 50px;
}
#sidebar #sbox3 {
overflow: hidden;
}
/** FOOTER */
#copyright{
overflow: hidden;
width: 900px;
padding: 50px;
}
#copyright p {
text-align: center;
#text-shadow: 1px 1px 1px rgba(0,0,0,1);
}
#copyright a {
color: #4E4E4E;
}
/** BODY */
#two-column {
padding-top: 30px;
}
.box-content {
overflow: hidden;
margin-bottom: 2em;
}
.box-content p {
padding-left: 60px;
}
.title {
display: block;
padding-left: 60px;
padding-bottom: 1em;
font-size: 1.70em !important;
font-weight: 600;
color: #252525;
}
.title01 {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/5a/News_subscribe.png/40px-News_subscribe.png) no-repeat left top;
}
.title02 {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/9/94/Filing_cabinet_icon.svg/40px-Filing_cabinet_icon.svg.png) no-repeat left top;
}
.title03 {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Emblem-persons-blue-green.svg/40px-Emblem-persons-blue-green.svg.png) no-repeat left top;
}
.title04 {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/ff/WMF-Agora-Settings_424242.svg/40px-WMF-Agora-Settings_424242.svg.png) no-repeat left top;
}
.title05 {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Wiki-broom.svg/40px-Wiki-broom.svg.png) no-repeat left top;
}
</style>
</head>
<body>
<p>
<div id="page" class="container">
<div id="content">
<div id="onecolumn">
<h1><MM-List-Name></h1>
<br />
<h3><MM-List-Description></h3>
<p><MM-List-Info></p>
<div class="grayeff"><ul>
<b><li>Visit the <MM-Archive><MM-List-Name> Archives</MM-Archive>. <MM-Restricted-List-Message></li></b>
<li>Send email to <A HREF="mailto:<MM-Posting-Addr>"><MM-Posting-Addr></A>.</li>
<li><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Mailing_lists/List_info">Translate page</a>
</ul></div>
</div>
<div id="two-column">
<div class="box-content" id="subscribe">
<h3 class="title title01">Subscribe</h3>
<div class="greeneff-disabled">
<MM-Subscribe-Form-Start>
<table>
<tr><td>Your e-mail address:</td><td><MM-Subscribe-Box></td></tr>
<tr><td>Your name (optional):</td><td><mm-fullname-box></td></tr>
<!-- Optional Password Fields (can leave out for public lists as Mailman auto-generates) -->
<!-- Password reminders can always be requested through web interface -->
<!-- Most likely only to be used with lists with private archives or subscription lists -->
<!-- <tr><td>Password:</td><td><MM-New-Password-Box></td></tr> -->
<!-- <tr><td>Confirm Password:</td><td><MM-Confirm-Password></td></tr> -->
<!-- Part of the multilingual selector below -->
<tr><td>Preferred language:</td><td><MM-list-langs></td></tr>
</table>
<p><MM-Reminder></p>
<p><mm-digest-question-start> Would you like to receive list mail batched in a daily digest?
<MM-Undigest-Radio-Button> No <MM-Digest-Radio-Button> Yes <mm-digest-question-end></p>
<!-- MM-List-Subscription-Msg gives extra details about the subscription rules of the list -->
<!-- This is optional, and will include variations between subscription rules (confirm vs confirm and approve) -->
<!-- On the majority of lists this can be commented out as subscription rules will simply be confirm -->
<MM-List-Subscription-Msg>
<p style="text-align: center"><MM-Subscribe-Button><MM-Form-End></p>
</div>
</div>
<div class="box-content" id="members">
<h3 class="title title03">List members</h3>
<!-- MM-Roster-Form gives easy access to the subscribers list from the main list info page -->
<!-- You can comment the line below out for when you don't need to give access to the subscribers list -->
<!-- For example for announcement mailing lists or mailing lists with a large number of subscribers -->
<p><MM-Roster-Form-Start><MM-Roster-Option><MM-Form-End></p></div>
<div class="box-content" id="manage">
<h3 class="title title04">Change your settings or unsubscribe</h3>
<p><MM-Options-Form-Start><MM-Editing-Options><MM-Form-End></p>
</div>
<div class="box-content" id="admins">
<h3 class="title title05">Admins</h3>
<p><MM-Mailman-Footer></p>
</div>
</div>
</div>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/4/41/Commons-logo-en.svg/180px-Commons-logo-en.svg.png" alt="Wikimedia Commons Logo" class="aligncenter"><br />
<div id="sidebar">
<div id="menu">
<ul>
<li><a href="https://meta.wikimedia.org/wiki/Mailing_lists" >Mailing lists</a></li>
<li><a href="https://commons.wikimedia.org/wiki/Commons:Welcome">About Commons</a></li>
</ul>
</div>
<!-- Optional multilingual selector -->
<!-- Mailman needs to be restarted to localize this custom template -->
<!-- http://wiki.list.org/pages/viewpage.action?pageId=4030605 -->
<MM-lang-form-start><MM-displang-box> <MM-list-langs><MM-form-end>
</div>
</div>
<div id="copyright" class="container">
<p>Based on a design by <a href="http://www.freecsstemplates.org">freeCSStemplates.org</a> - <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY 3.0</a>.
[[<a href="https://github.com/Steinsplitter/mailman-template-commons">source</a>]]</p>
</div>
</body>
</html>