{{define "theme-mdui/home"}} {{.Title}} {{if ts .CustomCode}} {{.CustomCode|safe}} {{end}}
{{if .IsAdminPage}} computer主机 accessibility服务 access_time任务 notifications报警 settings设置 {{else}} home首页 accessibility服务 {{end}}
{{if .Admin}} {{if .IsAdminPage}} arrow_back返回前台 {{else}} arrow_forward管理后台 {{end}} directions_run注销登录 {{else}} person登录 {{end}}
@#server.Name#@
info_outline
  • memory
    CPU @#server.live?parseInt(server.State.CPU):'NaN'#@%
  • straighten
    MEM @#parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0)#@%
  • 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)#@
{{end}}