From 5ad958794fb683b377b8c317219f3e473b4befb8 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 8 Jun 2010 17:57:24 +0000 Subject: [PATCH] * Make the class names different from the div id's --- webcit/roomchat.c | 10 +++++----- webcit/static/t/roomchat.html | 8 ++++---- webcit/static/webcit.css | 12 ++++++------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/webcit/roomchat.c b/webcit/roomchat.c index 0d28c22ab..e5585e56e 100644 --- a/webcit/roomchat.c +++ b/webcit/roomchat.c @@ -62,10 +62,10 @@ void chat_recv(void) { if (strcasecmp(cl_user, WC->last_chat_user)) { 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); @@ -77,7 +77,7 @@ void chat_recv(void) { } /* what did they say ... */ - wc_printf(""); + wc_printf(""); while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) { escputs(buf); } @@ -129,10 +129,10 @@ void chat_rwho(void) { if (buf[0] == '1') { while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) { if (!strcasecmp(buf, ChrPtr(WC->wc_fullname))) { - wc_printf(""); + wc_printf(""); } else { - wc_printf(""); + wc_printf(""); } wc_printf(""); escputs(buf); diff --git a/webcit/static/t/roomchat.html b/webcit/static/t/roomchat.html index b5cc64e4f..13df21900 100644 --- a/webcit/static/t/roomchat.html +++ b/webcit/static/t/roomchat.html @@ -1,10 +1,10 @@ -
+
-
+
-
+
-
+
diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index ca36ec560..e342dfc4f 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -1631,7 +1631,7 @@ li.event_unread span, a.event_read_title { color: #FFFFFF; } -.chatrecv_history { +.chatrecv_history_class { position: absolute; top: 0; left: 1%; @@ -1665,11 +1665,11 @@ li.event_unread span, a.event_read_title { padding-right: 3px; } -.chatrecv { +.chatrecv_class { display: none; } -.chatsend { +.chatsend_class { position: absolute; left: 1%; right: 1%; @@ -1687,15 +1687,15 @@ li.event_unread span, a.event_read_title { background-color: #004E79; } -.chat_myname { +.chat_myname_class { font-weight: bold; color: #ff0000; } -.chat_notmyname { +.chat_notmyname_class { font-weight: bold; color: #0000ff; } -.chat_text { +.chat_text_class { } -- 2.39.2