diff --git a/ezmlm-web/trunk/TODO b/ezmlm-web/trunk/TODO
index a09d11f..3e60c10 100644
--- a/ezmlm-web/trunk/TODO
+++ b/ezmlm-web/trunk/TODO
@@ -6,3 +6,5 @@ TODO - ezmlm-web 2.2
- Some nice install method. But then I use FreeBSD and ported it
so that might just count as my nice install method :)
- Option for a css-stylesheet
+ - migrate header and footer in ezmlmwebrc to css
+ - improve css-design
diff --git a/ezmlm-web/trunk/css/default.css b/ezmlm-web/trunk/css/default.css
index ff52259..2311365 100644
--- a/ezmlm-web/trunk/css/default.css
+++ b/ezmlm-web/trunk/css/default.css
@@ -19,43 +19,8 @@ a:visited {
color: #8888ff;
}
-strong.big {
- font-size: large;
- }
-font.helper {
- font-size: -1;
- }
-
-.center {
- text-align: center;
- }
-
-table {
- margin-left: auto;
- margin-right: auto;
- }
-
-table.left {
- margin-left: 0px;
- }
-
-table hr {
- text-align: center;
- width: 25%;
- }
-
-table.big-pad td {
- padding: 10px;
- }
-
-
-table.small-pad td {
- padding: 5px;
- }
-
-
-/*********************** general **************************/
+/*********************** general **************************
used classes for containers:
title - heading of most pages (except main)
@@ -86,18 +51,30 @@ div.container {
div.add_remove span.button {
width: auto;
margin-top: 0px;
+ margin-right: auto;
}
div.add_remove span.formfield {
width: auto;
margin: 0px;
+ margin-right: auto;
padding: 0px;
}
+div.add_remove span.formfield:before {
+ content: attr("
");
+ }
+
div.list {
- padding: 10px;
+ margin: 1%;
+ margin-right: 3%;
text-align: center;
float: left;
+ margin-bottom: auto;
+ }
+
+div.question {
+ text-align: center;
}
p.warning {
@@ -107,7 +84,16 @@ p.warning {
}
span.help {
- font-size: -1;
+ font-size: small;
+ }
+
+span.button {
+ margin-left: 3px;
+ margin-right: 3px;
+ }
+
+span.formfield {
+ margin-right: auto;
}
/************************ main page ***********************
@@ -152,8 +138,8 @@ available classes: title input question
***********************************************************/
#create div.input span.formfield {
- text-weight: bold;
- text-size: large;
+ font-weight: bold;
+ font-size: large;
margin-left: 0px;
margin-right: auto;
}
@@ -166,12 +152,12 @@ available classes: title info input question
***********************************************************/
#config div.info {
- text-size: large;
- text-weight: bold;
+ font-size: large;
+ font-weight: bold;
}
#config div.input span.formfield {
- text-weight: bold;
+ font-weight: bold;
margin-left: 0px;
margin-right: auto;
}
diff --git a/ezmlm-web/trunk/ezmlm-web.cgi b/ezmlm-web/trunk/ezmlm-web.cgi
index c3e9a65..cd9b18f 100755
--- a/ezmlm-web/trunk/ezmlm-web.cgi
+++ b/ezmlm-web/trunk/ezmlm-web.cgi
@@ -317,7 +317,7 @@ sub confirm_delete {
print $q->hidden(-name=>'state', -default=>'confirm_delete');
print $q->hidden(-name=>'list', -default=>$q->param('list'));
- print '
', ($#subscribers + 1), ' ', $LANGUAGE{'subscribers'}, '
' if defined(@subscribers); print ' ' if defined(@subscribers); - print ' '; - print ' ' if ($FILE_UPLOAD); + print '', $q->textfield(-name=>'addsubscriber', -size=>'40'), ' '; + print '', $q->filefield(-name=>'addfile', -size=>20, -maxlength=>100), ' ' if ($FILE_UPLOAD); print ' '; print '[$LANGUAGE{'remoteadmin'}]" if($list->isremote); $moderated .= '' if ($remotepath); - $moderated .= '
if ($list->isremote); + $moderated .= ' if ($list->isremote)'; } @@ -622,7 +622,7 @@ sub part_subscribers { # Keep selection box a resonable size - suggested by Sebastian Andersson $scrollsize = 25 if(($scrollsize = $#subscribers + 1) > 25); - # container for the content + # Begin of content print ''; foreach $i (grep {/\D/} keys %EZMLM_LABELS) { if ($opts =~ /^\w*$i\w*\s*/) { - print '', $q->checkbox(-name=>$i, -value=>$i, -label=>$EZMLM_LABELS{$i}[0], -on=>'1')'; + print '', $q->checkbox(-name=>$i, -value=>$i, -label=>$EZMLM_LABELS{$i}[0], -on=>'1'); } else { print '', $q->checkbox(-name=>$i, -value=>$i, -label=>$EZMLM_LABELS{$i}[0]); }