From c5a7294e3f494236718216e2e56ad8db11a025a4 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 25 Apr 2010 05:11:29 +0000 Subject: [PATCH] * Added some style to the roomchat window. --- webcit/roomchat.c | 13 ++++++------- webcit/static/t/roomchat.html | 13 +++++++++++-- webcit/static/webcit.css | 13 +++++++++++++ 3 files changed, 30 insertions(+), 9 deletions(-) diff --git a/webcit/roomchat.c b/webcit/roomchat.c index 88ef6533a..1e2d84991 100644 --- a/webcit/roomchat.c +++ b/webcit/roomchat.c @@ -60,29 +60,28 @@ void chat_recv(void) { /* who is speaking ... */ if (strcasecmp(cl_user, WC->last_chat_user)) { - wc_printf(""); - + wc_printf("
\n"); if (!strcasecmp(cl_user, ChrPtr(WC->wc_fullname))) { - wc_printf(""); + wc_printf(""); } else { - wc_printf(""); + wc_printf(""); } escputs(cl_user); strcpy(WC->last_chat_user, cl_user); - wc_printf(":
"); + wc_printf(": "); } else { wc_printf("   "); } /* what did they say ... */ + wc_printf(""); while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) { escputs(buf); } - - wc_printf("
\n"); + wc_printf("
\n"); } } diff --git a/webcit/static/t/roomchat.html b/webcit/static/t/roomchat.html index e5de02af3..5cb9559b6 100644 --- a/webcit/static/t/roomchat.html +++ b/webcit/static/t/roomchat.html @@ -5,8 +5,10 @@
- - + + +">