activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r636298 - in /activemq/trunk/activemq-web-console/src/main/webapp: decorators/main.jsp index.jsp
Date Wed, 12 Mar 2008 12:23:34 GMT
Author: jstrachan
Date: Wed Mar 12 05:23:27 2008
New Revision: 636298

URL: http://svn.apache.org/viewvc?rev=636298&view=rev
Log:
added the broker name and details to the home page and window title

Modified:
    activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp
    activemq/trunk/activemq-web-console/src/main/webapp/index.jsp

Modified: activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp?rev=636298&r1=636297&r2=636298&view=diff
==============================================================================
--- activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp (original)
+++ activemq/trunk/activemq-web-console/src/main/webapp/decorators/main.jsp Wed Mar 12 05:23:27
2008
@@ -19,7 +19,7 @@
 <html>
 <head>
 	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-	<title><decorator:title default="ActiveMQ Console" /></title>
+	<title>${requestContext.brokerQuery.brokerAdmin.brokerName} : <decorator:title
default="ActiveMQ Console" /></title>
     <style type="text/css" media="screen">
         @import url(<c:url value="/styles/sorttable.css"/>);
         @import url(<c:url value="/styles/type-settings.css"/>);

Modified: activemq/trunk/activemq-web-console/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/index.jsp?rev=636298&r1=636297&r2=636298&view=diff
==============================================================================
--- activemq/trunk/activemq-web-console/src/main/webapp/index.jsp (original)
+++ activemq/trunk/activemq-web-console/src/main/webapp/index.jsp Wed Mar 12 05:23:27 2008
@@ -29,6 +29,33 @@
 <p>
 You can find more information about ActiveMQ on the <a href="http://activemq.apache.org/">Apache
ActiveMQ Site</a>
 </p>
+
+<h2>Broker</h2>
+
+
+<table>
+    <tr>
+        <td>Name</td>
+        <td><b>${requestContext.brokerQuery.brokerAdmin.brokerName}</b></td>
+    </tr>
+    <tr>
+        <td>ID</td>
+        <td><b>${requestContext.brokerQuery.brokerAdmin.brokerId}</b></td>
+    </tr>
+    <tr>
+        <td>Store percent used</td>
+        <td><b>${requestContext.brokerQuery.brokerAdmin.storePercentUsage}</b></td>
+    </tr>
+    <tr>
+        <td>Memory percent used</td>
+        <td><b>${requestContext.brokerQuery.brokerAdmin.memoryPercentUsage}</b></td>
+    </tr>
+    <tr>
+        <td>Temp percent used</td>
+        <td><b>${requestContext.brokerQuery.brokerAdmin.tempPercentUsage}</b></td>
+    </tr>
+</table>
+
 </body>
 </html>
 	



Mime
View raw message