From b5b42e6807f2da28c03fcd99bb03bee8aa38baca Mon Sep 17 00:00:00 2001 From: David Cruciani Date: Mon, 26 Feb 2024 14:52:30 +0100 Subject: [PATCH] chg: [website] module select when select 'ip' select 'ip-dst' and 'ip-src' too --- website/app/static/css/core.css | 5 ++++- website/app/templates/home.html | 11 +++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/website/app/static/css/core.css b/website/app/static/css/core.css index 7da1b98..8444440 100644 --- a/website/app/static/css/core.css +++ b/website/app/static/css/core.css @@ -6,7 +6,10 @@ body { background-color: #fbfbfb; } - +main + { + overflow-x: auto; + } span#goTop{ position: fixed; right: 1em; diff --git a/website/app/templates/home.html b/website/app/templates/home.html index e952fb1..f80d4fe 100644 --- a/website/app/templates/home.html +++ b/website/app/templates/home.html @@ -48,7 +48,7 @@

Modules

@@ -232,7 +232,14 @@ } function checked_attr(arr1){ - return arr1.includes(attr_selected.value) + let loc = arr1.includes(attr_selected.value) + if(!loc && attr_selected.value == 'ip'){ + loc = arr1.includes('ip-dst') + if(!loc && attr_selected.value == 'ip'){ + loc = arr1.includes('ip-src') + } + } + return loc }