rabbitmq.jsp
2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<link rel="stylesheet" href="<%=basePath %>css/local/rabbit.css"/>
<div id="breadcrumb">
<a href="#" title="Go to Home" class="tip-bottom"><i
class="icon-home"></i> Home</a> <a
href="#" class="current">rabbitmq</a>
</div>
<div class="container-fluid">
<div class="widget-box">
<div class="widget-title">
<h5>rabbitmq详情 <font color="red">(最近2分钟)</font></h5>
</div>
<div class="container-fluid" style="margin-top: -20px;">
<div class="row-fluid">
<div class="span12">
<div class="section section-visible">
<h3>Overview</h3>
<div class="hider updatable" style="display:block;" id="overviewDiv">
</div>
</div>
</div>
</div>
<div class="row-fluid" style="margin-top: 20px">
<div class="span12">
<div class="section section-visible">
<h3>Nodes</h3>
<div class="hider updatable" style="display:block;">
<table class="table table-bordered table-striped table-hover" id="clusterViewTable">
</table>
</div>
</div>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<div class="section section-visible">
<h3>Queues</h3>
<div class="input-group" style="float: right; margin-right: 50px;">
<input type="text" id="tx_search_queue" width="50" style="display: inline" placeholder="队列关键字"/>
       
<button type="button" class="btn btn-default" data-dismiss="modal" id="search_button">搜索</button>
</div>
<div class="hider updatable" style="display:block;">
<table class="table table-bordered table-striped table-hover" id="queueViewTable">
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$("#search_button").click(function () {
var key=$("#tx_search_queue").val();
$("#queueViewTable").table("load",
{
'moId': moId,
'queueKey': key
})
})
</script>
<script src="<%=basePath %>js/rabbit.js" type="text/javascript"></script>