From 7f4e8a172ba402b80fae0f2319a81bf32585f96b Mon Sep 17 00:00:00 2001 From: the_mgt Date: Tue, 5 Jul 2011 02:24:36 +0200 Subject: [PATCH] Madethe service.css look better, added a navbar to the banner and put the "chat with user" link into that navbar --- webcit/static/styles/service.css | 35 ++++++++++++++++++++------------ webcit/userlist.c | 22 +++++++++++--------- 2 files changed, 34 insertions(+), 23 deletions(-) diff --git a/webcit/static/styles/service.css b/webcit/static/styles/service.css index 8456e68a7..ceeaa5bd5 100644 --- a/webcit/static/styles/service.css +++ b/webcit/static/styles/service.css @@ -1,11 +1,11 @@ -.service { - padding 0.5em; -} +.service {} .bio table { + margin-top: 0.5em; + padding: 0 0.5em; + width: 95%; font-family: mono; - background-color: #deded0; - margin: 0.5em 1em; + background-color: #ffff; border: 1px solid #5C646B; -webkit-box-shadow: #666 0px 1px 2px; -moz-box-shadow: #666 0px 2px 3px; @@ -13,14 +13,23 @@ behavior: url(/static/styles/PIE.htc); } -.bio img { - max-width: 200px; - padding: 0.5em; - background-color: #fff; - border: 1px solid #5C646B; - box-shadow: #666 0px 2px 3px; - -webkit-box-shadow: #666 0px 1px 2px; - -moz-box-shadow: #666 0px 2px 3px; +.bio table table { + border: 0; + padding: 0; + margin: 0.5em 0; + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; +} + +.bio table table img { + max-width: 250px; + padding: 0.2em; + background-color: #f0feff; + border: 1px solid #5C646B; + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; } .bio h1 { float: right; } diff --git a/webcit/userlist.c b/webcit/userlist.c index d5b33238b..b0cd13043 100644 --- a/webcit/userlist.c +++ b/webcit/userlist.c @@ -117,6 +117,17 @@ void showuser(void) wc_printf("

"); wc_printf(_("User profile")); wc_printf("

"); + wc_printf("
\n"); + wc_printf("
"); wc_printf(""); wc_printf("
\n"); @@ -147,20 +158,11 @@ void showuser(void) if (buf[0] == '1') { fmout("JUSTIFY"); } - wc_printf("
" - "  "); - snprintf(buf, sizeof buf, _("Click here to send an instant message to %s"), who); - escputs(buf); - wc_printf("\n"); - wc_printf("\n"); wDumpContent(1); } -void +void InitModule_USERLIST (void) { -- 2.39.2