* Cosmetic changes
authorArt Cancro <ajc@citadel.org>
Sat, 31 May 2003 21:36:45 +0000 (21:36 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 31 May 2003 21:36:45 +0000 (21:36 +0000)
webcit/ChangeLog
webcit/auth.c
webcit/availability.c
webcit/calendar_view.c
webcit/static/login.html
webcit/static/style.css

index 99aef41ac6c71fb460585c1b5261988aa1c57623..8902a52dcd7421f2ca55ed89949b62bb433fe841 100644 (file)
@@ -1,4 +1,7 @@
 $Log$
+Revision 410.41  2003/05/31 21:36:45  ajc
+* Cosmetic changes
+
 Revision 410.40  2003/05/26 21:05:42  ajc
 * availability.c: brought over ical_ctdl_is_overlap() from Citadel.  Used
   it to complete the free/busy checking for attendee availability.
@@ -1440,3 +1443,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index a764367c06e38f7045e18a85b737f08387615e49..591e00797a4562b003ab43065cb0c980ca0edc2f 100644 (file)
@@ -54,6 +54,8 @@ void display_login(char *mesg)
        }
 
        svprintf("hello", WCS_SERVCMD, "MESG hello");
+       svprintf("BOXTITLE", WCS_STRING, "%s - powered by Citadel",
+               serv_info.serv_humannode);
 
        do_template("login");
 
index 3b89cc08f11778784007f0cb4303a137b75b8cdb..fdda99743a5eaf522045903de2c326a9c82f0fdf 100644 (file)
@@ -57,15 +57,12 @@ icalcomponent *get_freebusy_for_user(char *who) {
                return NULL;
        }
 
-       return fb;
+       return(fb);
 }
 
 
 
 
-
-
-
 /*
  * Check to see if two events overlap.  Returns nonzero if they do.
  * (This function is used in both Citadel and WebCit.  If you change it in
@@ -122,10 +119,6 @@ int ical_ctdl_is_overlap(
 
 
 
-
-
-
-
 /*
  * Back end function for check_attendee_availability()
  * This one checks an individual attendee against a supplied
index 94ba0833d81279a776b2d8ec1f551f523fc0b1ca..75fb4f9fcb242ee61e354e83b395041d345ed67f 100644 (file)
@@ -382,31 +382,37 @@ void calendar_day_view(int year, int month, int day) {
 
 
        /* Begin todays-date-with-left-and-right-arrows */
-       wprintf("<CENTER><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=1><TR>\n");
-
-       wprintf("<TD>"
-               "<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
-               yesterday.year, yesterday.month, yesterday.day
-       );
-       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/back.gif\" BORDER=0></A>"
-               "</TD>\n");
-
-       wprintf("<TD ALIGN=MIDDLE><FONT COLOR=\"#FFFFFF\">"
-               "<H2>%s</H2><H1>%d</H1><H3>%d</H3>"
-               "</FONT></TD>",
+       wprintf("<TABLE BORDER=0 WIDTH=100%% "
+               "CELLSPACING=0 CELLPADDING=0 BGCOLOR=\"#FFFFFF\">\n");
+       wprintf("<TR>");
+
+       /* Left arrow */        
+       wprintf("<TD ALIGN=CENTER>");
+       wprintf("<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
+               yesterday.year, yesterday.month, yesterday.day);
+       wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/back.gif\" BORDER=0></A>");
+       wprintf("</TD>");
+
+       /* Today's date */
+       wprintf("<TD ALIGN=CENTER>");
+       wprintf("<FONT SIZE=+2>%s</FONT><BR>"
+               "<FONT SIZE=+3>%d</FONT><BR>"
+               "<FONT SIZE=+2>%d</FONT><BR>",
                months[month-1], day, year);
+       wprintf("</TD>");
 
-       wprintf("<TD>"
-               "<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
-               tomorrow.year, tomorrow.month, tomorrow.day
-       );
+       /* Right arrow */
+       wprintf("<TD ALIGN=CENTER>");
+       wprintf("<A HREF=\"readfwd?calview=day&year=%d&month=%d&day=%d\">",
+               tomorrow.year, tomorrow.month, tomorrow.day);
        wprintf("<IMG ALIGN=MIDDLE SRC=\"/static/forward.gif\""
-               " BORDER=0></A></TD>\n");
+               " BORDER=0></A>\n");
+       wprintf("</TD>");
 
-       wprintf("</TR></TABLE></CENTER>\n");
+       wprintf("</TR></TABLE>\n");
        /* End todays-date-with-left-and-right-arrows */
 
-       wprintf("<CENTER><font color=#FFFFFF>"
+       wprintf("<BR><BR><CENTER><font color=#FFFFFF>"
                "&nbsp;<A HREF=\"/display_edit_event?msgnum=0"
                "&year=%d&month=%d&day=%d\">"
                "Add new calendar event</A>"
index 3baf7b61af20e2b825be2cddf4d033a820925b98..d80cf91b6a963f76a5f48052ec08ec3ff5cba7cb 100644 (file)
@@ -1,4 +1,4 @@
-<?=beginbox_nt>
+<?=beginbox>
 <CENTER>
 <FONT COLOR="#FF0000"><?MESG></FONT>
 <TABLE border=0>
@@ -7,16 +7,19 @@
        <p><?HELLO></p>
        <form action="/login" method="POST">
 
-       <table border="1">
+       <table border="0" cellspacing="5" cellpadding="5" BGCOLOR="#EEEEEE">
                <TR><TD>User name:</TD>
                <TD><input type="text" name="name" maxlength="25"></TD></TR>
                <TR><TD>Password:</TD>
                <TD><input type="password" name="pass" maxlength="20"></TD></TR>
-       </TABLE>
 
+       <TR><TD align=center COLSPAN=2>
        <input type="submit" name="action" value="Login">
        <input type="submit" name="action" value="New User">
        <input type="submit" name="action" value="Exit">
+       </TD></TR>
+
+       </TABLE>
        </form>
 
        </td>
index 18ae5786c6e2cef8a4231978c116244d26697c4f..887035b7045b8e1913678b35467aeb79affa3ce6 100644 (file)
@@ -58,7 +58,7 @@ a:active {
 
 .boxlabel {
        font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif;
-       font-size: 6pt;
+       font-size: 9pt;
        font-style: bold;
        color: #FFFFEE;
 }