From: Thierry Pasqualier Date: Sun, 20 May 2007 18:37:46 +0000 (+0000) Subject: CSS/HTML : Advanced & Administration X-Git-Tag: v7.86~3365 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=ca772fb97beffa45c99dfc4a0f93c6d91d678d03;p=citadel.git CSS/HTML : Advanced & Administration --- diff --git a/webcit/mainmenu.c b/webcit/mainmenu.c index 07927a7f6..5560c060b 100644 --- a/webcit/mainmenu.c +++ b/webcit/mainmenu.c @@ -24,144 +24,132 @@ void display_main_menu(void) do_template("beginbox"); wprintf("\n" - "" + "
" "" "
"); /**< start of first column */ - wprintf(""); + wprintf("\n"); + wprintf("\n"); /* start of second column */ - wprintf("" - ""); + wprintf("\n"); + wprintf(""); /* start of third column */ - wprintf("" - ""); + wprintf("\n"); wprintf("
\n"); do_template("endbox"); wprintf("" - "" ""); svprintf("BOXTITLE", WCS_STRING, _("Your info")); do_template("beginbox"); - wprintf("" - ""); + wprintf("\n"); do_template("endbox"); @@ -170,32 +158,31 @@ void display_main_menu(void) svprintf("BOXTITLE", WCS_STRING, _("Advanced room commands")); do_template("beginbox"); + wprintf("\n"); do_template("endbox"); @@ -210,67 +197,76 @@ void display_main_menu(void) void display_aide_menu(void) { output_headers(1, 1, 2, 0, 0, 0); - wprintf("
\n" - "
" - ""); + + wprintf("
\n"); + wprintf("
\n"); + wprintf("

"); wprintf(_("System Administration Menu")); - wprintf("" - "

\n" - "
\n
\n" - ); + wprintf(""); + wprintf("
"); + + wprintf("
"); wprintf("
" - "
"); + " " + "
"); svprintf("BOXTITLE", WCS_STRING, _("Global Configuration")); do_template("beginbox"); - wprintf("" - ""); + wprintf(""); do_template("endbox"); - wprintf(""); + wprintf(""); svprintf("BOXTITLE", WCS_STRING, _("User account management")); do_template("beginbox"); - wprintf("" - ""); + wprintf(""); do_template("endbox"); + wprintf("
"); + svprintf("BOXTITLE", WCS_STRING, _("Rooms and Floors")); do_template("beginbox"); - wprintf("" - ""); + wprintf(""); do_template("endbox"); diff --git a/webcit/static/webcit.css b/webcit/static/webcit.css index 184c50919..95e80dc88 100644 --- a/webcit/static/webcit.css +++ b/webcit/static/webcit.css @@ -423,16 +423,6 @@ a:hover { color: #FFFFEE; } -.mainmenu { - font-size: 10pt; - font-weight: bold; - color: #880000; -} - -.menudesc { - font-size: 8pt; - color: #000088; -} .message { margin: 5px; @@ -525,7 +515,7 @@ a:hover { } .boxlabel { - font-size: 7pt; + font-size: 8pt; font-weight: bold; color: #FFFFEE; } @@ -534,6 +524,29 @@ a:hover { color: #FFFFEE; } +ul.adminitems { + list-style-type: none; +} + +ul.adminitems li { + list-style: none; + font-size: 13px; +} + +ul.adminitems a { + font-size: 13px; + margin: 5px; + color: #880000; + font-weight: bold; +} + +ul.adminitems span { + display: block; + font-size: 8pt; + color: #000088; +} + + .customize { font-size: 8pt; font-style: italic; @@ -829,7 +842,7 @@ div.auto_complete ul strong.highlight { background-color: #CCCCCC; } -.auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .iconbar_background, .mainmenu_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background { +.auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .iconbar_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background { border: 0; width: 100%; background-color: #ffffff; @@ -852,7 +865,7 @@ div.auto_complete ul strong.highlight { background-color: #444455; } -.mainmenu_banner, .netconf_banner, .paging_banner, .preferences_banner, .roomops_banner, .setup_banner, .sieve_banner, .siteconfig_banner { +.netconf_banner, .paging_banner, .preferences_banner, .roomops_banner, .setup_banner, .sieve_banner, .siteconfig_banner { border: 0; width: 100%; background-color: #444455;