Patch to fix stylesheets in Tactical Overview
Ethan Galstad
nagios at nagios.org
Wed Dec 3 03:17:45 CET 2003
Thanks - I'll get this updated in CVS tonight.
On 27 Nov 2003 at 13:28, Joe Rhett wrote:
> The tactical overview overrides the stylesheet in numerous places
> inside the source code. This patch removes these instances.
>
> *** cgi/tac.c_orig Thu Nov 27 13:24:10 2003
> --- cgi/tac.c Thu Nov 27 13:24:58 2003
> ***************
> *** 329,335 ****
> printf("<LINK REL='stylesheet' TYPE='text/css'
> HREF='%s%s'>\n",url_stylesheets_path,TAC_CSS);
>
> printf("</HEAD>\n");
> ! printf("<BODY CLASS='tac' bgcolor='black' text='white'
> ! marginwidth=2 marginheight=2 topmargin=0 leftmargin=0
> ! rightmargin=0>\n");
>
> /* include user SSI header */
> include_ssi_files(TAC_CGI,SSI_HEADER);
> --- 329,335 ----
> printf("<LINK REL='stylesheet' TYPE='text/css'
> HREF='%s%s'>\n",url_stylesheets_path,TAC_CSS);
>
> printf("</HEAD>\n");
> ! printf("<BODY CLASS='tac' marginwidth=2 marginheight=2 topmargin=0
> ! leftmargin=0 rightmargin=0>\n");
>
> /* include user SSI header */
> include_ssi_files(TAC_CGI,SSI_HEADER);
> ***************
> *** 921,927 ****
>
> printf("<p>\n");
>
> ! printf("<table bgcolor=black width=125 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=1 height=20
> class='outageTitle'> Network Outages</td></tr>\n");
>
> --- 921,927 ----
>
> printf("<p>\n");
>
> ! printf("<table class="tac" width=125 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=1 height=20
> class='outageTitle'> Network Outages</td></tr>\n");
>
> ***************
> *** 1038,1044 ****
>
> printf("<p>\n");
>
> ! printf("<table bgcolor=black width=516 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=4 height=20
> class='hostTitle'> Hosts</td></tr>\n");
>
> --- 1038,1044 ----
>
> printf("<p>\n");
>
> ! printf("<table class="tac" width=516 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=4 height=20
> class='hostTitle'> Hosts</td></tr>\n");
>
> ***************
> *** 1178,1184 ****
>
> printf("<p>\n");
>
> ! printf("<table bgcolor=black width=641 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=5 height=20
> class='hostTitle'> Services</td></tr>\n");
>
> --- 1178,1184 ----
>
> printf("<p>\n");
>
> ! printf("<table class="tac" width=641 cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=5 height=20
> class='hostTitle'> Services</td></tr>\n");
>
> ***************
> *** 1358,1364 ****
>
> printf("<p>\n");
>
> ! printf("<table bgcolor=black cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=5 height=20
> class='featureTitle'> Monitoring Features</td></tr>\n");
>
> --- 1358,1364 ----
>
> printf("<p>\n");
>
> ! printf("<table class="tac" cellspacing=4 cellpadding=0
> ! border=0>\n");
>
> printf("<tr><td colspan=5 height=20
> class='featureTitle'> Monitoring Features</td></tr>\n");
>
>
> --
> Joe Rhett Chief Geek
> JRhett at Isite.Net Isite Services,
> Inc.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
More information about the Developers
mailing list