chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
<div class="layui-container">
|
||||
<div class="admin-title">客户端连接</div>
|
||||
<table class="layui-table">
|
||||
<thead>
|
||||
<tr><th>ID</th><th>ClientID</th><th>用户名</th><th>IP</th><th>状态</th><th>连接时间</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $list as $c}
|
||||
<tr>
|
||||
<td>{$c.id}</td>
|
||||
<td>{$c.client_id}</td>
|
||||
<td>{$c.username}</td>
|
||||
<td>{$c.ip}</td>
|
||||
<td>{$c.status|default=0}</td>
|
||||
<td>{if !empty($c.create_at)}{$c.create_at|date='Y-m-d H:i:s'}{else}-{/if}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</tbody>
|
||||
</table>
|
||||
{$list|raw}
|
||||
</div>
|
||||
Reference in New Issue
Block a user