SRCMS·轻响应 V1.8正式版
修复: 1. 后台无法查看生成的工单 2. 前端页面JS远程资源失效问题 3. 前台用户密码修改设计缺陷(Issued By 藏形匿影) 优化: 1. 多处代码提升二次开发可读性 新增: 1. 安全工单模块中动态更新功能
This commit is contained in:
@@ -4,13 +4,11 @@
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<title>安全工单</title>
|
||||
<meta name="generator" content="Bootply" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<!--防止外泄referer-->
|
||||
<meta name="referrer" content="never">
|
||||
<link href="__PUBLIC__/Home/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="__PUBLIC__/Home/index/carousel.css" rel="stylesheet">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link href="__PUBLIC__/Home/css/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
@@ -25,7 +23,7 @@
|
||||
<span class="yaheiicon-bar"></span>
|
||||
</button>
|
||||
<a class="yahei navbar-brand" href="/dev/index.php?m=&c=index&a=index"><strong>安全应急响应中心</strong>
|
||||
<span class="yahei navbar-brand-subtitle">安全工单</span>
|
||||
<span class="yahei navbar-brand-subtitle">外部安全工单</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="navbar-collapse collapse" id="navbar">
|
||||
@@ -54,7 +52,7 @@
|
||||
</pre>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p>#修复建议 / 修补期限:</span><span><if condition="$model.type eq 1"><span class="label label-success"></span>
|
||||
<p><b><span>#修复建议</span></b><span> / 修补期限:</span><span><if condition="$model.type eq 1"><span class="label label-success"></span>
|
||||
<elseif condition="$model.type eq 2" /><span class="label label-default">10天</span>
|
||||
<elseif condition="$model.type eq 3" /><span class="label label-warning">3天</span>
|
||||
<elseif condition="$model.type eq 4" /><span class="label label-danger">2天</span>
|
||||
@@ -69,6 +67,53 @@
|
||||
{$model.advise}
|
||||
</pre>
|
||||
</div>
|
||||
<hr/>
|
||||
<foreach name="wflow" item="v">
|
||||
<div class="row">
|
||||
<p><b><span>#处理进展</span></b><span> / </span><span>@{$v.time}</span><span> / </span><span>状态变更:<if condition="$v.type eq 1"><span class="label label-info">已确认</span>
|
||||
<elseif condition="$v.type eq 2" /><span class="label label-default">已分配</span>
|
||||
<elseif condition="$v.type eq 3" /><span class="label label-warning">处理中</span>
|
||||
<elseif condition="$v.type eq 4" /><span class="label label-success">已结单</span>
|
||||
</if><span> / 变动人:<span class="label label-default">{$v.userid}</span></p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<pre>
|
||||
{$v.content|htmlspecialchars_decode|waf}
|
||||
</pre>
|
||||
</div>
|
||||
</foreach>
|
||||
<div class="row">
|
||||
<form method="post" action="{:U('check/add')}">
|
||||
<label for="post-content">添加处理进展</label>
|
||||
<script id="post-content" name="content" type="text/plain"></script>
|
||||
<br/>
|
||||
<div class="form-group input-group input-group-sm">
|
||||
<span class="input-group-addon">处理人:</span><input type="text" class="form-control" name="userid" id="userid" placeholder="请输入您的公司id"/>
|
||||
</div>
|
||||
<div class="form-group input-group input-group-sm">
|
||||
<span class="input-group"><b>处理状态:</b></span>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="type" id="type" value="1" checked="checked" />已确认
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="type" id="type" value="2" />已分配
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="type" id="type" value="3" />处理中
|
||||
</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="type" id="type" value="4" />已结单
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group input-group input-group-sm">
|
||||
<input type="hidden" name="session" id="session" value="{$model.session}" />
|
||||
</div>
|
||||
<div class="form-group input-group input-group-sm">
|
||||
<input type="hidden" name="time" id="time" value="<?php echo date('Y-m-d H:i:s',time());?>" />
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">提交</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="row">
|
||||
<hr/>
|
||||
<p><b>注意事项:</b></p>
|
||||
@@ -77,5 +122,20 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 配置文件 -->
|
||||
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
|
||||
<!-- 编辑器源码文件 -->
|
||||
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
|
||||
<!-- 实例化编辑器 -->
|
||||
<script type="text/javascript">
|
||||
var ue = UE.getEditor('post-content',{
|
||||
toolbars: [
|
||||
['source', 'undo', 'redo','bold', 'italic', 'underline','fontborder', 'strikethrough', '|','simpleupload', 'insertimage','attachment','emotion','link','unlink', '|', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote','searchreplace', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc'],
|
||||
['inserttable','insertrow', 'insertcol','mergeright', 'mergedown','deleterow', 'deletecol','splittorows','splittocols', 'splittocells','deletecaption','inserttitle', 'mergecells', 'deletetable','insertparagraphbeforetable', 'paragraph','fontsize','fontfamily']
|
||||
],
|
||||
initialFrameHeight:500,
|
||||
zIndex:100
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,6 +7,7 @@
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<span style="font-size:20px">您好!欢迎登陆应急响应中心管理后台</span>
|
||||
<p>注意:请定期修改您的后台密码,保证安全性!</p>
|
||||
<p>请您定期更新SRCMS以获取最新安全补丁和特性:<a href="https://github.com/martinzhou2015/SRCMS" target="_blank">点击此处查看项目</a></p>
|
||||
<!--<p>您可以进行以下操作:</p>
|
||||
<ul>
|
||||
<li>1.漏洞审核</li>
|
||||
@@ -18,23 +19,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.row -->
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>
|
||||
<span><strong>最新版本:</strong></span>
|
||||
<span id="version"></span>
|
||||
</p>
|
||||
<p><span><strong>发布日期:</strong></span>
|
||||
<span id="date"></span>
|
||||
</p>
|
||||
<p>
|
||||
<span><strong>更新简介:</strong></span>
|
||||
<span id="des"></span>
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://github.com/martinzhou2015">立即下载</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
<div class="panel panel-info">
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<td>{$v.time|date="Y/m/d",###}</td>
|
||||
<td>{$v.username}</td>
|
||||
<td>{$v.category_title}</td>
|
||||
<td><a href="{:U('post/update?id=')}{$v.id}">审核</a> | <a href="{:U('post/session?id=')}{$v.id}" target="_Blank">生成工单</a> | <a href="{:U('check/view?session_id=')}{$v.session}" target="_Blank">查看工单</a> | <a href="{:U('post/delete?id=')}{$v.id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗?\n\n删除后将不能恢复!');">删除</a></td>
|
||||
<td><a href="{:U('post/update?id=')}{$v.id}">审核</a> | <if condition="$v.visible eq 0"><a href="{:U('post/session?id=')}{$v.id}" target="_Blank">生成工单</a> <elseif condition="$v.visible eq 1" /><a href="{:U('check/view?session_id=')}{$v.session}" target="_Blank">查看工单</a></if> | <a href="{:U('post/delete?id=')}{$v.id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗?\n\n删除后将不能恢复!');">删除</a></td>
|
||||
</tr>
|
||||
</foreach>
|
||||
</tbody>
|
||||
|
||||
@@ -28,12 +28,6 @@
|
||||
<div class="form-group">
|
||||
<label for="post-content">修复建议</label>
|
||||
<input type="text" name="advise" class="form-control" value="{$post.advise}" id="post-title" placeholder="输入修复建议">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>漏洞公开</label>
|
||||
<label class="radio-inline">
|
||||
<input type="radio" name="visible" id="visible" value="1" <if condition="$post.day eq 2">checked="checked"</if>>公开
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>修补限期</label>
|
||||
|
||||
@@ -31,6 +31,6 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="{:U('setting/index')}"><i class="fa fa-star"></i>系统设置</a>
|
||||
<a href="{:U('setting/index')}"><i class="fa fa-star"></i> 系统设置</a>
|
||||
</li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user