added the broker name and details to the home page and window title

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636298 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2008-03-12 12:23:27 +00:00
parent a9ccf5623d
commit 39744a83d6
2 changed files with 28 additions and 1 deletions

View File

@ -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"/>);

View File

@ -29,6 +29,33 @@ Welcome to the ActiveMQ Console
<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>