fix the who is online display
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Wed, 3 Oct 2007 18:41:33 +0000 (18:41 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Wed, 3 Oct 2007 18:41:33 +0000 (18:41 +0000)
webcit/static/webcit.css
webcit/who.c

index e2a62c590218a15a0b2f038aa015067baa073418..cfda4a57f695d84254177eb1373832afb72fb048 100644 (file)
@@ -561,6 +561,12 @@ body, #global {
        padding: 0;
 }
 
+#content .box {
+       margin: 2% auto 0 auto;
+       width: 95%;
+       text-align: center;
+}
+
 .boxlabel, .boxcontent {
        padding: 5px;
 }
@@ -569,6 +575,10 @@ body, #global {
        text-align: center;
 }
 
+.boxcontent {
+       text-align: left;
+}
+
 
 /* Login */
 
@@ -748,12 +758,6 @@ html>body #button li a {
 
 /* Content */
 
-#content .box {
-       margin-top: 2% auto 0 auto;
-       width: 95%;
-       text-align: left;
-}
-
 .boxcontent table {
        margin: 0;
        padding: 0;
@@ -770,7 +774,7 @@ html>body #button li a {
        width: 100%;
 }
 
-.service table, .advanced table, .who_is_online table {
+.service table, .advanced table {
        margin-top: 0 auto 0 auto;
        width: 100%;
        text-align: left;
@@ -782,6 +786,7 @@ html>body #button li a {
 }
 
 .instructions {
+       text-align: center;
 }
 
 #message_list_hdr table {
@@ -983,7 +988,7 @@ div.auto_complete ul strong.highlight {
        margin: 4px 5px 0 5px;
 }
 
-.edit_col, .host_col {
+.service .edit_col, .service .host_col {
        display: none;
 }
 
@@ -1030,7 +1035,7 @@ table.altern tr td {
 
 table.advanced {
        margin: 0 auto 0 auto;
-       width: 98%
+       width: 96%;
        border-collapse: separate;
        border-spacing: 15px;
 } 
index 35a76d85f7845c30d65c9cece175ddead983450b..d1e05518f925a63fc2d399294c7932c303e816db 100644 (file)
@@ -155,8 +155,12 @@ void who(void)
        wprintf("</li></ul>");
        wprintf("</div>");
 
-       wprintf("<div id=\"content\" class=\"service fix_scrollbar_bug\">\n");
+       wprintf("<div id=\"content\" class=\"fix_scrollbar_bug who_is_online\">\n");
        wprintf("<div class=\"box\">");
+       wprintf("<div class=\"boxlabel\">");    
+       snprintf(title, sizeof title, _("Users currently on %s"), serv_info.serv_humannode);
+       escputs(title);
+       wprintf("</div>");      
        wprintf("<div class=\"boxcontent\">");
         wprintf("<div id=\"who_inner\" >");
        who_inner_div();