From edc51ebed53c82d805350870d7418b87f939dfab Mon Sep 17 00:00:00 2001 From: Thierry Pasqualier Date: Sat, 7 Jul 2007 21:07:25 +0000 Subject: [PATCH] - Deleted the (too wide) remote host in summary screen - 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 | 10 ++++++++++ webcit/who.c | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 768ecbbac..d732223e7 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -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; } diff --git a/webcit/who.c b/webcit/who.c index deae59d45..7143ba29d 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -26,7 +26,7 @@ void who_inner_div(void) { wprintf(" \n"); wprintf("%s\n", _("User name")); wprintf("%s", _("Room")); - wprintf("%s\n\n", _("From host")); + wprintf("%s\n\n", _("From host")); serv_puts("TIME"); serv_getln(buf, sizeof buf); @@ -109,7 +109,7 @@ void who_inner_div(void) { escputs(realroom); wprintf(""); } - wprintf("\n\t"); + wprintf("\n\t"); /** hostname */ escputs(host); @@ -156,7 +156,7 @@ void who(void) wprintf("\n"); wprintf("\n"); - wprintf("
\n"); + wprintf("
\n"); wprintf("
"); who_inner_div(); -- 2.30.2