From 8cca0febb0328ba2759994318f557973d5b7279d Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sat, 19 Apr 2003 19:58:10 +0000 Subject: [PATCH] * Lots of great changes from Nick to make the site CSS-enabled. --- webcit/ChangeLog | 4 ++ webcit/README.txt | 3 +- webcit/static/background.html | 8 +-- webcit/static/blankpage.html | 7 ++- webcit/static/empty.html | 6 ++- webcit/static/head.html | 13 +++-- webcit/static/iconbar.html | 78 ++++++++++++++++----------- webcit/static/mainframeset.html | 33 +++++++----- webcit/static/menubar.html | 75 +++++++++++++------------- webcit/static/navbar.html | 68 ++++++++++++------------ webcit/static/newstartpage.html | 13 +++-- webcit/static/nocookies.html | 12 ++++- webcit/static/roombanner.html | 46 ++++++++-------- webcit/static/style.css | 94 ++++++++++++++++++++++++++------- webcit/static/whoframeset.html | 24 ++++++--- webcit/summary.c | 18 +++---- 16 files changed, 306 insertions(+), 196 deletions(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index d1b7fe331..3c241f0b9 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 410.11 2003/04/19 19:58:10 ajc +* Lots of great changes from Nick to make the site CSS-enabled. + Revision 410.10 2003/04/14 04:04:40 ajc * First cut of CSS-izing WebCit. Probably b0rken. @@ -1326,3 +1329,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/README.txt b/webcit/README.txt index cec68dadd..77479ec41 100644 --- a/webcit/README.txt +++ b/webcit/README.txt @@ -98,8 +98,7 @@ the "webserver" program: socket. /your/citadel/directory should be set to the actual name of the directory in which you have Citadel installed (such as /usr/local/citadel). If you run Citadel and WebCit on the same - computer, this way may run a bit faster, but you may experience trouble - with the real-time chat facility. + computer, this is recommended, as it will run much faster. GRAPHICS diff --git a/webcit/static/background.html b/webcit/static/background.html index 657ea5f9c..e878ca51b 100644 --- a/webcit/static/background.html +++ b/webcit/static/background.html @@ -1,5 +1,7 @@ + + -BACKGROUND="/image&name=background" -TEXT="#000000" LINK="#000077" -ALINK="#000077" VLINK="#000077"> +> diff --git a/webcit/static/blankpage.html b/webcit/static/blankpage.html index 4f75ae202..8af0eb120 100644 --- a/webcit/static/blankpage.html +++ b/webcit/static/blankpage.html @@ -1,7 +1,10 @@ + - + + -  + +  diff --git a/webcit/static/empty.html b/webcit/static/empty.html index 8d64ae1fa..5b84b72dc 100644 --- a/webcit/static/empty.html +++ b/webcit/static/empty.html @@ -1,5 +1,9 @@ + -Empty Page + + Empty Page + + diff --git a/webcit/static/head.html b/webcit/static/head.html index da3ea2328..0a8ada22a 100644 --- a/webcit/static/head.html +++ b/webcit/static/head.html @@ -1,10 +1,13 @@ + -<?SERV_HUMANNODE> - Citadel - - - - + <?SERV_HUMANNODE> - Citadel + + + + + + diff --git a/webcit/static/iconbar.html b/webcit/static/iconbar.html index 9e0e8ed45..2254c9fb9 100644 --- a/webcit/static/iconbar.html +++ b/webcit/static/iconbar.html @@ -1,40 +1,54 @@ + - + + + - - - - - - - - - - - - - - +
- 
- -
-Rooms
- -
-Users
- -
-Advanced options
- -
-Log off
- -powered by
-CITADEL/UX
+ + + + + + + + + + + + +
 
+ +
Rooms
+
+
+ +
Users
+
+
+ +
Advanced options
+
+
+ + +
Log off
+
+
+

+ + powered by
CITADEL/UX
+
+
diff --git a/webcit/static/mainframeset.html b/webcit/static/mainframeset.html index 4ed44ef6b..b0e340b0e 100644 --- a/webcit/static/mainframeset.html +++ b/webcit/static/mainframeset.html @@ -1,22 +1,29 @@ + - + Citadel - + + + - - - - - - - - + + + + + + + - + </FRAMESET> +</FRAMESET> + +<BODY BGCOLOR="#FFFFFF" LINK="#FF0000"> + +<NOFRAMES> Sorry, web-based access to Citadel requires a browser that supports frames, such as <A HREF="http://www.netscape.com/communicator">Netscape</A> or <A HREF="http://www.mozilla.org">Mozilla</A>. If you are using an older browser, please upgrade now. - - + + diff --git a/webcit/static/menubar.html b/webcit/static/menubar.html index 6fb802314..bdfa3adff 100644 --- a/webcit/static/menubar.html +++ b/webcit/static/menubar.html @@ -1,86 +1,85 @@


- +
-
- - List known rooms - +
- - Goto next room - + + Goto next room +
- - Skip this room - + + Skip this room +
- - Ungoto + + Ungoto
- - Read new messages - + + Read new messages +
- - Read all messages - + + Read all messages +
- - Enter a message - + + Enter a message +
- + - Who is online? + Who is online? - +
- - Page another user - + + Page another user +
- - Advanced options - + + Advanced options +
- - Log off
+ + Log off
-
+

- + + + - + +
- +
+ + +
+ + + Ungoto + + + + New messages + + + + All messages + + + + Enter a message + + + Skip this room + + + + Goto next room + +
- -
- -Ungoto - - - - -New messages - - - - -All messages - - - - -Enter a message - - - -Skip this room - - - - -Goto next room - - - diff --git a/webcit/static/newstartpage.html b/webcit/static/newstartpage.html index e645f54f9..cf1d08b96 100644 --- a/webcit/static/newstartpage.html +++ b/webcit/static/newstartpage.html @@ -1,7 +1,12 @@ -
-New start page -
+ + + + +
+ New start page + +
Your start page has been changed. diff --git a/webcit/static/nocookies.html b/webcit/static/nocookies.html index 4371b1de3..57c2cf0b4 100644 --- a/webcit/static/nocookies.html +++ b/webcit/static/nocookies.html @@ -1,13 +1,21 @@ + -Error + + Error + + + +
-

Sorry!


+

Sorry!

+
In order to access this system, you must use a web browser which supports "cookies" and have them turned on.

This software sends a cookie that is only used during your login session, and will not be saved to your disk.

Please enable cookies and log in again. We are sorry for the inconvenience.
+ diff --git a/webcit/static/roombanner.html b/webcit/static/roombanner.html index bd09ae7e3..3d8efb142 100644 --- a/webcit/static/roombanner.html +++ b/webcit/static/roombanner.html @@ -1,27 +1,25 @@
- - - - - - - - - - - +
-
-
- - - - - - - - new of messages -
-
+ + + + + + +
+ +
+ +
+ + + + + + new of messages +
+ +
-
+
diff --git a/webcit/static/style.css b/webcit/static/style.css index 98072362c..cefc8b83e 100644 --- a/webcit/static/style.css +++ b/webcit/static/style.css @@ -1,8 +1,77 @@ +a:link { + color: #FF0000; + text-decoration: none; +} + +a:visited { + color: #800080; +} + +a:active { + color: #00FF00; +} + +.menubar_link { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 9pt; +} + +.navbar_link { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 7pt; +} + +.titlebar { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 12pt; + color: #FFFFEE; +} + +.room_banner_room_name { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 14pt; + font-weight: bold; + color: #FFFFEE; +} + +.room_banner_room_info { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 14pt; + color: #FFFFEE; +} + +.room_banner_new_messages { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 10pt; + color: #DDDDCC; +} + +.room_banner_start_page { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 7pt; + color: #DDDDCC; +} + + +.menubar_bg { + background-color: #FF0000; +} + +.iconbar_link { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 9pt; +} + +.powered_by { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 7pt; + letter-spacing: 1pt; +} + body { - background-image: - url("/image&name=background"); - background: white; - color: black + background-image: url("/image&name=background"); + background: #FFFFFF; + color: #000000; } h1 { @@ -85,20 +154,6 @@ dt a { margin-top: .8em } -a:link { - color: #00f; - background: none; -} - -a:visited { - color: #800080; - background: none; -} - -a:active { - color: green; - background: #FFD700 -} .html { color: #000080; @@ -140,7 +195,7 @@ var sub { font-style: normal } } .author { - font-style: italic + font-style: italic; } .copyright { @@ -212,6 +267,7 @@ td li.transitional, .elements li.transitional { color: #696969; background: none } + td li.frameset, .elements li.frameset { font-weight: lighter; color: #808080; diff --git a/webcit/static/whoframeset.html b/webcit/static/whoframeset.html index 53c8b765f..7e21211c6 100644 --- a/webcit/static/whoframeset.html +++ b/webcit/static/whoframeset.html @@ -1,12 +1,20 @@ + - + WebCit - - - - - + <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> + <META HTTP-EQUIV="Content-Language" CONTENT="en"> +</HEAD> + +<FRAMESET ROWS="*, 15%" FRAMESPACING="0"> + <FRAME NAME="top" SRC="/mainmenu"> + <FRAME NAME="bottom" SRC="/whobbs"> +</FRAMESET> + +<BODY> +<NOFRAMES> You can't do this because you're using a browser that doesn't support frames. - - + + + diff --git a/webcit/summary.c b/webcit/summary.c index 30a253a34..b4c249593 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -57,10 +57,10 @@ void output_date(void) { void section_title(char *title) { wprintf("" - "
" - ""); + "
" + ""); escputs(title); - wprintf("
\n"); + wprintf("\n"); } @@ -209,15 +209,15 @@ void server_info_section(void) { void summary(void) { output_headers(7); - wprintf("
" - "" - "Summary page for "); + wprintf("
" + "" + "Summary page for "); escputs(WC->wc_username); - wprintf("\n"); + wprintf("\n"); offer_start_page(); - wprintf(""); + wprintf(""); output_date(); - wprintf("
\n"); + wprintf("
\n"); /* * Now let's do three columns of crap. All portals and all groupware -- 2.39.2