{{define "account_fleet"}}{{template "top" .}} {{if .Flash}}{{end}} {{if .FlashErr}}{{end}}

Fleet · {{.Account.Name}}

Fleet

Where this account's apps run — the shared fleet, and boxes you bring.

{{.SharedFleet.Title}} {{if .SharedFleet.PlacementKnown}}{{if .SharedFleet.Active}}Active {{else}}Not used{{end}}{{end}}

{{if .SharedFleet.Boxes}}

{{.SharedFleet.Boxes}} box{{if ne .SharedFleet.Boxes 1}}es{{end}}{{if .SharedFleet.Regions}} in {{range .SharedFleet.Regions}}{{.}} {{end}}{{end}}

{{else}}

No shared boxes are reporting right now.

{{end}} {{if .SharedFleet.PlacementKnown}}

{{if .SharedFleet.Active}}{{.SharedFleet.PlatformApps}} of your apps {{if eq .SharedFleet.PlatformApps 1}}runs{{else}}run{{end}} here. Apps run on the shared fleet unless you place them on a fleet of your own.{{else}}None of your apps run on the shared fleet.{{end}}

{{else}}

Whether your apps run here could not be read just now.

{{end}}

Your fleets

{{if .AccountFleets}}
{{range .AccountFleets}} {{end}}
FleetBoxesReachablePlaced apps
{{.Name}} {{.Boxes}} {{.Reachable}} {{.Apps}}
{{else if .FleetsKnown}}

No fleets of your own yet.

{{else}}

Your fleets could not be read just now.

{{end}}

Bring your own fleet

Run your apps on hardware you own — an office box, a Raspberry Pi, your own cloud account. Your boxes dial out to the platform; nothing connects in.

How to add and harden a box

{{template "bottom" .}}{{end}}