- added moderation views
- only logged-in users can (un)subscribe
- modifed subscription form
- modified some buttons
1 parent 9c77e34 commit ce94fe3b333aa6683f7f93e84ca63c03560cc890
@Florian Fuchs Florian Fuchs authored on 23 Mar 2012
Showing 10 changed files
View
7
src/mailmanweb/forms.py
 
class ListSubscribe(FieldsetForm):
"""Form fields to join an existing list.
"""
email = forms.EmailField(label = _('Your email address'),
email = forms.EmailField(label = _('Your email address'),
widget = forms.HiddenInput(),
error_messages = {'required': _('Please enter an email address.'),
'invalid': _('Please enter a valid email address.')})
display_name = forms.CharField(label=_('Your name'), required=False)
display_name = forms.CharField(label=_('Your name (optional)'), required=False)
class ListUnsubscribe(FieldsetForm):
"""Form fields to leave an existing list.
"""
email = forms.EmailField(label = _('Your email address'),
widget = forms.HiddenInput(),
error_messages = {
'required': _('Please enter an email address.'),
'invalid': _('Please enter a valid email address.')})
 
View
6
src/mailmanweb/static/mailmanweb/default/css/style.css
}
h1 {
clear: both;
margin: 20px 0;
font-weight: normal;
}
h1 span {
font-size: 75%;
font-style: italic;
}
h2 {
margin: 10px 0;
font-weight: normal;
}
 
.mm_canvas {
position: relative;
.mm_settings:hover { background-position: 0px -135px; }
.mm_user:hover { background-position: 0px -170px; }
.mm_logout:hover { background-position: 0px -205px; }
.mm_lists:hover { background-position: 0px -276px; }
 
.mm_main {
clear: both;
}
 
.mm_subHeader {
padding-top: 10px;
}
View
src/mailmanweb/templates/mailmanweb/base.html
View
src/mailmanweb/templates/mailmanweb/lists/held_messages.html
View
src/mailmanweb/templates/mailmanweb/lists/mass_subscribe.html
View
src/mailmanweb/templates/mailmanweb/lists/settings.html
View
src/mailmanweb/templates/mailmanweb/lists/summary.html
View
src/mailmanweb/templates/mailmanweb/login.html
View
src/mailmanweb/urls.py
View
src/mailmanweb/views.py