SRCMS
SRCMS(轻响应)企业应急响应中心开发框架模版
This commit is contained in:
55
Application/Admin/View/Post/index.html
Normal file
55
Application/Admin/View/Post/index.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<include file="Public/header" title="漏洞审核" />
|
||||
<div id="page-wrapper">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<a href="{:U('post/add')}" class="btn btn-success">添加报告</a>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<form action="{:U('post/index')}" method="post">
|
||||
<div class="form-group input-group">
|
||||
<input type="text" class="form-control" name="key" placeholder="输入文章标题、作者或者分类关键词搜索">
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default" type="button"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<table class="table table-hover table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>编号</th>
|
||||
<th>标题</th>
|
||||
<th>类型</th>
|
||||
<th>发布时间</th>
|
||||
<th>作者</th>
|
||||
<th>分类</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<foreach name="model" item="v">
|
||||
<tr>
|
||||
<td>{$v.id}</td>
|
||||
<td>{$v.title}</td>
|
||||
<td>
|
||||
<if condition="$v.type eq 1"><span class="label label-success">审核中</span>
|
||||
<elseif condition="$v.type eq 2" /><span class="label label-info">已忽略</span>
|
||||
<elseif condition="$v.type eq 3" /><span class="label label-primary">已确认</span>
|
||||
<elseif condition="$v.type eq 4" /><span class="label label-warning">已修复</span>
|
||||
</if>
|
||||
</td>
|
||||
<td>{$v.time|date="Y/m/d H:i:s",###}</td>
|
||||
<td>{$v.username}</td>
|
||||
<td>{$v.category_title}</td>
|
||||
<td><a href="{:U('post/update?id=')}{$v.id}">审核</a> | <a href="{:U('post/delete?id=')}{$v.id}" style="color:red;" onclick="javascript:return del('您真的确定要删除吗?\n\n删除后将不能恢复!');">删除</a></td>
|
||||
</tr>
|
||||
</foreach>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="clearfix"></div>
|
||||
{$page}
|
||||
|
||||
</div>
|
||||
<include file="Public/footer" />
|
||||
Reference in New Issue
Block a user