mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-29 16:10:26 +08:00
改进界面
This commit is contained in:
@@ -1,14 +1,6 @@
|
||||
{$layout}
|
||||
{$template "menu"}
|
||||
|
||||
{$var "header"}
|
||||
<!-- datepicker -->
|
||||
<script type="text/javascript" src="/js/moment.min.js"></script>
|
||||
<script type="text/javascript" src="/js/pikaday.js"></script>
|
||||
<link rel="stylesheet" href="/js/pikaday.css"/>
|
||||
<link rel="stylesheet" href="/js/pikaday.theme.css"/>
|
||||
<link rel="stylesheet" href="/js/pikaday.triangle.css"/>
|
||||
{$end}
|
||||
{$template "/datepicker"}
|
||||
|
||||
<div class="margin"></div>
|
||||
|
||||
@@ -50,13 +42,13 @@
|
||||
<table class="ui table selectable" v-for="log in logs">
|
||||
<tr :class="{error: log.level == 'error', warning: log.level == 'warn'}">
|
||||
<td class="log-row">{{log.createdTime}} <span class="grey"> <span
|
||||
v-if="log.userName.length > 0">| <span v-if="log.userId>0">用户 | </span> {{log.userName}}</span> | {{log.ip}}<span
|
||||
v-if="log.userName.length > 0">| <span v-if="log.userId>0">用户 | </span> {{log.userName}}</span> | <keyword :v-word="keyword">{{log.ip}}</keyword><span
|
||||
v-if="log.region.length > 0"> | {{log.region}}</span> <a href="" @click.prevent="showMore(log)" title="显示更多">...</a> <span v-if="log.moreVisible">{{log.action}}</span></span>
|
||||
<span class="buttons"><a v-if="logConfig.canDelete" href="" title="删除" @click.prevent="deleteLog(log.id)"><i class="icon remove small"></i></a> </span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr :class="{error: log.level == 'error', warning: log.level == 'warn'}">
|
||||
<td>{{log.description}}</td>
|
||||
<td><keyword :v-word="keyword">{{log.description}}</keyword></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user