mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
日志审计转移完成
This commit is contained in:
@@ -8,6 +8,80 @@
|
||||
#operationLog tbody tr td:nth-child(2){width:130px;}
|
||||
#operationLog thead th:nth-child(4),
|
||||
#operationLog tbody tr td:nth-child(4){width:150px;}
|
||||
|
||||
|
||||
.logAuditContent {
|
||||
padding: 0 0 0 15px;
|
||||
margin-left: 15px;
|
||||
width: 100%;
|
||||
flex: 1;
|
||||
border-left: 1px solid #ececec;
|
||||
}
|
||||
|
||||
.tootls_group .logs_search .search_input {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #ccc;
|
||||
outline: none;
|
||||
padding-left: 8px;
|
||||
vertical-align: top;
|
||||
width: 230px;
|
||||
}
|
||||
|
||||
.tootls_group .logs_search .glyphicon-search {
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0 10px;
|
||||
color: #888;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
font-size: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#logAudit .tootls_group {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
#logAudit .tootls_group, #panelRun .tootls_group.tools_bottom {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
height: auto;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
.logAuditTabContent {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.logAuditTabContent .logAuditTab {
|
||||
border: 1px solid #ececec;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.logAuditTabContent .logAuditTab .logAuditItem {
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
padding: 0 10px;
|
||||
border-bottom: 1px solid #ececec;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.logAuditTabContent .logAuditTab .logAuditItem:hover, .logAuditTabContent .logAuditTab .logAuditItem.active {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
#logAuditTable thead th:nth-child(1),
|
||||
#logAuditTable tbody tr td:nth-child(1){width:;}
|
||||
#logAuditTable thead th:nth-child(2),
|
||||
#logAuditTable tbody tr td:nth-child(2){width:;}
|
||||
#logAuditTable thead th:nth-child(3),
|
||||
#logAuditTable tbody tr td:nth-child(3){width:;}
|
||||
#logAuditTable thead th:nth-child(4),
|
||||
#logAuditTable tbody tr td:nth-child(4){width:300px;}
|
||||
</style>
|
||||
|
||||
<div class="main-content" style="min-height: 389px;">
|
||||
@@ -20,7 +94,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div class="bgw mtb15 pd15 tab-view-box firewall-tab-view">
|
||||
<div class="bgw mtb15 pd15 tab-view-box firewall-tab-view" style="overflow: hidden;">
|
||||
|
||||
<!-- logs start -->
|
||||
<div class="tab-con show w-full" id="panelLogs" style="padding: 0px;">
|
||||
@@ -53,9 +127,63 @@
|
||||
</div>
|
||||
<!-- logs end -->
|
||||
|
||||
|
||||
<div class="tab-con hide" id="logAudit" style="height: auto;">
|
||||
<div class="logAuditTabContent">
|
||||
<div class="logAuditTab" style="width: 300px;overflow: hidden;overflow-y: auto;">
|
||||
<!--
|
||||
<div class="logAuditItem active" title="wtmp - 登录和重启记录" data-file="/wtmp">
|
||||
wtmp - 登录和重启记录(4.88 KB)
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
<div class="logAuditContent" style="overflow: hidden;overflow-y: auto;">
|
||||
<div id="logAuditTable" class="bt_table" style="display: block;">
|
||||
<div class="tootls_group tootls_top">
|
||||
<div class="pull-left">
|
||||
<button type="button" title="刷新列表" class="btn btn-success btn-sm mr5"><span>刷新列表</span></button>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<div class="logs_search" style="position: relative;">
|
||||
<input type="text" class="search_input" style="" placeholder="请输入来源/端口/角色/事件">
|
||||
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="divtable mtb10" style="max-height: 83px;">
|
||||
<table class="table table-hover">
|
||||
<thead style="position: relative;z-index: 1;">
|
||||
<tr>
|
||||
<th><span data-index="0"><span>用户</span></span></th>
|
||||
<th><span data-index="1"><span>来源</span></span></th>
|
||||
<th><span data-index="2"><span>端口</span></span></th>
|
||||
<th><span data-index="3"><span>时间</span></span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><span>root</span></td>
|
||||
<td><span>117.139.193.29</span></td>
|
||||
<td><span>pts/0</span></td>
|
||||
<td><span>2023-08-25 13:27 still logged in</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tootls_group tootls_bottom">
|
||||
<div class="pull-left"></div>
|
||||
<div class="pull-right">
|
||||
<div class="page"><span class="Pcount">第 1 页</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="logAuditPages" class="page" style="display: flex; justify-content: flex-end;"></div>
|
||||
<div id="logAuditPre" style="display: none;"><pre style="height: 188px; background-color: rgb(51, 51, 51); color: rgb(255, 255, 255); overflow-x: hidden; overflow-wrap: break-word; white-space: pre-wrap;"><code></code></pre></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/app/logs.js?v={{config.version}}"></script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user