tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager Constants.java StatusManagerServlet.java
Date Mon, 28 Jul 2003 17:28:44 GMT
remm        2003/07/28 10:28:44

  Modified:    webapps/manager/WEB-INF/classes/org/apache/catalina/manager
                        Constants.java StatusManagerServlet.java
  Log:
  - Tweak stylesheet and tags used.
  
  Revision  Changes    Path
  1.3       +44 -4     jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/Constants.java
  
  Index: Constants.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/Constants.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Constants.java	28 Jul 2003 14:57:47 -0000	1.2
  +++ Constants.java	28 Jul 2003 17:28:43 -0000	1.3
  @@ -73,7 +73,33 @@
           "<html>\n" +
           "<head>\n" +
           "<style>\n" +
  -        "  table { width: 100%; }\n" +
  +        "  P {\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    background: white;\n" +
  +        "    color: black;\n" +
  +        "    font-size: 12px;\n" +
  +        "  }\n" +
  +        "  H1 {\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    font-weight: bold;\n" +
  +        "    font-size: 20px;\n" +
  +        "    color: black;\n" +
  +        "  }\n" +
  +        "  H2 {\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    font-weight: bold;\n" +
  +        "    font-size: 14px;\n" +
  +        "    color: black;\n" +
  +        "  }\n" +
  +        "  H3 {\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    font-weight: bold;\n" +
  +        "    font-size: 12px;\n" +
  +        "    color: black;\n" +
  +        "  }\n" +
  +        "  table {\n" +
  +        "    width: 100%;\n" +
  +        "  }\n" +
           "  td.page-title {\n" +
           "    text-align: center;\n" +
           "    vertical-align: top;\n" +
  @@ -120,6 +146,20 @@
           "  }\n" +
           "  td.row-right {\n" +
           "    text-align: right;\n" +
  +        "    vertical-align: middle;\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    color: black;\n" +
  +        "    background: white;\n" +
  +        "  }\n" +
  +        "  TH {\n" +
  +        "    text-align: center;\n" +
  +        "    vertical-align: top;\n" +
  +        "    font-family:verdana,sans-serif;\n" +
  +        "    font-weight: bold;\n" +
  +        "    background: #FFDC75;\n" +
  +        "  }\n" +
  +        "  TD {\n" +
  +        "    text-align: center;\n" +
           "    vertical-align: middle;\n" +
           "    font-family:verdana,sans-serif;\n" +
           "    color: black;\n" +
  
  
  
  1.7       +12 -19    jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusManagerServlet.java
  
  Index: StatusManagerServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusManagerServlet.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StatusManagerServlet.java	28 Jul 2003 16:23:07 -0000	1.6
  +++ StatusManagerServlet.java	28 Jul 2003 17:28:43 -0000	1.7
  @@ -352,16 +352,15 @@
           throws Exception {
   
           writer.print("<h1>JVM</h1>");
  -        writer.print("<br/>");
   
  +        writer.print("<p>");
           writer.print(" Free memory: ");
           writer.print(Runtime.getRuntime().freeMemory());
           writer.print(" Total memory: ");
           writer.print(Runtime.getRuntime().totalMemory());
           writer.print(" Max memory: ");
           writer.print(JdkCompat.getJdkCompat().getMaxMemory());
  -
  -        writer.print("<br/>");
  +        writer.print("</p>");
   
       }
   
  @@ -377,8 +376,7 @@
           writer.print(name);
           writer.print("</h1>");
   
  -        writer.print("<br/>");
  -
  +        writer.print("<p>");
           writer.print(" Max threads: ");
           writer.print(mBeanServer.getAttribute(tpName, "maxThreads"));
           writer.print(" Min spare threads: ");
  @@ -418,8 +416,7 @@
           writer.print(mBeanServer.getAttribute(grpName, "bytesReceived"));
           writer.print(" Bytes sent: ");
           writer.print(mBeanServer.getAttribute(grpName, "bytesSent"));
  -
  -        writer.print("<br/>");
  +        writer.print("</p>");
   
           writer.print("<table border=\"0\"><tr><th>Stage</th><th>Time</th><th>B
Sent</th><th>B Recv</th><th>Client</th><th>VHost</th><th>Request</th></tr>");
   
  @@ -579,14 +576,12 @@
           writer.print(name);
           writer.print("</h1>");
   
  -        writer.print("<br/>");
  -
  +        writer.print("<p>");
           writer.print(" Startup time: ");
           writer.print(mBeanServer.getAttribute(objectName, "startupTime"));
           writer.print(" TLD scan time: ");
           writer.print(mBeanServer.getAttribute(objectName, "tldScanTime"));
  -
  -        writer.print("<br/>");
  +        writer.print("</p>");
   
           String onStr = "*:j2eeType=Servlet,WebModule=" + webModuleName + ",*";
           ObjectName servletObjectName = new ObjectName(onStr);
  @@ -612,8 +607,7 @@
           writer.print(servletName);
           writer.print("</h2>");
   
  -        writer.print("<br/>");
  -
  +        writer.print("<p>");
           writer.print(" Processing time: ");
           writer.print(mBeanServer.getAttribute(objectName, "processingTime"));
           writer.print(" Max time: ");
  @@ -626,8 +620,7 @@
           writer.print(mBeanServer.getAttribute(objectName, "loadTime"));
           writer.print(" Classload time: ");
           writer.print(mBeanServer.getAttribute(objectName, "classLoadTime"));
  -
  -        writer.print("<br/>");
  +        writer.print("</p>");
   
       }
   
  
  
  

---------------------------------------------------------------------
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