Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦中观雨
cat
提交
d5de0ff5
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,发现更多精彩内容 >>
提交
d5de0ff5
编写于
5月 16, 2013
作者:
Y
yong.you
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify alarm jsp
上级
e2e1d6f8
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
40 addition
and
12 deletion
+40
-12
cat-home/src/main/webapp/jsp/system/alarmExceptionRules.jsp
cat-home/src/main/webapp/jsp/system/alarmExceptionRules.jsp
+2
-2
cat-home/src/main/webapp/jsp/system/alarmRecordDetail.jsp
cat-home/src/main/webapp/jsp/system/alarmRecordDetail.jsp
+5
-5
cat-home/src/main/webapp/jsp/system/alarmRuleAdd.jsp
cat-home/src/main/webapp/jsp/system/alarmRuleAdd.jsp
+14
-1
cat-home/src/main/webapp/jsp/system/alarmRuleUpdate.jsp
cat-home/src/main/webapp/jsp/system/alarmRuleUpdate.jsp
+17
-2
cat-home/src/main/webapp/jsp/system/alarmServiceRules.jsp
cat-home/src/main/webapp/jsp/system/alarmServiceRules.jsp
+2
-2
未找到文件。
cat-home/src/main/webapp/jsp/system/alarmExceptionRules.jsp
浏览文件 @
d5de0ff5
...
...
@@ -36,7 +36,7 @@
<thead>
<tr
class=
"odd"
>
<th>
项目名
</th>
<th>
操作
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleAdd&type=exception"
target=
"_blank"
>
新增
</a></th>
<th>
操作
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleAdd&type=exception"
>
新增
</a></th>
</tr></thead><tbody>
<c:forEach
var=
"item"
items=
"
${
model
.
userSubStates
}
"
varStatus=
"status"
>
...
...
@@ -50,7 +50,7 @@
<a
class=
"btn btn-danger btn-small"
href=
"?op=exceptionAlarmRuleSub&alarmRuleId=${item.alarmRule.id}&subState=1"
onclick=
"return sub(this)"
>
取消
</a>
</c:otherwise>
</c:choose>
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleUpdate&alarmRuleId=${item.alarmRule.id}
"
target=
"_blank
"
>
编辑
</a>
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleUpdate&alarmRuleId=${item.alarmRule.id}
&type=exception
"
>
编辑
</a>
<a
class=
"btn btn-danger btn-small"
href=
"?op=exceptionAlarmRuleDelete&alarmRuleId=${item.alarmRule.id}"
>
删除
</a>
</td>
</tr>
...
...
cat-home/src/main/webapp/jsp/system/alarmRecordDetail.jsp
浏览文件 @
d5de0ff5
...
...
@@ -36,22 +36,22 @@
</div>
<div
class=
"span10"
>
</br>
<table
border=
"1"
rules=
"all"
>
<table
class=
"alarm table table-striped table-bordered table-condensed"
border=
"1"
rules=
"all"
>
<tr>
<t
d>
收件人
</td
>
<t
h>
收件人
</th
>
<td>
${model.mailRecord.receivers}
</td>
</tr>
<tr>
<t
d>
发送时间
</td
>
<t
h>
发送时间
</th
>
<td>
${w:format(model.mailRecord.creationDate,'yyyy-MM-dd
HH:mm:ss')}
</td>
</tr>
<tr>
<t
d>
邮件标题
</td
>
<t
h>
邮件标题
</th
>
<td>
${model.mailRecord.title}
</td>
</tr>
<tr>
<t
d>
邮件内容
</td
>
<t
h>
邮件内容
</th
>
<td><div>
${model.mailRecord.content}
</div></td>
</tr>
</table>
...
...
cat-home/src/main/webapp/jsp/system/alarmRuleAdd.jsp
浏览文件 @
d5de0ff5
...
...
@@ -13,7 +13,20 @@
<res:useJs
value=
"
${
res
.
js
.
local
[
'jquery-1.7.1.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap.min.js'
]
}
"
target=
"head-js"
/>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
var
id
=
'
${payload.type}
'
;
if
(
id
==
'
exception
'
){
$
(
'
#exceptionAlarmRules
'
).
addClass
(
"
active
"
);
}
else
{
$
(
'
#serviceAlarmRules
'
).
addClass
(
"
active
"
);
}
});
</script>
<div
class=
"row-fluid"
>
<div
class=
"span2"
>
<%@include
file=
"./alarm.jsp"
%>
</div>
<div
class=
"span6"
>
<form
name=
"alarmModify"
id=
"form"
method=
"post"
action=
"${model.pageUri}?op=alarmRuleUpdateSubmit"
>
...
...
@@ -40,7 +53,7 @@
</table>
</form>
</div>
<div
class=
"span
6
"
>
<div
class=
"span
4
"
>
<h3
class=
'text-error text-error'
>
样本内容(可以copy右侧内容修改简单参数即可)
</h3>
<xmp>
${model.alarmTemplate.content}
</xmp>
<h3
class=
'text-error'
>
说明事项
</h3>
...
...
cat-home/src/main/webapp/jsp/system/alarmRuleUpdate.jsp
浏览文件 @
d5de0ff5
...
...
@@ -13,7 +13,22 @@
<res:useJs
value=
"
${
res
.
js
.
local
[
'jquery-1.7.1.js'
]
}
"
target=
"head-js"
/>
<res:useJs
value=
"
${
res
.
js
.
local
[
'bootstrap.min.js'
]
}
"
target=
"head-js"
/>
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
()
{
var
id
=
'
${payload.type}
'
;
if
(
id
==
'
exception
'
){
$
(
'
#exceptionAlarmRules
'
).
addClass
(
"
active
"
);
}
else
{
$
(
'
#serviceAlarmRules
'
).
addClass
(
"
active
"
);
}
});
</script>
<div
class=
"container-fluid"
>
<div
class=
"row-fluid"
>
<div
class=
"span2"
>
<%@include
file=
"./alarm.jsp"
%>
</div>
<div
class=
"span6"
>
<form
name=
"alarmModify"
id=
"form"
method=
"post"
action=
"${model.pageUri}?op=alarmRuleUpdateSubmit"
>
...
...
@@ -37,7 +52,7 @@
</table>
</form>
</div>
<div
class=
"span
6
"
>
<div
class=
"span
4
"
>
<h3
class=
'text-error text-error'
>
样本内容(可以copy右侧内容修改简单参数即可)
</h3>
<xmp>
${model.alarmTemplate.content}
</xmp>
<h3
class=
'text-error'
>
说明事项
</h3>
...
...
@@ -72,5 +87,5 @@
interval=
"3"
alarm-interval=
"120"
alarm=
"SMS"
/></xmp>
<p
class=
"text-warning"
>
duration2表示在一定的3分钟时间内错误出现在250到2500000之间之间,会发SMS告警,在120分钟内只会告警一次。(目前SMS不启作用,仍然会用邮件,邮件标题有SMS)
</p>
</div>
</div>
</div>
</div>
</a:body>
cat-home/src/main/webapp/jsp/system/alarmServiceRules.jsp
浏览文件 @
d5de0ff5
...
...
@@ -37,7 +37,7 @@
<thead>
<tr
class=
"odd"
>
<td>
项目名
</td>
<td>
操作
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleAdd&type=service"
target=
"_blank"
>
新增
</a></td>
<td>
操作
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleAdd&type=service"
>
新增
</a></td>
</tr></thead><tbody>
<c:forEach
var=
"item"
items=
"
${
model
.
userSubStates
}
"
varStatus=
"status"
>
...
...
@@ -51,7 +51,7 @@
<a
class=
"btn btn-danger btn-small"
href=
"?op=serviceAlarmRuleSub&alarmRuleId=${item.alarmRule.id}&subState=1"
onclick=
"return sub(this)"
>
取消
</a>
</c:otherwise>
</c:choose>
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleUpdate&alarmRuleId=${item.alarmRule.id}
"
target=
"_blank
"
>
编辑
</a>
<a
class=
"btn btn-primary btn-small"
href=
"?op=alarmRuleUpdate&alarmRuleId=${item.alarmRule.id}
&type=service
"
>
编辑
</a>
<a
class=
"btn btn-danger btn-small"
href=
"?op=serviceAlarmRuleDelete&alarmRuleId=${item.alarmRule.id}"
>
删除
</a>
</td>
</tr>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录