tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c
Date Fri, 27 Feb 2004 08:37:48 GMT
hgomez      2004/02/27 00:37:48

  Modified:    jk/native2/common jk_worker_status.c
  Log:
  Gunter addon (and initial stylesheet)
  
  Revision  Changes    Path
  1.49      +5 -0      jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
  
  Index: jk_worker_status.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- jk_worker_status.c	24 Feb 2004 08:44:40 -0000	1.48
  +++ jk_worker_status.c	27 Feb 2004 08:37:48 -0000	1.49
  @@ -36,6 +36,8 @@
   
   #define JK_CHECK_NULL( str ) ( ((str)==NULL) ? "null" : (str) )
   
  +#define DEFAULT_CSS ("BODY {COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: \"Times New
Roman\", Times, serif; BACKGROUND-COLOR: #ffffff} H1 { COLOR: #0033cc; FONT-FAMILY: Arial,
Helvetica, sans-serif} H2 { COLOR: #0033cc; FONT-FAMILY: Arial, Helvetica, sans-serif} H3
{FONT: 110% Arial, Helvetica, sans-serif; COLOR: #0033cc} B {FONT-WEIGHT: bold}" )
  +
   /** Display info for one endpoint
    */
   static void jk2_worker_status_displayStat(jk_env_t *env, jk_ws_service_t *s,
  @@ -173,6 +175,7 @@
       int needHeader=JK_TRUE;
       
       if( wenv->shm==NULL || wenv->shm->head==NULL) {
  +		s->jkprintf(env, s, "<h3>No Scoreboard avaiable</h3>\n"); 
           return;
       }
   
  @@ -942,6 +945,8 @@
                               "Content-Type", "text/html", NULL);
       }
       s->head(env, s );
  +
  +	s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
   
       /** Process the query string.
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message