{{define "theme-angel-kanade/home"}} {{template "theme-angel-kanade/header" .}} {{if ts .CustomCode}} {{.CustomCode|safe}} {{end}} {{template "theme-angel-kanade/menu" .}}
@#(group.Tag!==''?group.Tag:'{{tr "Default"}}')#@
国家  @#server.Name + (server.live?'':'[{{tr "Offline"}}]')#@
CPU
@#formatPercent(server.live,server.State.CPU,100).percent#@%
{{tr "MemUsed"}}
@#parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0)#@%
{{tr "SwapUsed"}}
@#parseInt(server.State?server.State.SwapUsed/server.Host.SwapTotal*100:0)#@%
{{tr "NetSpeed"}}
@#formatByteSize(server.State.NetInSpeed)#@/s @#formatByteSize(server.State.NetOutSpeed)#@/s
{{tr "NetTransfer"}}
@#formatByteSize(server.State.NetInTransfer)#@   @#formatByteSize(server.State.NetOutTransfer)#@
{{tr "DiskUsed"}}
@#parseInt(server.State?server.State.DiskUsed/server.Host.DiskTotal*100:0)#@%
{{tr "Info"}}
@#getCoreAndGHz(server.Host.CPU)#@   @#getByteToGB(server.Host.MemTotal)#@   @#getByteToGB(server.Host.DiskTotal)#@
{{tr "Uptime"}}
@#secondToDate(server.State.Uptime)#@

@#server.Name#@

{{tr "ServerIsOffline"}}

{{template "theme-angel-kanade/footer" .}} {{end}}