54 lines
1.3 KiB
Smarty
Executable File
54 lines
1.3 KiB
Smarty
Executable File
{include file='gembox/layout/head.tpl'}
|
|
|
|
<style>
|
|
.row1 {
|
|
|
|
}
|
|
|
|
.listTable {
|
|
//margin:0px;
|
|
//display: inline-block;
|
|
width:auto;
|
|
}
|
|
|
|
.onlineUserCount {
|
|
color:var(--gembox-yellow-1);
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="row1">
|
|
|
|
<table class="listTable" >
|
|
<thead>
|
|
<tr>
|
|
<th>节点id</th>
|
|
<th>节点名称</th>
|
|
<th>启用</th>
|
|
<th>心跳</th>
|
|
<th>在线</th>
|
|
<th>五日</th>
|
|
<th>没墙</th>
|
|
<th>用户</th>
|
|
<th>详细</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{foreach $data['data'] as $k=>$row}
|
|
<tr>
|
|
<td>{$row['id']}</td>
|
|
<td>{$row['name']}</td>
|
|
<td>{if $row['type'] == 1}✅{else}❌{/if}</td>
|
|
<td>{if $row['node_heartbeat'] > 0}✅{else}❌{/if}</td>
|
|
<td>{if $row['online'] == 1}✅{else}❌{/if}</td>
|
|
<td>{if $row['xDayActive'] ==1}✅{else}❌{/if}</td>
|
|
<td>{if $row['gfw_block'] != 1}✅{else}❌{/if}</td>
|
|
<td class="onlineUserCount">{$row['online_user']}</td>
|
|
<td><a href="/gembox/node/live/detail/{$siteCode}/{$row['id']}">*详细*</a></td>
|
|
</tr>
|
|
{/foreach}
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|