wholist screen : cleaning CSS / HTML codes
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Sun, 12 Aug 2007 08:02:58 +0000 (08:02 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Sun, 12 Aug 2007 08:02:58 +0000 (08:02 +0000)
webcit/static/webcit.css
webcit/who.c

index 3ed5f6c81aac716ef3d9a36b3c6d1b80354e5aa0..9cd12ebc65771ef5ba1d291657513488574188aa 100644 (file)
@@ -242,6 +242,14 @@ li.start_page {
        /* overflow-x: hidden; */
 }
 
+.service {
+        text-align: center;
+}
+
+.instructions {
+
+}
+
 #message_list_hdr {
        position:fixed;
        display:block;
@@ -910,25 +918,6 @@ div.auto_complete ul strong.highlight {
         background-color: #ffffff;
 }
 
-.auth_banner, .event_banner, .floors_banner, .calendar_banner, .graphics_banner, .inetconf_banner, .listsub_banner {
-        border: 0;
-        width: 100%;
-        background-color: #444455;
-}
-
-.netconf_banner, .paging_banner, .preferences_banner, .roomops_banner, .setup_banner, .sieve_banner, .siteconfig_banner {
-        border: 0;
-        width: 100%;
-        background-color: #444455;
-}
-
-.smtpqueue_banner, .useredit_banner, .userlist_banner, .downloads_banner, .vcard_edit_banner, .who_banner, .room_banner   {
-        border: 0;
-        width: 100%;
-        background-color: #444455;
-}
-
-
 .vcard_edit_background_alt, .roomops_background_alt {
         border: 0;
         width: 100%;
@@ -937,7 +926,7 @@ div.auto_complete ul strong.highlight {
 
 
 .box {
-        width: 100%;
+        width: 98%;
         padding: 0px;
         background-color: #FFFFFF;
 }
@@ -1692,7 +1681,7 @@ div.auto_complete ul strong.highlight {
 
 table.altern {
        background-color: #ffffff;
-       width: 100%;
+       width: 98%;
 }
 
 table.altern .even {
index 959abc9629af7f57720fa071a80c8b24c78c731d..11fac94a80af669c13069f938c5582708ad5a5d5 100644 (file)
@@ -153,18 +153,19 @@ void who(void)
        wprintf("</li></ul>");
        wprintf("</div>");
 
-       wprintf("<div id=\"content\" class=\"service\">\n");
-
-       wprintf("<div style=\"display:inline\" id=\"fix_scrollbar_bug\">");
+       wprintf("<div id=\"content\" class=\"service fix_scrollbar_bug\">\n");
+       wprintf("<div class=\"box\">");
+       wprintf("<div class=\"boxcontent\">");
+        wprintf("<div id=\"who_inner\" >");
        who_inner_div();
-       wprintf("</div>\n");
+       wprintf("</div>");
 
-       wprintf("<div id=\"instructions\" align=center>");
+       wprintf("<div class=\"instructions\">");
        wprintf(_("Click on a name to read user info.  Click on %s "
                "to send an instant message to that user."),
                "<img align=\"middle\" src=\"static/citadelchat_16x.gif\" alt=\"(p)\" border=\"0\">"
        );
-       wprintf("</div>\n");
+       wprintf("</div></div>\n");
 
        /**
         * JavaScript to make the ajax refresh happen:
@@ -175,7 +176,7 @@ void who(void)
         */
        wprintf(
                "<script type=\"text/javascript\">                                      "
-               " new Ajax.PeriodicalUpdater('fix_scrollbar_bug', 'who_inner_html',     "
+               " new Ajax.PeriodicalUpdater('who_inner', 'who_inner_html',     "
                "                            { method: 'get', frequency: 30 }  );       "
                "</script>                                                              \n"
        );