mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 11:36:34 +08:00
增加操作日志查看界面
This commit is contained in:
@@ -189,7 +189,7 @@ p.margin {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.main-menu .ui.menu .sub-items .item {
|
||||
padding-left: 2.8em !important;
|
||||
padding-left: 2.82em !important;
|
||||
}
|
||||
.main-menu .ui.menu .sub-items .item.active {
|
||||
background-color: #2185d0 !important;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -138,7 +138,7 @@ div.margin, p.margin {
|
||||
|
||||
.sub-items {
|
||||
.item {
|
||||
padding-left: 2.8em !important;
|
||||
padding-left: 2.82em !important;
|
||||
}
|
||||
|
||||
.item.active {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{$template "menu"}
|
||||
|
||||
<form method="post" class="ui form" action="/clusters/cluster">
|
||||
<form class="ui form" action="/clusters/cluster">
|
||||
<input type="hidden" name="clusterId" :value="clusterId"/>
|
||||
<div class="ui fields inline">
|
||||
<div class="ui field" v-if="groups.length > 0" style="padding-right: 0">
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
{$layout}
|
||||
|
||||
<p class="ui message">此功能暂未开放,敬请期待。</p>
|
||||
<p class="comment" v-if="logs.length == 0">暂时还没有日志。</p>
|
||||
|
||||
<table class="ui table selectable" v-for="log in logs">
|
||||
<tr>
|
||||
<td>{{log.createdTime}} <span v-if="log.userName.length > 0">@ {{log.userName}}</span> @ {{log.ip}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{log.description}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="page" v-html="page"></div>
|
||||
Reference in New Issue
Block a user