{{define "content"}}

Administration

Files
{{.Count}}{{if .Anonymous}} ({{.Anonymous}} anonymous){{end}}
Stored
{{.Total}}{{if .Quota}} of {{.Quota}} ({{.QuotaPct}}%){{end}}
{{if .FreeDisk}}
Free disk
{{.FreeDisk}}
{{end}}

Files

{{if not .Objects}}

Nothing stored right now.

{{else}} {{range .Objects}} {{end}}
File Size Owner Uploaded Expires Actions
{{.Filename}} {{.ID}}{{if .Vanity}} ★{{end}} {{.Size}} {{if .Owner}}{{.Owner}}{{else}}anonymous{{end}} {{.CreatedAgo}} {{.ExpiresIn}}
{{end}}

Tokens

Tokens are minted, rotated and revoked with ./send token on the server. They are deliberately not manageable from here: nothing that hands out credentials should be reachable over the network.

{{if .Tokens}} {{range .Tokens}} {{end}}
NameMax sizeMax lifetimeVanityAdmin
{{.Name}} {{.MaxSize}} {{.MaxExpiry}} {{if .Vanity}}yes{{else}}no{{end}} {{if .Admin}}yes{{else}}no{{end}}
{{end}}
{{end}}