mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-11 18:30:25 +08:00
25 lines
679 B
HTML
25 lines
679 B
HTML
|
|
{$layout}
|
||
|
|
{$template "menu"}
|
||
|
|
|
||
|
|
<p class="comment" v-if="clusters.length == 0">暂时还没有集群。</p>
|
||
|
|
|
||
|
|
<table class="ui table selectable celled" v-if="clusters.length > 0">
|
||
|
|
<thead>
|
||
|
|
<tr>
|
||
|
|
<th>集群名称</th>
|
||
|
|
<th class="two wide">集群状态</th>
|
||
|
|
<th class="two op">操作</th>
|
||
|
|
</tr>
|
||
|
|
</thead>
|
||
|
|
<tr v-for="cluster in clusters">
|
||
|
|
<td>{{cluster.name}}</td>
|
||
|
|
<td>
|
||
|
|
<label-on :v-is-on="cluster.isOn"></label-on>
|
||
|
|
</td>
|
||
|
|
<td>
|
||
|
|
<a :href="'/ns/clusters/cluster?clusterId=' + cluster.id">详情</a>
|
||
|
|
</td>
|
||
|
|
</tr>
|
||
|
|
</table>
|
||
|
|
|
||
|
|
<div class="page" v-html="page"></div>
|