mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 04:10:27 +08:00
40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
{$layout}
|
||
{$template "menu"}
|
||
|
||
<p class="ui message" v-if="servers.length == 0">暂时还没有服务。</p>
|
||
|
||
<table class="ui table selectable" v-if="servers.length > 0">
|
||
<thead>
|
||
<tr>
|
||
<th>服务名称</th>
|
||
<th>服务类型</th>
|
||
<th>部署集群</th>
|
||
<th>运行中节点数</th>
|
||
<th>未运行节点数</th>
|
||
<th>端口</th>
|
||
<th>状态</th>
|
||
<th class="two op">操作</th>
|
||
</tr>
|
||
</thead>
|
||
<tr v-for="server in servers">
|
||
<td>{{server.name}}</td>
|
||
<td>{{server.serverTypeName}}</td>
|
||
<td>{{server.cluster.name}}</td>
|
||
<td><span class="disabled">[暂无]</span></td>
|
||
<td><span class="disabled">[暂无]</span></td>
|
||
<td>
|
||
<span v-if="server.ports.length == 0">-</span>
|
||
<div v-for="port in server.ports">
|
||
<div class="ui label tiny" style="margin-bottom:0.5em">{{port.portRange}}<span class="small">({{port.protocol}})</span></div>
|
||
</div>
|
||
</td>
|
||
<td>
|
||
<span class="disabled">[暂无]</span>
|
||
</td>
|
||
<td>
|
||
<a :href="'/servers/server?serverId=' + server.id">详情</a>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<div class="page" v-html="page"></div> |