增加操作日志查看界面

This commit is contained in:
刘祥超
2020-11-10 20:30:47 +08:00
parent b1059b6e09
commit 2e51574ee7
13 changed files with 101 additions and 47 deletions

View File

@@ -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

View File

@@ -138,7 +138,7 @@ div.margin, p.margin {
.sub-items {
.item {
padding-left: 2.8em !important;
padding-left: 2.82em !important;
}
.item.active {

View File

@@ -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">

View File

@@ -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>