{{template "header.tpl" .}} {{template "main-navbar.tpl" .}}

Manage Team Sharing

Servers, and the users they are shared with

{{if gt (len .ServersToUsers) .UnsharedServersCount}} {{range .ServersToUsers}} {{if eq (len .Users) 0}} {{else if eq (len .Users) 1}}{{$user := index .Users 0}} {{else}} {{$nusers := len .Users}}{{$server := .Server}} {{range $uidx, $user := .Users}} {{if eq 0 $uidx}} {{end}} {{end}} {{end}} {{end}} {{else}} {{end}}
Server User Action
{{.Server}} {{$user}}
{{$server}}{{$user}}
(There are no shared servers.)

Users, and the servers they have access to

{{if .UsersToServers}} {{range .UsersToServers}} {{if eq (len .Servers) 1}}{{$server := index .Servers 0}} {{else if gt (len .Servers) 1}} {{$nservers := len .Servers}}{{$user := .User}} {{range $sidx, $server := .Servers}} {{if eq 0 $sidx}} {{end}} {{end}} {{end}} {{end}} {{else}} {{end}}
User Server Action
{{.User}} {{$server}}
{{$user}}{{$server}}
(There are no shared servers.)

Servers not shared with anyone

{{if .UnsharedServersCount}}
{{range .ServersToUsers}} {{if eq 0 (len .Users)}} {{end}} {{end}}
{{else}} (There are no unshared servers.) {{end}}

Bulk add and remove

access to these users:
for these servers:
{{if .AllServers}}
{{range .AllServers}}
{{end}}
{{else}}
(No servers have been setup yet.)
{{end}}
Quick Select:   Select All   Select None   Toggle Selection
{{template "footer-pre.tpl" .}} {{template "footer-post.tpl" .}}