From: Thierry Pasqualier Date: Wed, 3 Oct 2007 18:41:33 +0000 (+0000) Subject: fix the who is online display X-Git-Tag: v7.86~3028 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=782206bde22abaf3ad229e6594f106b29e8105f4 fix the who is online display --- diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index e2a62c590..cfda4a57f 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -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; } diff --git a/webcit/who.c b/webcit/who.c index 35a76d85f..d1e05518f 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -155,8 +155,12 @@ void who(void) wprintf(""); wprintf(""); - wprintf("
\n"); + wprintf("
\n"); wprintf("
"); + wprintf("
"); + snprintf(title, sizeof title, _("Users currently on %s"), serv_info.serv_humannode); + escputs(title); + wprintf("
"); wprintf("
"); wprintf("
"); who_inner_div();