{{define "dashboard"}}{{template "top" .}} {{- with .Data}}

Online

{{.State.Stats.Online}}

of {{.MaxPlayers}} places

Playing

{{.State.Stats.Playing}}

in recorded matches

Rooms open

{{.State.Stats.Rooms}}

{{.State.Stats.InRooms}} players in them

Matches, 24 h

{{.State.Stats.Matches24h}}

Match history

Bans in force

{{.State.Stats.Bans}}

Kicks included

Uptime

{{.Known}} players seen in all

Online players

{{- range .State.Players}} {{- end}}
PlayerNowOnline forIP addressActions
{{.Name}}{{if not .Verified}} unverified{{end}}{{.ID}} {{template "state" .}} {{.IP}} Kick Ban

Nobody is online.

Activity

newest first
    {{- range .Feed}}
  1. {{- $j := .Joiner}}{{range $i, $w := .Who}}{{if $i}}{{$j}}{{end}}{{or $w.Name $w.ID}}{{end}}{{if .Who}} {{end}}{{.Text}}

    {{template "ago" (at $.Now .AtTime)}}
  2. {{- end}}

Nothing yet. Players joining and leaving, matches, kicks and bans show up here while a panel page is open.

{{- end}} {{template "bottom" .}}{{end}} {{/* What an online player is doing (a livePlayer); panel.js draws the same. */}} {{define "state"}} {{- if eq .State "match"}}{{if .Ranked}}Ranked match{{else}}In a match{{end}} {{- with .Vs}} vs {{range $i, $w := .}}{{if $i}}, {{end}}{{$w.Name}}{{end}}{{end}} {{- else if eq .State "room"}}{{if .Ranked}}Ranked room{{else}}Hosting a room{{end}} {{.Filled}}/{{.Max}} {{- else}}Online{{end}} {{- end}}