展示系统图标

This commit is contained in:
奶爸 2019-12-10 18:11:15 +08:00
parent 7b5aae3e67
commit 14551dd651
2 changed files with 9 additions and 2 deletions

View File

@ -27,7 +27,11 @@
height: 100%;
}
.status.cards .header>.icon {
.status.cards .flag {
margin-right: 0 !important;
}
.status.cards .header>.info.icon {
float: right;
margin-right: 0;
}

View File

@ -7,7 +7,10 @@
<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> @#server.Name#@
: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>
<div class='ui content popup'>
系统:@#server.Host.Platform#@-@#server.Host.PlatformVersion#@ [<span