{{define "theme-mdui/home"}} {{.Title}} {{if ts .CustomCode}} {{.CustomCode|safe}} {{end}} {{template "theme-mdui/menu" .}}
@#server.Name#@
info_outline
Offline
  • memory
    CPU @#server.live?parseInt(server.State.CPU):'NaN'#@%
  • straighten
    MEM @#server.live?parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0):'NaN'#@%
  • swap_vert
    上行
    @#formatNetByteSize(server.State.NetOutSpeed)#@
    下行
    @#formatNetByteSize(server.State.NetInSpeed)#@
  • swap_horiz
    总上行
    @#formatByteSize(server.State.NetOutTransfer)#@
    总下行
    @#formatByteSize(server.State.NetInTransfer)#@
ID Name Up Down Total Up Total Down CPU RAM Online
@#server.ID#@ @#server.Name#@ @#formatNetByteSize(server.State.NetOutSpeed)#@ @#formatNetByteSize(server.State.NetInSpeed)#@ @#formatByteSize(server.State.NetOutTransfer)#@ @#formatByteSize(server.State.NetInTransfer)#@
@#server.live?parseInt(server.State.CPU):'NaN'#@%
@#parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0)#@%
@#secondToDate(server.State.Uptime)#@
{{template "theme-mdui/footer" .}} {{end}}