update admin
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
<#import "admin-shell.ftl" as shell>
|
||||
<@shell.page title="后台管理 - 操作审计日志" active=active adminName=adminName>
|
||||
<h2 class="ui header">操作审计日志</h2>
|
||||
<p class="small-muted">记录所有管理员的后台操作,包括角色管理、用户管理、内容管理等。</p>
|
||||
|
||||
<table class="ui striped celled table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>管理员</th>
|
||||
<th>操作类型</th>
|
||||
<th>目标类型</th>
|
||||
<th>目标ID</th>
|
||||
<th>描述</th>
|
||||
<th>状态</th>
|
||||
<th>操作时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<#list logs as l>
|
||||
<tr>
|
||||
<td>${l.id}</td>
|
||||
<td>${l.adminName!""}</td>
|
||||
<td><span class="ui label">${l.actionType!""}</span></td>
|
||||
<td>${l.targetType!""}</td>
|
||||
<td>${l.targetId!""}</td>
|
||||
<td>
|
||||
<div style="max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;" title="${l.description!""}">
|
||||
${l.description!""}
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<#if l.status == "success">
|
||||
<span class="ui label green">成功</span>
|
||||
<#elseif l.status == "blocked">
|
||||
<span class="ui label orange">阻止</span>
|
||||
<#elseif l.status == "ignored">
|
||||
<span class="ui label yellow">忽略</span>
|
||||
<#else>
|
||||
<span class="ui label">${l.status!""}</span>
|
||||
</#if>
|
||||
</td>
|
||||
<td>${l.createTime?string('yyyy-MM-dd HH:mm:ss')!""}</td>
|
||||
</tr>
|
||||
</#list>
|
||||
</tbody>
|
||||
</table>
|
||||
</@shell.page>
|
||||
Reference in New Issue
Block a user