From: Art Cancro Date: Fri, 6 Jun 2003 03:26:03 +0000 (+0000) Subject: * Satan's Browser insists on putting bloody acres of whitespace to the X-Git-Tag: v7.86~5863 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=80ef607866a31ea094b49657d660ea13c037e14b;p=citadel.git * Satan's Browser insists on putting bloody acres of whitespace to the right of any bulleted list items, making any multi-column table containing a list take more than the entire screen. Removed all such lists so it looks ok. If you are reading this and you are a Microsoft employee, please commit suicide before you break anything else. --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 37717b050..27991c10a 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,11 @@ $Log$ +Revision 410.47 2003/06/06 03:26:03 ajc +* Satan's Browser insists on putting bloody acres of whitespace to the + right of any bulleted list items, making any multi-column table containing + a list take more than the entire screen. Removed all such lists so it + looks ok. If you are reading this and you are a Microsoft employee, please + commit suicide before you break anything else. + Revision 410.46 2003/06/06 02:22:07 ajc * Changed the upper left and upper right bounded box corners to a solid blue (#204B78) instead of gradiated, because it was looking funny in @@ -1466,3 +1473,4 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix + diff --git a/webcit/calendar.c b/webcit/calendar.c index 616bfe2ce..751d387f3 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -492,13 +492,13 @@ void display_individual_task(icalcomponent *vtodo, long msgnum) { icalproperty *p; p = icalcomponent_get_first_property(vtodo, ICAL_SUMMARY_PROPERTY); - wprintf("
  • wc_roomname); wprintf("\">"); if (p != NULL) { escputs((char *)icalproperty_get_comment(p)); } - wprintf("\n"); + wprintf("
    \n"); } diff --git a/webcit/calendar_view.c b/webcit/calendar_view.c index 75fb4f9fc..30f705a7f 100644 --- a/webcit/calendar_view.c +++ b/webcit/calendar_view.c @@ -458,8 +458,6 @@ void calendar_summary_view(void) { now = time(NULL); memcpy(&today_tm, localtime(&now), sizeof(struct tm)); - wprintf("
      "); - for (i=0; i<(WC->num_cal); ++i) { p = icalcomponent_get_first_property(WC->disp_cal[i], ICAL_DTSTART_PROPERTY); @@ -479,15 +477,13 @@ void calendar_summary_view(void) { WC->disp_cal[i], ICAL_SUMMARY_PROPERTY); if (p != NULL) { - wprintf("
    • "); escputs((char *) icalproperty_get_comment(p)); - wprintf(" (%s)\n", timestring); + wprintf(" (%s)
      \n", timestring); } } } } - wprintf("
    \n"); free_calendar_buffer(); } diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 0e970a688..a00168b1d 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -33,61 +33,96 @@ void display_main_menu(void) { output_headers(1); - wprintf("" + wprintf("
    " "
    \n"); svprintf("BOXTITLE", WCS_STRING, "Basic commands"); do_template("beginbox"); wprintf("\n" - ""); - wprintf("
    "); /* start of first column */ - - wprintf(""); @@ -116,20 +156,27 @@ void display_main_menu(void) svprintf("BOXTITLE", WCS_STRING, "Your info"); do_template("beginbox"); - wprintf("\n"); do_template("endbox"); wprintf("
    "); @@ -137,23 +184,27 @@ void display_main_menu(void) svprintf("BOXTITLE", WCS_STRING, "Advanced room commands"); do_template("beginbox"); - wprintf("\n"); do_template("endbox"); wprintf(""); @@ -162,27 +213,35 @@ void display_main_menu(void) svprintf("BOXTITLE", WCS_STRING, "Administrative functions"); do_template("beginbox"); - wprintf("\n"); do_template("endbox"); } wprintf("
    "); diff --git a/webcit/static/style.css b/webcit/static/style.css index 0e9cb5b42..0d3bbce2e 100644 --- a/webcit/static/style.css +++ b/webcit/static/style.css @@ -29,6 +29,19 @@ a:active { color: #FFFFEE; } +.mainmenu { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 10pt; + font-weight: bold; + color: #880000; +} + +.menudesc { + font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; + font-size: 8pt; + color: #000088; +} + .message_header { font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; font-size: 10pt; @@ -52,14 +65,14 @@ a:active { .tablabel { font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; font-size: 10pt; - font-style: bold; + font-weight: bold; color: #000000; } .boxlabel { font-family: Bitstream Vera Sans,Arial,Helvetica,sans-serif; font-size: 9pt; - font-style: bold; + font-weight: bold; color: #FFFFEE; } diff --git a/webcit/summary.c b/webcit/summary.c index 86a152a18..3b35df7cb 100644 --- a/webcit/summary.c +++ b/webcit/summary.c @@ -147,11 +147,9 @@ void tasks_section(void) { wprintf("(None)
    \n"); } else { - wprintf("
      "); for (i=0; imsgarr[i]); } - wprintf("
    \n"); } #else /* WEBCIT_WITH_CALENDAR_SERVICE */