{{define "theme-hotaru/home"}} {{.Title}} {{if ts .CustomCode}} {{.CustomCode|safe}} {{end}}

{{.Title}}

{{tr "Status"}} {{tr "Name"}} {{tr "Platform"}} {{tr "Location"}} {{tr "Uptime"}} {{tr "NetSpeed"}}(B/s) ↓|↑ {{tr "NetTransfer"}}(B) ↓|↑ CPU RAM {{tr "DiskUsed"}}
@#server.live?'{{tr "Running"}}':'{{tr "Offline"}}'#@
@#server.Name#@ @#server.Host?server.Host.Platform:'-'#@ @#server.Host?server.Host.CountryCode:'-'#@ @#server.State?secondToDate(server.State.Uptime):'-'#@ @#server.State?readableBytes(server.State.NetInSpeed)+'/s|'+readableBytes(server.State.NetOutSpeed)+'/s':'-'#@ @#server.State?readableBytes(server.State.NetInTransfer)+'|'+readableBytes(server.State.NetOutTransfer):'-'#@
@#formatPercent(server.live,server.State.CPU,100).percent#@%
@#parseInt(server.State?server.State.MemUsed/server.Host.MemTotal*100:0)#@%
@#parseInt(server.State?server.State.DiskUsed/server.Host.DiskTotal*100:0)#@%

 @#server.Name#@

  • {{tr "NetSpeed"}}: @#server.State?formatByteSize(server.State.NetInSpeed)+'/s|'+formatByteSize(server.State.NetOutSpeed)+'/s':'-'#@
{{end}}