{{ define "admin-ports" }} {{ template "head" . }}
{{ template "admin-port-list-content" . }} {{ template "resources" }} {{ end }} {{ define "admin-port-list-content" }} {{ template "nav-sidebar" . }}Tunnel | Port | Address | Allocated At | Actions |
---|---|---|---|---|
No ports allocated |
||||
{{ if ne $port.Tun.Name "unnamed" }}{{ $port.Tun.Name }} {{ end }} {{ $port.Tun.Hostname }} |
{{ $port.Port.Port }} | {{ if $port.Tun.Address }} {{ $port.Tun.Address }} {{ else }} {{ end }} | {{ if $port.Port.Created.IsZero }} {{ else }}{{ $port.Port.Created.Format "Jan 2, 2006 15:04" }}{{ end }} |