mirror of https://github.com/apache/activemq.git
fix for https://issues.apache.org/activemq/browse/AMQ-2341 - web console improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@800430 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
398f8ecbff
commit
9110827ae5
|
@ -24,17 +24,19 @@
|
|||
@import url(<c:url value="/styles/sorttable.css"/>);
|
||||
@import url(<c:url value="/styles/type-settings.css"/>);
|
||||
@import url(<c:url value="/styles/site.css"/>);
|
||||
@import url(<c:url value="/styles/prettify.css"/>);
|
||||
</style>
|
||||
<c:if test="${!disableJavaScript}">
|
||||
<script type='text/javascript' src='<c:url value="/js/common.js"/>'></script>
|
||||
<script type='text/javascript' src='<c:url value="/js/css.js"/>'></script>
|
||||
<script type='text/javascript' src='<c:url value="/js/standardista-table-sorting.js"/>'></script>
|
||||
<script type='text/javascript' src='<c:url value="/js/prettify.js"/>'></script>
|
||||
</c:if>
|
||||
|
||||
<decorator:head />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<body onload="prettyPrint()">
|
||||
|
||||
|
||||
<div class="white_box">
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -51,7 +51,7 @@ No message could be found for ID ${requestContext.messageQuery.id}
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="label">Destination</td>
|
||||
<td><form:tooltip text="${row.JMSDestination}"/></td>
|
||||
<td><form:tooltip text="${row.JMSDestination}" length="50"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label" title="The ID used to correlate messages together in a conversation">Correlation ID</td>
|
||||
|
@ -118,6 +118,41 @@ No message could be found for ID ${requestContext.messageQuery.id}
|
|||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layout" colspan="2">
|
||||
<table id="body" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
Message Actions
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><a href="deleteMessage.action?JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}">Delete</a></td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td><a href="javascript:confirmAction('queue', 'copyMessage.action?destination=%target%&JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue')">Copy</a></td>
|
||||
<td rowspan="2">
|
||||
<select id="queue">
|
||||
<option value=""> -- Please select --</option>
|
||||
<c:forEach items="${requestContext.brokerQuery.queues}" var="queues">
|
||||
<c:if test="${queues.name != requestContext.messageQuery.JMSDestination}">
|
||||
<option value="${queues.name}"><form:short text="${queues.name}"/></option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td><a href="javascript:confirmAction('queue', 'moveMessage.action?destination=%target%&JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue')">Move</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layout" colspan="2">
|
||||
<table id="body" width="100%">
|
||||
|
@ -130,50 +165,14 @@ No message could be found for ID ${requestContext.messageQuery.id}
|
|||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><div class="message"><c:out value="${requestContext.messageQuery.body}" escapeXml="true" /></div></td>
|
||||
<td><div class="message"><pre class="prettyprint"><c:out value="${requestContext.messageQuery.body}"/></pre></div></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="layout" colspan="2">
|
||||
<table id="body" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
Message Actions
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="2"><a href="deleteMessage.action?JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}">Delete</a></td>
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td><a href="javascript:confirmAction('queue', 'copyMessage.action?destination=%target%&JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue')">Copy</a></td>
|
||||
<td rowspan="2">
|
||||
<select id="queue">
|
||||
<option value=""> -- Please select --</option>
|
||||
<c:forEach items="${requestContext.brokerQuery.queues}" var="queues">
|
||||
<c:if test="${queues.name != requestContext.messageQuery.JMSDestination}">
|
||||
<option value="${queues.name}"><form:short text="${queues.name}"/></option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td><a href="javascript:confirmAction('queue', 'moveMessage.action?destination=%target%&JMSDestination=${row.JMSDestination}&messageId=${row.JMSMessageID}&JMSDestinationType=queue')">Move</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
/* Pretty printing styles. Used with prettify.js. */
|
||||
|
||||
.str { color: #080; }
|
||||
.kwd { color: #008; }
|
||||
.com { color: #800; }
|
||||
.typ { color: #606; }
|
||||
.lit { color: #066; }
|
||||
.pun { color: #660; }
|
||||
.pln { color: #000; }
|
||||
.tag { color: #008; }
|
||||
.atn { color: #606; }
|
||||
.atv { color: #080; }
|
||||
.dec { color: #606; }
|
||||
pre.prettyprint { padding: 2px; }
|
||||
|
||||
@media print {
|
||||
.str { color: #060; }
|
||||
.kwd { color: #006; font-weight: bold; }
|
||||
.com { color: #600; font-style: italic; }
|
||||
.typ { color: #404; font-weight: bold; }
|
||||
.lit { color: #044; }
|
||||
.pun { color: #440; }
|
||||
.pln { color: #000; }
|
||||
.tag { color: #006; font-weight: bold; }
|
||||
.atn { color: #404; }
|
||||
.atv { color: #060; }
|
||||
}
|
|
@ -171,7 +171,7 @@ blockquote {
|
|||
}
|
||||
|
||||
div.message {
|
||||
width: 500px;
|
||||
height: 100px;
|
||||
overflow : auto;
|
||||
width: 1000px;
|
||||
height: 750px;
|
||||
overflow : scroll;
|
||||
}
|
Loading…
Reference in New Issue