summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/management-http/src/main/java/resources/index.html
diff options
context:
space:
mode:
authorAlex Rudyy <orudyy@apache.org>2013-04-24 13:35:27 +0000
committerAlex Rudyy <orudyy@apache.org>2013-04-24 13:35:27 +0000
commit77179da3f70ec38c849be4e1c0736e124743e810 (patch)
tree4649fb04cab061b9d37d2adbb7bf9da41767b53f /qpid/java/broker-plugins/management-http/src/main/java/resources/index.html
parent036d9119982e67f5c1d784862b7001819d5f5a7f (diff)
downloadqpid-python-77179da3f70ec38c849be4e1c0736e124743e810.tar.gz
QPID-4773: Add functionality to display information about http errors which might occur when communicating with the broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1471409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/management-http/src/main/java/resources/index.html')
-rw-r--r--qpid/java/broker-plugins/management-http/src/main/java/resources/index.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/qpid/java/broker-plugins/management-http/src/main/java/resources/index.html b/qpid/java/broker-plugins/management-http/src/main/java/resources/index.html
index 2117ef361d..4b97c464ec 100644
--- a/qpid/java/broker-plugins/management-http/src/main/java/resources/index.html
+++ b/qpid/java/broker-plugins/management-http/src/main/java/resources/index.html
@@ -85,6 +85,22 @@
<div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'bottom'">
<div qpid-type="footer"></div>
</div>
+
+ <div class="dijitHidden">
+ <div data-dojo-type="dijit.Dialog" data-dojo-props="title: 'Connection Error'" id="errorDialog">
+ <div style="width:400px; overflow: auto">
+ <div><strong><span id="errorMessage">An error occurred when communicating with the broker.</span></strong></div>
+ <div><span id="statusMessage"></span></div>
+ <div style="margin-top: 10px; margin-bottom: 8px"><span id="reloadMessage">Please try to reload.</span></div>
+ <div id="errorDetails" data-dojo-type="dijit.TitlePane" data-dojo-props="title: 'Details', open:false">
+ <span id="errorDetailsMessage"></span>
+ </div>
+ </div>
+ <div class="dijitDialogPaneActionBar">
+ <input type="button" value="Close" label="Close" dojoType="dijit.form.Button" onClick="dijit.byId('errorDialog').hide();"/>
+ </div>
+ </div>
+ </div>
</div>
</body>