chore: 重写初始提交(清空历史,整理后全量提交)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
<div class="layui-container">
|
||||
<div class="admin-title">消息日志</div>
|
||||
<form class="layui-form" action="" style="margin-bottom:10px;">
|
||||
<div class="layui-inline">
|
||||
<input type="text" name="topic" value="{$topic}" placeholder="按主题搜索" class="layui-input">
|
||||
</div>
|
||||
<div class="layui-inline">
|
||||
<button class="layui-btn" lay-submit>搜索</button>
|
||||
</div>
|
||||
</form>
|
||||
<table class="layui-table">
|
||||
<thead>
|
||||
<tr><th>ID</th><th>ClientID</th><th>主题</th><th>QoS</th><th>内容</th><th>来源</th><th>时间</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{foreach $list as $m}
|
||||
<tr>
|
||||
<td>{$m.id}</td>
|
||||
<td>{$m.client_id}</td>
|
||||
<td>{$m.topic}</td>
|
||||
<td>{$m.qos}</td>
|
||||
<td>{$m.payload}</td>
|
||||
<td>{$m.source}</td>
|
||||
<td>{if !empty($m.create_at)}{$m.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