From 8e9f5647f6c860dae6edc040105e4ff9f8cf67f3 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Thu, 5 Aug 2021 13:29:08 +0200 Subject: [PATCH] UI: Hide description that messed up the list --- CHANGELOG.md | 6 ++++ .../configuration-components/UiSchema.js | 29 ++++++++++++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9888aa47..1a78318cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [Unreleased] + +### Fixed +- Misaligned buttons and input fields on exploiter and network configuration + pages. #1353 + ## [1.11.0] - 2021-08-13 ### Added - A runtime-configurable option to specify a data directory where runtime diff --git a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js index 38e7ad244..e0a12a8dc 100644 --- a/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js +++ b/monkey/monkey_island/cc/ui/src/components/configuration-components/UiSchema.js @@ -13,6 +13,18 @@ export default function UiSchema(props) { classNames: 'config-template-no-header', 'ui:widget': AdvancedMultiSelect } + }, + credentials: { + exploit_user_list: { + items: { + classNames: 'config-template-no-header' + } + }, + exploit_password_list: { + items: { + classNames: 'config-template-no-header' + } + } } }, basic_network: { @@ -21,8 +33,23 @@ export default function UiSchema(props) { info_box: { 'ui:field': InfoBox }, + blocked_ips: { + items: { + classNames: 'config-template-no-header' + } + }, subnet_scan_list: { - format: 'ip-list' + format: 'ip-list', + items: { + classNames: 'config-template-no-header' + } + } + }, + network_analysis: { + inaccessible_subnets: { + items: { + classNames: 'config-template-no-header' + } } } },