From 9e5f65c55ffe9c5620a1318a05c48989e2441c5c Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 31 May 2024 11:47:21 +1200 Subject: [PATCH] tidy up code for interface stats --- public/index.html | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/public/index.html b/public/index.html index 3f87dc6..26bb362 100644 --- a/public/index.html +++ b/public/index.html @@ -707,9 +707,10 @@ -
+
-
+ +
@@ -717,7 +718,7 @@
- {{ findInterfaceStats(interface_name)?.ifac_size * 8 }}-bit IFAC with sig <{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(0, 6) }}...{{ findInterfaceStats(interface_name)?.ifac_signature?.slice(-6) }}> + {{ iface._stats.ifac_size * 8 }}-bit IFAC with sig <{{ iface._stats.ifac_signature.slice(0, 6) }}...{{ iface._stats.ifac_signature.slice(-6) }}>
@@ -751,7 +752,7 @@
-
{{ interface_name }}
+
{{ iface._name }}
@@ -785,14 +786,14 @@
- -