From 5b48d25d22efa218baccc841d865b87e5d527743 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 17 Nov 2024 23:07:57 +1300 Subject: [PATCH] refactor nodes ui to node list item --- src/components/nodes/NodeListItem.vue | 82 +++++++++++++++++++++++++++ src/components/nodes/NodesList.vue | 68 ++-------------------- 2 files changed, 87 insertions(+), 63 deletions(-) create mode 100644 src/components/nodes/NodeListItem.vue diff --git a/src/components/nodes/NodeListItem.vue b/src/components/nodes/NodeListItem.vue new file mode 100644 index 0000000..8f0b506 --- /dev/null +++ b/src/components/nodes/NodeListItem.vue @@ -0,0 +1,82 @@ + + + diff --git a/src/components/nodes/NodesList.vue b/src/components/nodes/NodesList.vue index 3c3dd26..d3321a2 100644 --- a/src/components/nodes/NodesList.vue +++ b/src/components/nodes/NodesList.vue @@ -8,55 +8,7 @@
-
- - - - - -
-
{{ getNodeLongName(node.num) }}
-
- - -
- You are connected to this node -
- - -
- - - - - - - - - - - - {{ formatUnixSecondsAgo(node.lastHeard) }} - - - - - - ??? - Direct - 1 Hop - {{ node.hopsAway }} Hops - - -
- -
-
- - - - -
+
@@ -64,23 +16,18 @@