From 39af08345ce8669fa08b12af362240b2482953f3 Mon Sep 17 00:00:00 2001 From: Nick Grossman Date: Fri, 19 Feb 1999 21:09:54 +0000 Subject: [PATCH] Cosmetic changes. Updated roomops.c, who.c and /static --- webcit/roomops.c | 14 ++--- webcit/static/frameset.html | 10 ++-- webcit/static/menubar.html | 108 ++++++++++++++++++++++++++++-------- webcit/who.c | 15 ++++- 4 files changed, 111 insertions(+), 36 deletions(-) diff --git a/webcit/roomops.c b/webcit/roomops.c index 2283e4b2e..e331afc16 100644 --- a/webcit/roomops.c +++ b/webcit/roomops.c @@ -356,11 +356,11 @@ void gotoroom(char *gname, int display_name) if ( (strlen(ugname)>0) && (strcasecmp(ugname,wc_roomname)) ) { wprintf(""); - wprintf(""); + wprintf(""); } - wprintf("

%s

",wc_roomname); - wprintf("%d new of %d messages\n", + wprintf("

%s

",wc_roomname); + wprintf("%d new of %d messages
\n", extract_int(&buf[4],1), extract_int(&buf[4],2)); @@ -372,17 +372,17 @@ void gotoroom(char *gname, int display_name) serv_puts("OIMG _roompic_"); serv_gets(buf); if (buf[0]=='2') { - wprintf(""); + wprintf(""); wprintf(""); + wprintf("\">"); serv_puts("CLOS"); serv_gets(buf); } - wprintf(""); + wprintf(""); readinfo(0); - wprintf(""); + wprintf(""); wprintf(""); wprintf(""); diff --git a/webcit/static/frameset.html b/webcit/static/frameset.html index ac10d753e..7f4b1e042 100644 --- a/webcit/static/frameset.html +++ b/webcit/static/frameset.html @@ -2,12 +2,12 @@ WebCit - + - - - - + + + + Your browser doesn't support frames.<BR> diff --git a/webcit/static/menubar.html b/webcit/static/menubar.html index 20881d837..272e8996a 100644 --- a/webcit/static/menubar.html +++ b/webcit/static/menubar.html @@ -1,28 +1,92 @@ <HTML> <HEAD> <TITLE>MenuBar</TITLE> + <STYLE TYPE="text/css"> + BODY { text-decoration: none; } + </STYLE> </HEAD> -<BODY BACKGROUND="/image&name=background" TEXT="#000000" LINK="#004400"> - <FONT SIZE=-1> - <IMG SRC="/image&name=hello"><BR> - <A HREF="/knrooms" TARGET="bottom">List known rooms</A><BR> - <A HREF="/gotonext" TARGET="top">Goto next room</A><BR> - <A HREF="/skip" TARGET="top">Skip this room</A><BR> - <A HREF="/ungoto" TARGET="top">Ungoto</A><BR> - <HR> - <A HREF="/readnew" TARGET="bottom">Read new messages</A><BR> - <A HREF="/readfwd" TARGET="bottom">Read all messages</A><BR> - <A HREF="/display_enter" TARGET="bottom">Enter a message</A><BR> - <HR> - <A HREF="/whobbs" TARGET="bottom">Who is online?</A><BR> - <A HREF="/userlist" TARGET="bottom">User list</A><BR> - <A HREF="/advanced" TARGET="bottom">Advanced options</A><BR> - <HR> - <A HREF="/termquit" TARGET="_top">Log off</A><BR> - </FONT> - <HR> - <A HREF="http://uncnsrd.mt-kisco.ny.us/citadel" TARGET="aboutcit"> - <FONT SIZE=-1>Powered by</FONT><BR> - <IMG SRC="/static/citadel-logo.jpg" ALT="Citadel/UX"></A><BR> +<BODY BACKGROUND="/image&name=background" TEXT="#000000" LINK="#ffffff" ALINK="#ff0000" VLINK="#ffffff"> + +<CENTER> +<IMG SRC="/image&name=hello"><BR><BR> + +<TABLE BORDER=0> +<TR> + <TD BGCOLOR="#3333CC"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/knrooms" TARGET="bottom">List known rooms</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#3333CC"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/gotonext" TARGET="top">Goto next room</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#3333CC"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/skip" TARGET="top">Skip this room</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#3333CC"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/ungoto" TARGET="top">Ungoto</A> + </TD> +</TR><TR> + <TD BGCOLOR="#003399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/readnew" TARGET="bottom">Read&nbsp;new&nbsp;messages</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#003399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/readfwd" TARGET="bottom">Read&nbsp;all&nbsp;messages</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#003399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/display_enter" TARGET="bottom">Enter&nbsp;a&nbsp;message</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#663399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/whobbs" TARGET="bottom">Who&nbsp;is&nbsp;online?</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#663399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/userlist" TARGET="bottom">User&nbsp;list</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#663399"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/advanced" TARGET="bottom">Advanced&nbsp;options</A> + </FONT> + </TD> +</TR><TR> + <TD BGCOLOR="#CC0000"> + <FONT FACE="Arial,Helvetica,sans-serif" SIZE=-1> + <A HREF="/termquit" TARGET="_top" onClick="return confirm('Do you really want to log off?');">Log&nbsp;off</A><BR> + </TD> +</TR> +</TABLE> + +<BR> + +<A HREF="http://uncnsrd.mt-kisco.ny.us/citadel" TARGET="aboutcit" + onMouseOver="window.status='Find out more about Citadel/UX'; return true;"><FONT +FACE="Arial,Helvetica,sans-serif" SIZE=-2 COLOR="#000000"> +P O W E R E D&nbsp;&nbsp;B Y<BR></FONT> +<IMG SRC="/static/citadel-logo.jpg" WIDTH=75 HEIGHT=76 BORDER=0 ALT="Citadel/UX"></A> + +</CENTER> + </BODY> </HTML> diff --git a/webcit/who.c b/webcit/who.c index 03855e6d0..1d3f40ee2 100644 --- a/webcit/who.c +++ b/webcit/who.c @@ -95,11 +95,22 @@ void whobbs(void) { if (wlist->sessionnum == serv_info.serv_pid) { wprintf(" <A HREF=\"/edit_me\">(edit)</A>"); } - wprintf("</TD><TD>"); + /* username */ + wprintf("</TD><TD><A HREF=\"/static/page_user_popup.html\" onMouseOver=\"window.status='Page "); escputs(wlist->username); - wprintf("</TD><TD>"); + wprintf("'; return true\">"); + escputs(wlist->username); + wprintf("</A>"); + /* room */ + wprintf("</TD><TD><A HREF=\"/dotgoto&room="); + escputs(wlist->roomname); + wprintf("\" onMouseOver=\"window.status='Go to room "); + escputs(wlist->roomname); + wprintf("'; return true\">"); escputs(wlist->roomname); + wprintf("</A>"); wprintf("</TD><TD>"); + /* hostname */ escputs(wlist->hostname); wprintf("</TD></TR>\n"); wptr = wlist->next; -- 2.39.2