Patch to fix stylesheets in Tactical Overview

Joe Rhett jrhett at isite.net
Thu Nov 27 22:28:22 CET 2003


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/




More information about the Developers mailing list