From 8b2520f3fa34492a1cdfa6f1a60c202578dcba49 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sun, 2 Feb 2025 00:58:10 +1300 Subject: [PATCH] refactor interface section dropdown to a custom expanding section header component --- .../interfaces/AddInterfacePage.vue | 63 +++++++++---------- .../interfaces/ExpandingSectionHeader.vue | 21 +++++++ 2 files changed, 50 insertions(+), 34 deletions(-) create mode 100644 src/frontend/components/interfaces/ExpandingSectionHeader.vue diff --git a/src/frontend/components/interfaces/AddInterfacePage.vue b/src/frontend/components/interfaces/AddInterfacePage.vue index e3af836..aaa2833 100644 --- a/src/frontend/components/interfaces/AddInterfacePage.vue +++ b/src/frontend/components/interfaces/AddInterfacePage.vue @@ -98,12 +98,9 @@
- -
- Additional AutoInterface Settings - ▲ -
- + + Additional AutoInterface Settings +

ⓘ These settings are optional

@@ -193,10 +190,9 @@
-
- Additional TCP Client Interface settings - ▲ -
+ + Additional TCP Client Interface settings +
@@ -229,10 +225,9 @@
-
- Additional Server Interface settings - ▲ -
+ + Additional Server Interface settings +
@@ -272,10 +267,9 @@
ⓘ To use the I2P interface, you must have an I2P router running on your system. When the I2P Interface is added for the first time Reticulum will generate a new I2P address for the interface and begin listening for inbound traffic.
-
- Manage Peers - ▲ -
+ + Manage Peers +
-
- Show on-air RNode bitrate & link budget - ▲ -
+ + + Show on-air RNode bitrate & link budget +
@@ -430,10 +424,9 @@
-
- Additional RNode Interface Settings - ▲ -
+ + Additional RNode Interface Settings +
@@ -492,10 +485,9 @@
-
- Manage RNode Subinterfaces - ▲ -
+ + Manage RNode Sub-Interfaces +
-
- Shared Interface Settings - ▲ -
+ + Shared Interface Settings +

ⓘ These settings are optional.

@@ -765,9 +756,13 @@ \ No newline at end of file