diff --git a/src/frontend/components/interfaces/Interface.vue b/src/frontend/components/interfaces/Interface.vue new file mode 100644 index 0000000..5d5ddf4 --- /dev/null +++ b/src/frontend/components/interfaces/Interface.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + {{ iface._stats.ifac_size * 8 }}-bit IFAC with sig <{{ iface._stats.ifac_signature.slice(0, 6) }}...{{ iface._stats.ifac_signature.slice(-6) }}> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ iface._name }} + + + + + {{ iface.type }} • Ethernet and WiFi + + + + + {{ iface.type }} • {{ iface.target_host }}:{{ iface.target_port }} + + + + + {{ iface.type }} • {{ iface.listen_ip }}:{{ iface.listen_port }} + + + + + {{ iface.type }} • {{ iface.listen_ip }}:{{ iface.listen_port }} • {{ iface.forward_ip }}:{{ iface.forward_port }} + + + + + {{ iface.type }} • {{ iface.port }} • freq={{ iface.frequency }} • bw={{ iface.bandwidth }} • power={{ iface.txpower }}dBm • sf={{ iface.spreadingfactor }} • cr={{ iface.codingrate }} + + + + + {{ iface.type ?? 'Unknown Interface Type' }} + + + + + + + + Enabled + Disabled + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Connected + Disconnected + + + • Bitrate: {{ formatBitsPerSecond(iface._stats?.bitrate ?? 0) }} + • TX: {{ formatBytes(iface._stats?.txb ?? 0) }} + • RX: {{ formatBytes(iface._stats?.rxb ?? 0) }} + + + + + + + diff --git a/src/frontend/components/interfaces/InterfacesPage.vue b/src/frontend/components/interfaces/InterfacesPage.vue index 6cf1e3e..852ec5c 100644 --- a/src/frontend/components/interfaces/InterfacesPage.vue +++ b/src/frontend/components/interfaces/InterfacesPage.vue @@ -26,150 +26,25 @@ - -