23 lines
711 B
HTML
23 lines
711 B
HTML
|
|
<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>
|