Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦中观雨
cat
提交
0be604b5
C
cat
项目概览
梦中观雨
/
cat
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0be604b5
编写于
9月 06, 2013
作者:
Y
yong.you
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify the css
上级
557248c5
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
91 addition
and
102 deletion
+91
-102
cat-home/src/main/java/com/dianping/cat/servlet/DomainFilter.java
.../src/main/java/com/dianping/cat/servlet/DomainFilter.java
+1
-1
cat-home/src/main/java/com/dianping/cat/system/page/abtest/Model.java
.../main/java/com/dianping/cat/system/page/abtest/Model.java
+5
-2
cat-home/src/main/java/com/dianping/cat/system/page/alarm/Model.java
...c/main/java/com/dianping/cat/system/page/alarm/Model.java
+5
-1
cat-home/src/main/java/com/dianping/cat/system/page/config/Model.java
.../main/java/com/dianping/cat/system/page/config/Model.java
+59
-57
cat-home/src/main/webapp/WEB-INF/tags/body.tag
cat-home/src/main/webapp/WEB-INF/tags/body.tag
+1
-2
cat-home/src/main/webapp/css/body.css
cat-home/src/main/webapp/css/body.css
+5
-0
cat-home/src/main/webapp/jsp/report/bugTree.jsp
cat-home/src/main/webapp/jsp/report/bugTree.jsp
+1
-0
cat-home/src/main/webapp/jsp/report/cache/cache.jsp
cat-home/src/main/webapp/jsp/report/cache/cache.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/cache/cacheHistory.jsp
cat-home/src/main/webapp/jsp/report/cache/cacheHistory.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/cross/cross.jsp
cat-home/src/main/webapp/jsp/report/cross/cross.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/event/event.jsp
cat-home/src/main/webapp/jsp/report/event/event.jsp
+0
-3
cat-home/src/main/webapp/jsp/report/event/eventHistoryReport.jsp
...e/src/main/webapp/jsp/report/event/eventHistoryReport.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/heartbeat/heartbeat.jsp
cat-home/src/main/webapp/jsp/report/heartbeat/heartbeat.jsp
+1
-3
cat-home/src/main/webapp/jsp/report/problem/problemHistoryReport.jsp
...c/main/webapp/jsp/report/problem/problemHistoryReport.jsp
+0
-1
cat-home/src/main/webapp/jsp/report/problem/problemStatics.jsp
...ome/src/main/webapp/jsp/report/problem/problemStatics.jsp
+0
-1
cat-home/src/main/webapp/jsp/report/sql/sql.jsp
cat-home/src/main/webapp/jsp/report/sql/sql.jsp
+0
-3
cat-home/src/main/webapp/jsp/report/sql/sqlHistory.jsp
cat-home/src/main/webapp/jsp/report/sql/sqlHistory.jsp
+0
-3
cat-home/src/main/webapp/jsp/report/state/state.jsp
cat-home/src/main/webapp/jsp/report/state/state.jsp
+0
-4
cat-home/src/main/webapp/jsp/report/state/stateHistory.jsp
cat-home/src/main/webapp/jsp/report/state/stateHistory.jsp
+0
-4
cat-home/src/main/webapp/jsp/report/transaction/transaction.jsp
...me/src/main/webapp/jsp/report/transaction/transaction.jsp
+1
-3
cat-home/src/main/webapp/jsp/report/transaction/transactionHistoryReport.jsp
...ebapp/jsp/report/transaction/transactionHistoryReport.jsp
+2
-4
cat-home/src/main/webapp/jsp/system/abtest/abtestAllTest.jsp
cat-home/src/main/webapp/jsp/system/abtest/abtestAllTest.jsp
+2
-1
cat-home/src/main/webapp/jsp/system/abtest/abtestCreate.jsp
cat-home/src/main/webapp/jsp/system/abtest/abtestCreate.jsp
+2
-0
cat-home/src/main/webapp/jsp/system/abtest/abtestDetail.jsp
cat-home/src/main/webapp/jsp/system/abtest/abtestDetail.jsp
+3
-0
cat-home/src/main/webapp/jsp/system/abtest/abtestReport.jsp
cat-home/src/main/webapp/jsp/system/abtest/abtestReport.jsp
+3
-1
未找到文件。
cat-home/src/main/java/com/dianping/cat/servlet/DomainFilter.java
浏览文件 @
0be604b5
...
...
@@ -54,7 +54,7 @@ public class DomainFilter implements Filter {
String
domain
=
httpRequest
.
getParameter
(
"domain"
);
boolean
cookieExist
=
false
;
if
(
domain
!=
null
&&
domain
.
length
()
>
0
)
{
if
(
cookies
!=
null
&&
cookies
.
length
>
0
&&
domain
!=
null
&&
domain
.
length
()
>
0
)
{
for
(
Cookie
cookie
:
cookies
)
{
if
(
DOMAIN
.
equals
(
cookie
.
getName
()))
{
cookieExist
=
true
;
...
...
cat-home/src/main/java/com/dianping/cat/system/page/abtest/Model.java
浏览文件 @
0be604b5
...
...
@@ -97,6 +97,10 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_reports
;
}
public
String
getReportType
(){
return
""
;
}
public
int
getRunningCount
()
{
return
m_runningCount
;
}
...
...
@@ -168,7 +172,7 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
public
void
setTerminatedCount
(
int
terminatedCount
)
{
m_terminatedCount
=
terminatedCount
;
}
public
void
setTotalPages
(
int
totalPages
)
{
m_totalPages
=
totalPages
;
}
...
...
@@ -240,6 +244,5 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
public
void
setRun
(
AbtestRun
run
)
{
m_run
=
run
;
}
}
}
cat-home/src/main/java/com/dianping/cat/system/page/alarm/Model.java
浏览文件 @
0be604b5
...
...
@@ -63,6 +63,10 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_opState
;
}
public
String
getReportType
(){
return
""
;
}
public
List
<
ScheduledReport
>
getSchduledReports
()
{
return
m_schduledReports
;
}
...
...
@@ -106,7 +110,7 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
public
void
setTemplateIndex
(
int
templateIndex
)
{
m_templateIndex
=
templateIndex
;
}
public
void
setUserReportSubStates
(
List
<
UserReportSubState
>
userReportSubStates
)
{
m_userReportSubStates
=
userReportSubStates
;
}
...
...
cat-home/src/main/java/com/dianping/cat/system/page/config/Model.java
浏览文件 @
0be604b5
...
...
@@ -62,14 +62,6 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
public
static
final
String
FAIL
=
"Fail"
;
public
Map
<
String
,
Domain
>
getProductLineToDomains
()
{
return
m_productLineToDomains
;
}
public
void
setProductLineToDomains
(
Map
<
String
,
Domain
>
productLineToDomains
)
{
m_productLineToDomains
=
productLineToDomains
;
}
public
Model
(
Context
ctx
)
{
super
(
ctx
);
}
...
...
@@ -98,10 +90,18 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_aggregationRules
;
}
public
String
getBug
()
{
return
m_bug
;
}
public
TopologyGraphConfig
getConfig
()
{
return
m_config
;
}
public
String
getContent
()
{
return
m_content
;
}
public
String
getDate
()
{
return
""
;
}
...
...
@@ -131,10 +131,22 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_edgeConfigs
;
}
public
ExceptionLimit
getExceptionLimit
()
{
return
m_exceptionLimit
;
}
public
List
<
ExceptionLimit
>
getExceptionLimits
()
{
return
m_exceptionLimits
;
}
public
String
getIpAddress
()
{
return
""
;
}
public
MetricItemConfig
getMetricItemConfig
()
{
return
m_metricItemConfig
;
}
public
String
getOpState
()
{
return
m_opState
;
}
...
...
@@ -147,6 +159,14 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_productLines
;
}
public
Map
<
String
,
Domain
>
getProductLineToDomains
()
{
return
m_productLineToDomains
;
}
public
Map
<
ProductLine
,
List
<
MetricItemConfig
>>
getProductMetricConfigs
()
{
return
m_productMetricConfigs
;
}
public
Project
getProject
()
{
return
m_project
;
}
...
...
@@ -155,6 +175,10 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_projects
;
}
public
String
getReportType
(){
return
""
;
}
public
void
setAggregationRule
(
AggregationRule
aggregationRule
)
{
m_aggregationRule
=
aggregationRule
;
}
...
...
@@ -163,10 +187,18 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
m_aggregationRules
=
aggregationRules
;
}
public
void
setBug
(
String
bug
)
{
m_bug
=
bug
;
}
public
void
setConfig
(
TopologyGraphConfig
config
)
{
m_config
=
config
;
}
public
void
setContent
(
String
content
)
{
m_content
=
content
;
}
public
void
setDomainConfig
(
DomainConfig
domainConfig
)
{
m_domainConfig
=
domainConfig
;
}
...
...
@@ -175,10 +207,22 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
m_edgeConfig
=
edgeConfig
;
}
public
void
setExceptionLimit
(
ExceptionLimit
exceptionLimit
)
{
m_exceptionLimit
=
exceptionLimit
;
}
public
void
setExceptionLimits
(
List
<
ExceptionLimit
>
exceptionLimits
)
{
m_exceptionLimits
=
exceptionLimits
;
}
public
void
setGraphConfig
(
TopologyGraphConfig
config
)
{
m_config
=
config
;
}
public
void
setMetricItemConfig
(
MetricItemConfig
metricItemConfig
)
{
m_metricItemConfig
=
metricItemConfig
;
}
public
void
setOpState
(
boolean
result
)
{
if
(
result
)
{
m_opState
=
SUCCESS
;
...
...
@@ -195,62 +239,21 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
m_productLines
=
productLines
;
}
public
void
setProject
(
Project
project
)
{
m_project
=
project
;
}
public
void
setProjects
(
List
<
Project
>
projects
)
{
m_projects
=
projects
;
}
public
MetricItemConfig
getMetricItemConfig
()
{
return
m_metricItemConfig
;
}
public
void
setMetricItemConfig
(
MetricItemConfig
metricItemConfig
)
{
m_metricItemConfig
=
metricItemConfig
;
}
public
Map
<
ProductLine
,
List
<
MetricItemConfig
>>
getProductMetricConfigs
()
{
return
m_productMetricConfigs
;
public
void
setProductLineToDomains
(
Map
<
String
,
Domain
>
productLineToDomains
)
{
m_productLineToDomains
=
productLineToDomains
;
}
public
void
setProductMetricConfigs
(
Map
<
ProductLine
,
List
<
MetricItemConfig
>>
productMetricConfigs
)
{
m_productMetricConfigs
=
productMetricConfigs
;
}
public
ExceptionLimit
getExceptionLimit
()
{
return
m_exceptionLimit
;
}
public
List
<
ExceptionLimit
>
getExceptionLimits
()
{
return
m_exceptionLimits
;
}
public
void
setExceptionLimit
(
ExceptionLimit
exceptionLimit
)
{
m_exceptionLimit
=
exceptionLimit
;
public
void
setProject
(
Project
project
)
{
m_project
=
project
;
}
public
void
set
ExceptionLimits
(
List
<
ExceptionLimit
>
exceptionLimi
ts
)
{
m_
exceptionLimits
=
exceptionLimi
ts
;
public
void
set
Projects
(
List
<
Project
>
projec
ts
)
{
m_
projects
=
projec
ts
;
}
public
String
getBug
()
{
return
m_bug
;
}
public
void
setBug
(
String
bug
)
{
m_bug
=
bug
;
}
public
String
getContent
()
{
return
m_content
;
}
public
void
setContent
(
String
content
)
{
m_content
=
content
;
}
public
static
class
Edge
{
private
List
<
EdgeConfig
>
m_edgeConfigs
;
...
...
@@ -269,5 +272,4 @@ public class Model extends ViewModel<SystemPage, Action, Context> {
return
m_nodeConfig
;
}
}
}
cat-home/src/main/webapp/WEB-INF/tags/body.tag
浏览文件 @
0be604b5
...
...
@@ -84,7 +84,7 @@
}
}
function
buildHref
(
domain
){
var
href
=
'
<a href="?op=history&domain=
'
+
domain
+
'
&date=${model.date}
&reportType=${model.reportType}
"> [
'
+
domain
+
'
] </a>
'
;
var
href
=
'
<a href="?op=history&domain=
'
+
domain
+
'
&date=${model.date}"> [
'
+
domain
+
'
] </a>
'
;
return
href
;
}
...
...
@@ -98,7 +98,6 @@
var
href
=
buildHref
(
domainArray
[
i
])
html
+=
href
;
}
console
.
log
(
html
);
$
(
'
#frequentNavbar
'
).
html
(
html
);
var
ct
=
getcookie
(
"
ct
"
);
...
...
cat-home/src/main/webapp/css/body.css
浏览文件 @
0be604b5
...
...
@@ -188,6 +188,11 @@ a.abtest-heartbeat {
width
:
100px
;
}
.machines
{
margin-top
:
5px
;
margin-bottom
:
5px
;
}
.longText
{
text-align
:
left
;
white-space
:
normal
;
...
...
cat-home/src/main/webapp/jsp/report/bugTree.jsp
浏览文件 @
0be604b5
<%@ page
contentType=
"text/html; charset=utf-8"
%>
<br/>
<div
class=
"well sidebar-nav"
>
<ul
class=
"nav nav-list"
>
<li
class=
'nav-header'
><h4>
Statistics
</h4></li>
...
...
cat-home/src/main/webapp/jsp/report/cache/cache.jsp
浏览文件 @
0be604b5
...
...
@@ -12,7 +12,6 @@
<a:report
title=
"Cache Report${empty payload.type ? '' : ' :: '}<a href='?domain=${model.domain}&date=${model.date}&type=${payload.type}'>${payload.type}</a>"
navUrlPrefix=
"ip=${model.ipAddress}&queryname=${model.queryName}&domain=${model.domain}${empty payload.type ? '' : '&type='}${payload.type}"
timestamp=
"
${
w:
format
(
model
.
creatTime
,
'yyyy-MM-dd HH:mm:ss'
)
}
"
>
<jsp:attribute
name=
"subtitle"
>
From ${w:format(report.startTime,'yyyy-MM-dd HH:mm:ss')} to ${w:format(report.endTime,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -39,7 +38,6 @@
</th>
</tr>
</table>
<br>
<table
class=
"data"
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
cat-home/src/main/webapp/jsp/report/cache/cacheHistory.jsp
浏览文件 @
0be604b5
...
...
@@ -14,7 +14,6 @@
navUrlPrefix=
"ip=${model.ipAddress}&queryname=${model.queryName}&domain=${model.domain}${empty payload.type ? '' : '&type='}${payload.type}"
timestamp=
"
${
w:
format
(
model
.
creatTime
,
'yyyy-MM-dd HH:mm:ss'
)
}
"
>
<jsp:attribute
name=
"subtitle"
>
From ${w:format(payload.historyStartDate,'yyyy-MM-dd HH:mm:ss')} to ${w:format(payload.historyDisplayEndDate,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
<c:forEach
var=
"ip"
items=
"
${
model
.
ips
}
"
>
...
...
@@ -33,7 +32,6 @@ navUrlPrefix="ip=${model.ipAddress}&queryname=${model.queryName}&domain=${model.
</th>
</tr>
</table>
<br>
<table
class=
"data"
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
cat-home/src/main/webapp/jsp/report/cross/cross.jsp
浏览文件 @
0be604b5
...
...
@@ -12,7 +12,6 @@
<jsp:attribute
name=
"subtitle"
>
From ${w:format(model.report.startTime,'yyyy-MM-dd HH:mm:ss')} to ${w:format(model.report.endTime,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
<%@ include
file=
"crossQuery.jsp"
%>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align: left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -39,7 +38,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<c:if
test=
"
${
!
empty
model
.
projectInfo
.
callProjectsInfo
}
"
>
<tr>
...
...
cat-home/src/main/webapp/jsp/report/event/event.jsp
浏览文件 @
0be604b5
...
...
@@ -18,8 +18,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align: left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -46,7 +44,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
cat-home/src/main/webapp/jsp/report/event/eventHistoryReport.jsp
浏览文件 @
0be604b5
...
...
@@ -12,7 +12,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align: left"
>
<th>
Machines:
<c:forEach
var=
"ip"
items=
"
${
model
.
ips
}
"
>
[
...
...
@@ -30,7 +29,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
cat-home/src/main/webapp/jsp/report/heartbeat/heartbeat.jsp
浏览文件 @
0be604b5
...
...
@@ -14,9 +14,8 @@
<a:report
title=
"HeartBeat Report"
navUrlPrefix=
"ip=${model.ipAddress}&domain=${model.domain}"
timestamp=
"
${
w:
format
(
model
.
creatTime
,
'yyyy-MM-dd HH:mm:ss'
)
}
"
>
<jsp:attribute
name=
"subtitle"
>
From ${w:format(report.startTime,'yyyy-MM-dd HH:mm:ss')} to ${w:format(report.endTime,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
</br>
<table
class=
"machines"
>
<th
style=
"text-align:left"
>
Machines:
<th
style=
"text-align:left"
>
Machines:
<c:forEach
var=
"ip"
items=
"
${
model
.
ips
}
"
>
[
<c:choose>
...
...
@@ -32,7 +31,6 @@
</c:forEach>
</th>
</table>
<br>
<table
class=
"graph"
>
<tr>
<th>
Framework Thread Info
</th>
...
...
cat-home/src/main/webapp/jsp/report/problem/problemHistoryReport.jsp
浏览文件 @
0be604b5
...
...
@@ -13,7 +13,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
[
<c:choose>
...
...
cat-home/src/main/webapp/jsp/report/problem/problemStatics.jsp
浏览文件 @
0be604b5
...
...
@@ -18,7 +18,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
[
<c:choose>
...
...
cat-home/src/main/webapp/jsp/report/sql/sql.jsp
浏览文件 @
0be604b5
...
...
@@ -8,7 +8,6 @@
<jsp:useBean
id=
"payload"
type=
"com.dianping.cat.report.page.sql.Payload"
scope=
"request"
/>
<jsp:useBean
id=
"model"
type=
"com.dianping.cat.report.page.sql.Model"
scope=
"request"
/>
<c:set
var=
"report"
value=
"
${
model
.
report
}
"
/>
<a:report
title=
"Sql Report"
navUrlPrefix=
"database=${model.database}&domain=${model.domain}"
...
...
@@ -16,7 +15,6 @@
<jsp:attribute
name=
"subtitle"
>
From ${w:format(report.startTime,'yyyy-MM-dd HH:mm:ss')} to ${w:format(report.endTime,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
</br>
<table>
<tr
style=
"text-align: left"
>
<th>
Databases:
[
<c:choose>
...
...
@@ -43,7 +41,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<tr>
<th></th>
...
...
cat-home/src/main/webapp/jsp/report/sql/sqlHistory.jsp
浏览文件 @
0be604b5
...
...
@@ -8,14 +8,12 @@
<jsp:useBean
id=
"payload"
type=
"com.dianping.cat.report.page.sql.Payload"
scope=
"request"
/>
<jsp:useBean
id=
"model"
type=
"com.dianping.cat.report.page.sql.Model"
scope=
"request"
/>
<c:set
var=
"report"
value=
"
${
model
.
report
}
"
/>
<a:historyReport
title=
"Sql Report"
navUrlPrefix=
"database=${model.database}&domain=${model.domain}"
>
<jsp:attribute
name=
"subtitle"
>
From ${w:format(payload.historyStartDate,'yyyy-MM-dd HH:mm:ss')} to ${w:format(payload.historyDisplayEndDate,'yyyy-MM-dd HH:mm:ss')}
</jsp:attribute>
<jsp:body>
</br>
<table
class=
'databases'
>
<tr
style=
"text-align: left"
>
<th>
Databases:
[
<c:choose>
...
...
@@ -42,7 +40,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<tr>
<th></th>
...
...
cat-home/src/main/webapp/jsp/report/state/state.jsp
浏览文件 @
0be604b5
...
...
@@ -16,8 +16,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
<br>
<table
class=
"machines"
>
<tr
style=
"text-align: left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -44,8 +42,6 @@
</th>
</tr>
</table>
</br>
<table
width=
"80%"
>
<tr>
<td
width=
"5%"
></td>
...
...
cat-home/src/main/webapp/jsp/report/state/stateHistory.jsp
浏览文件 @
0be604b5
...
...
@@ -13,8 +13,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
<br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -41,8 +39,6 @@
</th>
</tr>
</table>
</br>
<table
width=
"80%"
>
<tr>
<td
width=
"5%"
></td>
...
...
cat-home/src/main/webapp/jsp/report/transaction/transaction.jsp
浏览文件 @
0be604b5
...
...
@@ -15,7 +15,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align:left"
>
<th>
Machines:
[
<c:choose>
...
...
@@ -42,7 +41,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
@@ -77,7 +75,7 @@
</c:forEach>
</c:when>
<c:otherwise>
<tr><th
class=
'left'
colspan=
'12
'
><input
type=
"text"
name=
"queryname"
id=
"queryname"
size=
"40"
value=
"${model.queryName}"
>
<tr><th
style=
"text-align:left;"
colspan=
'13
'
><input
type=
"text"
name=
"queryname"
id=
"queryname"
size=
"40"
value=
"${model.queryName}"
>
<input
class=
"btn btn-primary btn-small"
value=
"Filter"
onclick=
"selectByName('${model.date}','${model.domain}','${model.ipAddress}','${payload.type}')"
type=
"submit"
>
支持多个字符串查询,例如sql|url|task,查询结果为包含任一sql、url、task的列。
</th></tr>
...
...
cat-home/src/main/webapp/jsp/report/transaction/transactionHistoryReport.jsp
浏览文件 @
0be604b5
...
...
@@ -12,7 +12,6 @@
<jsp:body>
<res:useJs
value=
"
${
res
.
js
.
local
[
'svgchart.latest.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'baseGraph.js'
]
}
"
target=
"head-js"
/>
</br>
<table
class=
"machines"
>
<tr
style=
"text-align: left"
>
<th>
Machines:
...
...
@@ -31,7 +30,6 @@
</th>
</tr>
</table>
<br>
<table
class=
'data'
>
<c:choose>
<c:when
test=
"
${
empty
payload
.
type
}
"
>
...
...
@@ -73,7 +71,7 @@
</c:forEach>
</c:when>
<c:otherwise>
<tr><th
class=
'left'
colspan=
'12
'
>
<tr><th
style=
"text-align:left;"
colspan=
'13
'
>
<input
type=
"text"
id=
"queryname"
size=
"40"
value=
"${model.queryName}"
>
<input
class=
"btn btn-primary btn-small"
value=
"Filter"
onclick=
"filterByName('${model.date}','${model.domain}','${model.ipAddress}','${payload.type}')"
type=
"submit"
>
支持多个字符串查询,例如sql|url|task,查询结果为包含任一sql、url、task的列
...
...
@@ -87,7 +85,7 @@
}
</script>
<tr>
<th
style=
"text-align: left;"
>
<th
style=
"text-align: left;"
>
<a
href=
"?op=history&domain=${model.domain}&date=${model.date}&ip=${model.ipAddress}&reportType=${model.reportType}&type=${payload.type}&sort=type${model.customDate}&queryname=${model.queryName}"
>
Name
</a>
</th>
<th
class=
"right"
><a
href=
"?op=history&domain=${model.domain}&date=${model.date}&ip=${model.ipAddress}&reportType=${model.reportType}&type=${payload.type}&sort=total${model.customDate}&queryname=${model.queryName}"
>
Total Count
</a></th>
...
...
cat-home/src/main/webapp/jsp/system/abtest/abtestAllTest.jsp
浏览文件 @
0be604b5
...
...
@@ -23,7 +23,8 @@
<res:useCss
value=
"
${
res
.
css
.
local
[
'bootstrap-rowlink.css'
]
}
"
target=
"head-css"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap-rowlink.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'abtestAllTest.js'
]
}
"
target=
"head-js"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
tiny_css
}
'
media=
"screen and (max-width: 1050px)"
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
large_css
}
'
media=
"screen and (min-width: 1050px)"
target=
"head-css"
/>
<style>
.statusSpan
{
float
:
right
;
...
...
cat-home/src/main/webapp/jsp/system/abtest/abtestCreate.jsp
浏览文件 @
0be604b5
...
...
@@ -22,6 +22,8 @@ div.controls input {
<res:useJs
value=
"
${
res
.
js
.
local
[
'select2.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'abtestAllTest.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap-validation.min.js'
]
}
"
target=
"head-js"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
tiny_css
}
'
media=
"screen and (max-width: 1050px)"
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
large_css
}
'
media=
"screen and (min-width: 1050px)"
target=
"head-css"
/>
<div
style=
"width: 950px; margin: 0 auto; margin-bottom: 250px;"
>
<h4
style=
"margin: 0 auto;"
>
Create ABTest
</h4>
...
...
cat-home/src/main/webapp/jsp/system/abtest/abtestDetail.jsp
浏览文件 @
0be604b5
...
...
@@ -33,6 +33,9 @@ div.controls input {
<res:useJs
value=
"
${
res
.
js
.
local
[
'select2.min.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'abtestAllTest.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap-validation.min.js'
]
}
"
target=
"head-js"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
tiny_css
}
'
media=
"screen and (max-width: 1050px)"
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
large_css
}
'
media=
"screen and (min-width: 1050px)"
target=
"head-css"
/>
<div
id=
"content"
class=
"row-fluid"
>
<div
class=
"span12 column"
>
<h3>
...
...
cat-home/src/main/webapp/jsp/system/abtest/abtestReport.jsp
浏览文件 @
0be604b5
...
...
@@ -22,7 +22,9 @@
<res:useCss
value=
"
${
res
.
css
.
local
[
'bootstrap.css'
]
}
"
target=
"head-css"
/>
<res:useCss
value=
"
${
res
.
css
.
local
[
'body.css'
]
}
"
target=
"head-css"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap.min.js'
]
}
"
target=
"head-js"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
tiny_css
}
'
media=
"screen and (max-width: 1050px)"
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
large_css
}
'
media=
"screen and (min-width: 1050px)"
target=
"head-css"
/>
<div
id=
"content"
lass=
"row-fluid"
>
<div
class=
"span12 column"
>
<h3>
Report
<small>
${model.abtest.name} #${model.abtest.id}
</small></h3>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录