Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 91042 invoked from network); 27 Feb 2004 08:37:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Feb 2004 08:37:57 -0000 Received: (qmail 93366 invoked by uid 500); 27 Feb 2004 08:37:25 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 93297 invoked by uid 500); 27 Feb 2004 08:37:25 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 93277 invoked by uid 500); 27 Feb 2004 08:37:24 -0000 Received: (qmail 93273 invoked from network); 27 Feb 2004 08:37:24 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 27 Feb 2004 08:37:24 -0000 Received: (qmail 90969 invoked by uid 1198); 27 Feb 2004 08:37:48 -0000 Date: 27 Feb 2004 08:37:48 -0000 Message-ID: <20040227083748.90968.qmail@minotaur.apache.org> From: hgomez@apache.org To: jakarta-tomcat-connectors-cvs@apache.org Subject: cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_status.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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, "

No Scoreboard avaiable

\n"); return; } @@ -942,6 +945,8 @@ "Content-Type", "text/html", NULL); } s->head(env, s ); + + s->jkprintf(env, s, "\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