- Deleted the (too wide) remote host in summary screen
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Sat, 7 Jul 2007 21:07:25 +0000 (21:07 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Sat, 7 Jul 2007 21:07:25 +0000 (21:07 +0000)
- I keep it in Who is online screen
- A scrolbar appear now if the user list is too long on iconbar

webcit/static/webcit.css
webcit/who.c

index 768ecbbac692ecee6a24471092c4356822b795b9..d732223e7ddf112dbc937baa313cf508f94766dd 100644 (file)
@@ -1020,10 +1020,19 @@ div.auto_complete ul strong.highlight {
         color: #000;
 }
 
+.from_host {
+       display: none;
+}
 
+.who_is_online .from_host {
+       display: block;
+}
 
 #wholist {
        border: 0;
+        margin: 0;
+       max-height: 200px;
+       overflow: auto;
 }
 
 #wholist li {
@@ -1034,6 +1043,7 @@ div.auto_complete ul strong.highlight {
         margin: 0;
         padding: 2px;
         white-space: nowrap;
+       border-top: 1px solid #aaaaaa;
 }
 
 
index deae59d45640985c6aeafa7976508ba610d5daad..7143ba29dc6669967da1385131557ce110393cf8 100644 (file)
@@ -26,7 +26,7 @@ void who_inner_div(void) {
        wprintf("<th colspan=\"3\"> </th>\n");
        wprintf("<th>%s</th>\n", _("User name"));
        wprintf("<th>%s</th>", _("Room"));
-       wprintf("<th>%s</th>\n</tr>\n", _("From host"));
+       wprintf("<th class=\"from_host\">%s</th>\n</tr>\n", _("From host"));
 
        serv_puts("TIME");
        serv_getln(buf, sizeof buf);
@@ -109,7 +109,7 @@ void who_inner_div(void) {
                                escputs(realroom);
                                wprintf("</i>");
                        }
-                       wprintf("</td>\n\t<td>");
+                       wprintf("</td>\n\t<td class=\"from_host\">");
 
                        /** hostname */
                        escputs(host);
@@ -156,7 +156,7 @@ void who(void)
        wprintf("</td></tr></table>\n");
        wprintf("</div>\n");
 
-       wprintf("<div id=\"content\">\n");
+       wprintf("<div id=\"content\" class=\"who_is_online\">\n");
 
        wprintf("<div style=\"display:inline\" id=\"fix_scrollbar_bug\">");
        who_inner_div();