CSS/HTML for text/calendar in message... in progress
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Sat, 21 Jul 2007 07:53:29 +0000 (07:53 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Sat, 21 Jul 2007 07:53:29 +0000 (07:53 +0000)
webcit/calendar.c
webcit/static/webcit.css

index 59cfe2715165bbf8598c33729df88edae9090777..c61fc7c464365b245aeb568108fb4cfcd9217192 100644 (file)
@@ -254,8 +254,9 @@ void cal_process_object(icalcomponent *cal,
                                                _("CONFLICT:")
                                        )
                                );
+                               wprintf("</dt><dd>");
                                escputs(conflict_message);
-                               wprintf("</dt>\n");
+                               wprintf("</dd>\n");
                        }
                }
                lprintf(9, "...done.\n");
@@ -291,7 +292,7 @@ void cal_process_object(icalcomponent *cal,
                 ***********/
 
                /** Display the update buttons */
-               wprintf("<div id=\"%s_question\" class=\"buttons\">"
+               wprintf("<p id=\"%s_question\" class=\"buttons\">"
                        "%s"
                        "<a href=\"javascript:HandleRSVP('%s_question','%s_title','%ld','%s','Update');\">%s</a>"
                        "<span> | </span>"
@@ -307,7 +308,7 @@ void cal_process_object(icalcomponent *cal,
 
        /** Trailing HTML for the display of this object */
        if (recursion_level == 0) {
-               wprintf("</div>\n");
+               wprintf("<p>&nbsp;</p></</div>\n");
        }
 }
 
index 10529331d8a443a9abe8a40d92f590633e0eb656..24afab9964ad7667d2efb513db53c0846fb674c1 100644 (file)
@@ -431,6 +431,7 @@ a:hover {
        border: 1px solid #999999;
        background-color: #CCCCCC;
         text-align: left;
+       clear: both;
 }
 
 .message_header, .message_header p {
@@ -448,12 +449,13 @@ a:hover {
 .mimepart {
        margin-top: 0;
        margin-left: 15%;
-       width: 55%;
-       padding: 10px;
+       width: 70%;
+       padding: 1%;
        background-color: #FFFFDD;
 }
 
 .mimepart div {
+       font-size: 12pt;
         font-weight: bold;
 }
 
@@ -461,16 +463,36 @@ a:hover {
        font-style: italic;
 }
 
-.mimepart dl, .mimepart dl dt, .mimepart dl dd {
-       font-size: 10pt;
-       color: black;
-        text-align: left;
+.mimepart dl {
+       width: 100%;
 }
 .mimepart dl dt {
-       display: compact;
-        font-weight: bold;
+       width: 30%;
+       float: left;
+       margin: 0 0 0 0;
+       padding: .5em;
+       border-top: 1px solid #999;
+       font-weight: bold;
 }
-       
+
+/* hack ie5 mac \*/
+dt { clear: both; }
+/* end hack */
+
+.mimepart dl dd {
+       float: left;
+       width: 65%;
+       margin: 0 0 0 0;
+       padding: .5em;
+       border-top: 1px solid #999;
+}
+
+.mimepart p {
+       margin-top: 1em;
+       margin-bottom: 0;
+       clear: both;
+}
+
 .msgbuttons {
         float: right;
         visibility: hidden;
@@ -1056,25 +1078,6 @@ div.auto_complete ul strong.highlight {
        display: block;
 }
 
-#wholist {
-       border: 0;
-        margin: 0;
-        padding: 0;
-       max-height: 200px;
-       overflow: auto;
-}
-
-#wholist li {
-       color: black;
-        text-align: left;
-        list-style: none;
-       border: 0;
-        margin: 0;
-        padding: 2px;
-        white-space: splay: compact;
-
-}
-
 .message_header, .message_subject {
        font-size: 10pt;
        color: black;