{{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
    {{tr "UpNetTransfer"}}
    @#formatNetByteSize(server.State.NetOutSpeed)#@
    {{tr "DownNetTransfer"}}
    @#formatNetByteSize(server.State.NetInSpeed)#@
  • swap_horiz
    {{tr "TotalUpNetTransfer"}}
    @#formatByteSize(server.State.NetOutTransfer)#@
    {{tr "TotalDownNetTransfer"}}
    @#formatByteSize(server.State.NetInTransfer)#@
ID {{tr "Name"}} {{tr "UpNetTransfer"}} {{tr "DownNetTransfer"}} {{tr "TotalUpNetTransfer"}} {{tr "TotalDownNetTransfer"}} CPU RAM {{tr "Uptime"}}
@#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}}