mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
show offline node
This commit is contained in:
parent
7cc6fd7466
commit
7e4784b3c2
@ -5,10 +5,10 @@
|
||||
<div class="ui container">
|
||||
<div class="ui four stackable status cards">
|
||||
<div v-for='server in servers' :id="server.ID" class="card">
|
||||
<div class="content">
|
||||
<div class="header"><i v-if='server.Host.CountryCode'
|
||||
:class="server.Host.CountryCode + ' flag'"></i><i v-if='server.Host.Platform == "darwin"'
|
||||
class="apple icon"></i><i v-if='server.Host.Platform == "linux"' class="linux icon"></i><i
|
||||
<div class="content" v-if='server.Host'>
|
||||
<div class="header"><i :class="server.Host.CountryCode + ' flag'"></i><i
|
||||
v-if='server.Host.Platform == "darwin"' class="apple icon"></i><i
|
||||
v-if='server.Host.Platform == "linux"' class="linux icon"></i><i
|
||||
v-if='server.Host.Platform == "windows"' class="windows icon"></i><i
|
||||
v-if='server.Host.Platform == "freebsd"' class="freebsd icon"></i>@#server.Name#@
|
||||
<i class="yellow info circle icon"></i>
|
||||
@ -77,6 +77,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content" v-if='!server.Host'>
|
||||
<p>@#server.Name#@</p>
|
||||
<p>节点已离线</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user