Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦中观雨
cat
提交
bf3d031d
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,发现更多精彩内容 >>
提交
bf3d031d
编写于
2月 28, 2012
作者:
F
Frankie Wu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove default.css, use body.css instead
上级
2dc2ffa4
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
8 addition
and
90 deletion
+8
-90
cat-core/src/main/java/com/dianping/cat/message/spi/codec/HtmlMessageCodec.java
.../com/dianping/cat/message/spi/codec/HtmlMessageCodec.java
+1
-23
cat-home/src/main/java/com/dianping/cat/report/page/logview/JspFile.java
...in/java/com/dianping/cat/report/page/logview/JspFile.java
+1
-1
cat-home/src/main/webapp/css/default.css
cat-home/src/main/webapp/css/default.css
+0
-60
cat-home/src/main/webapp/css/logview.css
cat-home/src/main/webapp/css/logview.css
+6
-0
cat-home/src/main/webapp/jsp/report/failure.jsp
cat-home/src/main/webapp/jsp/report/failure.jsp
+0
-1
cat-home/src/main/webapp/jsp/report/ip.jsp
cat-home/src/main/webapp/jsp/report/ip.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/logview.jsp
cat-home/src/main/webapp/jsp/report/logview.jsp
+0
-2
cat-home/src/main/webapp/jsp/report/logview_no_header.jsp
cat-home/src/main/webapp/jsp/report/logview_no_header.jsp
+0
-0
cat-home/src/main/webapp/jsp/report/transaction.jsp
cat-home/src/main/webapp/jsp/report/transaction.jsp
+0
-1
未找到文件。
cat-core/src/main/java/com/dianping/cat/message/spi/codec/HtmlMessageCodec.java
浏览文件 @
bf3d031d
...
...
@@ -161,28 +161,6 @@ public class HtmlMessageCodec implements MessageCodec {
return
count
;
}
//<style>
//.nested {
//width:100%;
//display:none;
//}
//</style>
//
//<script>
//function show(a,id) {
// var cell = document.getElementById(id);
// var text = a.innerHTML;
//
// if (text == '[:: show ::]') {
// a.innerHTML = '[:: hide ::]';
// cell.src = "file:///Users/qmwu/project/tracking/cat-core/target/test.html";
// cell.style.display='block';
// } else {
// a.innerHTML = '[:: show ::]';
// cell.style.display='none';
// }
//}
//</script>
protected
int
encodeLogViewLink
(
Message
message
,
ChannelBuffer
buf
,
int
level
,
LineCounter
counter
)
{
BufferHelper
helper
=
m_bufferHelper
;
int
count
=
0
;
...
...
@@ -190,7 +168,7 @@ public class HtmlMessageCodec implements MessageCodec {
if
(
counter
!=
null
)
{
counter
.
inc
();
count
+=
helper
.
tr1
(
buf
,
counter
.
getCount
()
%
2
!=
0
?
"odd"
:
"even
"
);
count
+=
helper
.
tr1
(
buf
,
"link
"
);
}
else
{
count
+=
helper
.
tr1
(
buf
,
null
);
}
...
...
cat-home/src/main/java/com/dianping/cat/report/page/logview/JspFile.java
浏览文件 @
bf3d031d
...
...
@@ -3,7 +3,7 @@ package com.dianping.cat.report.page.logview;
public
enum
JspFile
{
LOGVIEW
(
"/jsp/report/logview.jsp"
),
LOGVIEW_NO_HEADER
(
"/jsp/report/logview_
bare
.jsp"
),
LOGVIEW_NO_HEADER
(
"/jsp/report/logview_
no_header
.jsp"
),
;
...
...
cat-home/src/main/webapp/css/default.css
已删除
100644 → 0
浏览文件 @
2dc2ffa4
body
{
font-family
:
arial
,
helvetica
,
sans-serif
;
font-size
:
small
;
background
:
white
;
color
:
black
;
margin
:
4px
;
padding
:
0
;
font
:
Message-Box
;
}
html
{
margin
:
0
}
a
{
text-decoration
:
none
;
}
a
:hover
{
text-decoration
:
underline
;
}
ul
.tabs
{
border-bottom
:
1px
solid
gray
;
list-style-type
:
none
;
position
:
relative
;
padding
:
0em
;
padding-top
:
0.4em
;
padding-bottom
:
0.4em
;
}
.tabs
li
{
display
:
inline
;
margin
:
0em
0.4em
0em
0.4em
;
padding
:
0.4em
0.4em
0.4em
0.4em
;
overflow
:
hidden
;
border-top
:
1px
solid
gray
;
border-left
:
1px
solid
gray
;
border-right
:
1px
solid
gray
;
}
.tabs
li
.selected
{
background
:
#ccddff
;
border-bottom
:
1px
solid
white
;
}
tr
.head
{
background-color
:
#e8e8e8
;
}
tr
.strip
{
background-color
:
#f2f2f2
;
}
tr
.head
th
{
background-color
:
#f2f2f2
;
border-bottom
:
1px
solid
#c4c4c4
;
}
tr
th
{
background-color
:
#f2f2f2
;
}
cat-home/src/main/webapp/css/logview.css
浏览文件 @
bf3d031d
...
...
@@ -16,6 +16,12 @@ tr.even td {
vertical-align
:
top
;
}
tr
.link
td
{
font-size
:
small
;
white-space
:
nowrap
;
vertical-align
:
top
;
}
.warn
{
color
:
yellow
;
}
...
...
cat-home/src/main/webapp/jsp/report/failure.jsp
浏览文件 @
bf3d031d
...
...
@@ -6,7 +6,6 @@
<jsp:useBean
id=
"payload"
type=
"com.dianping.cat.report.page.failure.Payload"
scope=
"request"
/>
<jsp:useBean
id=
"model"
type=
"com.dianping.cat.report.page.failure.Model"
scope=
"request"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
default_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
style_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
failure_css
}
'
target=
"head-css"
/>
...
...
cat-home/src/main/webapp/jsp/report/ip.jsp
浏览文件 @
bf3d031d
...
...
@@ -6,8 +6,6 @@
<jsp:useBean
id=
"payload"
type=
"com.dianping.cat.report.page.ip.Payload"
scope=
"request"
/>
<jsp:useBean
id=
"model"
type=
"com.dianping.cat.report.page.ip.Model"
scope=
"request"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
default_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
style_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
ip_css
}
'
target=
"head-css"
/>
<a:report
title=
"Hot IP Report"
timestamp=
"2012-02-07"
>
...
...
cat-home/src/main/webapp/jsp/report/logview.jsp
浏览文件 @
bf3d031d
...
...
@@ -6,8 +6,6 @@
<jsp:useBean
id=
"payload"
type=
"com.dianping.cat.report.page.logview.Payload"
scope=
"request"
/>
<jsp:useBean
id=
"model"
type=
"com.dianping.cat.report.page.logview.Model"
scope=
"request"
/>
<res:useCss
value=
"
${
res
.
css
.
local
.
default_css
}
"
target=
"head-css"
/>
<res:useCss
value=
"
${
res
.
css
.
local
.
style_css
}
"
target=
"head-css"
/>
<res:useCss
value=
"
${
res
.
css
.
local
.
logview_css
}
"
target=
"head-css"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'jquery-1.7.1.js'
]
}
"
target=
"head-js"
/>
...
...
cat-home/src/main/webapp/jsp/report/logview_
bare
.jsp
→
cat-home/src/main/webapp/jsp/report/logview_
no_header
.jsp
浏览文件 @
bf3d031d
文件已移动
cat-home/src/main/webapp/jsp/report/transaction.jsp
浏览文件 @
bf3d031d
...
...
@@ -12,7 +12,6 @@
var
domain
=
'
${model.currentDomain}
'
;
</script>
<res:useCss
value=
'
${
res
.
css
.
local
.
default_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
style_css
}
'
target=
"head-css"
/>
<res:useCss
value=
'
${
res
.
css
.
local
.
failure_css
}
'
target=
"head-css"
/>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录