From f736e53f1439d077944f0f6abf9f11c9238951c5 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 2 Aug 2024 11:56:47 +0200 Subject: [PATCH 01/11] fix icmp definition --- client/src/definitions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/definitions.ts b/client/src/definitions.ts index 138fab7..81d0d3d 100644 --- a/client/src/definitions.ts +++ b/client/src/definitions.ts @@ -249,7 +249,7 @@ export const editTypes: { [key: string]: { [key: string]: any } } = { 'icmp': { display: 'ICMP', fields: { - icmp_code: { is: 'NumberBox', label: 'ICMP Code' }, + code: { is: 'NumberBox', label: 'ICMP Code' }, }, }, 'group': { @@ -362,4 +362,4 @@ export const editTypes: { [key: string]: { [key: string]: any } } = { }, }, }, -}; \ No newline at end of file +}; From 6019025df228b86e1e8dffa94eb75eb485f848bf Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 2 Aug 2024 11:57:50 +0200 Subject: [PATCH 02/11] move atPath to util, set child component props --- client/src/components/display/NiceTable.vue | 15 +++++---------- client/src/util.ts | 6 ++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/client/src/components/display/NiceTable.vue b/client/src/components/display/NiceTable.vue index 4100b00..f7e930f 100644 --- a/client/src/components/display/NiceTable.vue +++ b/client/src/components/display/NiceTable.vue @@ -1,7 +1,7 @@ + From c168fb1a6049ba778d8844ccbdc65b31c5d6a87a Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 2 Aug 2024 12:00:15 +0200 Subject: [PATCH 04/11] Implement PortServiceDisplay --- .../components/display/PortServiceDisplay.vue | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 client/src/components/display/PortServiceDisplay.vue diff --git a/client/src/components/display/PortServiceDisplay.vue b/client/src/components/display/PortServiceDisplay.vue new file mode 100644 index 0000000..759259b --- /dev/null +++ b/client/src/components/display/PortServiceDisplay.vue @@ -0,0 +1,33 @@ + + From 3c4941673276aa6e325734d057936f5adaf0d126 Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Fri, 2 Aug 2024 12:00:52 +0200 Subject: [PATCH 05/11] Use new Components in addresses list --- client/src/pages/object/addresses.vue | 38 +++++++++------------------ 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/client/src/pages/object/addresses.vue b/client/src/pages/object/addresses.vue index 894909a..a4c18bc 100644 --- a/client/src/pages/object/addresses.vue +++ b/client/src/pages/object/addresses.vue @@ -1,17 +1,27 @@ - -