{{define "iface-detail.html"}}
{{template "base" .}}
{{end}}
{{define "content"}}
| Name | {{.Name}} |
| Type | {{.Type}} |
| Index | {{.IfIndex}} |
| Status |
{{.Status}} |
{{if .PhysAddr}}| MAC Address | {{.PhysAddr}} |
{{end}}
{{if .MTU}}| MTU | {{.MTU}} |
{{end}}
{{if .Speed}}| Speed | {{.Speed}} |
{{end}}
{{if .Duplex}}| Duplex | {{.Duplex}} |
{{end}}
{{if .AutoNeg}}| Auto-negotiation | {{.AutoNeg}} |
{{end}}
{{if .WiFiMode}}| Mode | {{.WiFiMode}} |
{{end}}
{{if .WiFiSSID}}| SSID | {{.WiFiSSID}} |
{{end}}
{{if .WiFiSignal}}| Signal | {{.WiFiSignal}} |
{{end}}
{{if .WiFiRxSpeed}}| RX Speed | {{.WiFiRxSpeed}} |
{{end}}
{{if .WiFiTxSpeed}}| TX Speed | {{.WiFiTxSpeed}} |
{{end}}
{{if .WiFiStationCount}}| Connected Stations | {{.WiFiStationCount}} |
{{end}}
{{if .WGPeerSummary}}| Peers | {{.WGPeerSummary}} |
{{end}}
{{if .Addresses}}
Addresses
{{range .Addresses}}
| {{.Address}}{{if .Origin}} ({{.Origin}}){{end}} |
{{end}}
{{end}}
{{template "iface-counters" .}}
{{if .WiFiStations}}
| MAC |
Signal |
Time |
RX Pkts |
TX Pkts |
RX Bytes |
TX Bytes |
RX Speed |
TX Speed |
{{range .WiFiStations}}
| {{.MAC}} |
{{if .Signal}}{{.Signal}}{{end}} |
{{.Time}} |
{{.RxPkts}} |
{{.TxPkts}} |
{{.RxBytes}} |
{{.TxBytes}} |
{{.RxSpeed}} |
{{.TxSpeed}} |
{{end}}
{{end}}
{{if .ScanResults}}
| SSID |
BSSID |
Signal |
Channel |
Security |
{{range .ScanResults}}
| {{if .SSID}}{{.SSID}}{{else}}Hidden{{end}} |
{{.BSSID}} |
{{if .Signal}}{{.Signal}}{{end}} |
{{.Channel}} |
{{.Encryption}} |
{{end}}
{{end}}
{{if .WGPeers}}
{{range .WGPeers}}
| Public Key | {{.PublicKey}} |
| Status |
{{.Status}} |
{{if .Endpoint}}| Endpoint | {{.Endpoint}} |
{{end}}
{{if .Handshake}}| Latest Handshake | {{.Handshake}} |
{{end}}
{{if .TxBytes}}| Transfer TX | {{.TxBytes}} |
{{end}}
{{if .RxBytes}}| Transfer RX | {{.RxBytes}} |
{{end}}
{{end}}
{{end}}
{{if .EthFrameStats}}
{{range .EthFrameStats}}
- {{.Key}}
- {{.Value}}
{{end}}
{{end}}
{{end}}