2020-08-21 12:32:16 +08:00
|
|
|
|
{$layout}
|
|
|
|
|
|
|
2020-09-06 16:19:34 +08:00
|
|
|
|
{$template "/left_menu"}
|
2020-08-21 12:32:16 +08:00
|
|
|
|
<div class="right-box">
|
2021-08-07 22:04:30 +08:00
|
|
|
|
<form method="get" class="ui form small" :action="path" autocomplete="off">
|
|
|
|
|
|
<input type="hidden" name="serverId" :value="serverId"/>
|
|
|
|
|
|
<http-access-log-search-box :v-ip="ip" :v-domain="domain" :v-keyword="keyword"></http-access-log-search-box>
|
|
|
|
|
|
</form>
|
2021-06-04 10:15:31 +08:00
|
|
|
|
|
2020-10-10 19:22:17 +08:00
|
|
|
|
<p class="comment" v-if="isLoaded && accessLogs.length == 0">今天暂时还没有访问日志。</p>
|
|
|
|
|
|
|
|
|
|
|
|
<table class="ui table selectable" v-if="accessLogs.length > 0">
|
|
|
|
|
|
<!-- 这里之所以需要添加 :key,是因为要不然不会刷新显示 -->
|
|
|
|
|
|
<tr v-for="accessLog in accessLogs" :key="accessLog.requestId">
|
2021-06-04 10:15:31 +08:00
|
|
|
|
<td><http-access-log-box :v-access-log="accessLog" :v-keyword="keyword"></http-access-log-box></td>
|
2020-10-10 19:22:17 +08:00
|
|
|
|
</tr>
|
|
|
|
|
|
</table>
|
2020-08-21 12:32:16 +08:00
|
|
|
|
</div>
|