From 2163a8af58075a827c2844bb6b222f816e9a1467 Mon Sep 17 00:00:00 2001 From: Peter Donker Date: Wed, 22 Jun 2022 19:55:22 +0200 Subject: [PATCH 1/2] Improve server screen UI --- .../src/components/Tabs/SmtpServer.jsx | 16 +++-- .../src/components/common/EditBlock.jsx | 63 +++++++++------- .../src/components/common/EditPwdBlock.jsx | 72 +++++++++++++++++++ .../src/components/common/style.less | 66 ++++++++++------- .../ServerSettingsSmtpHostController.cs | 54 ++++++++++---- .../App_LocalResources/Servers.resx | 5 +- 6 files changed, 203 insertions(+), 73 deletions(-) create mode 100644 Dnn.AdminExperience/ClientSide/Servers.Web/src/components/common/EditPwdBlock.jsx diff --git a/Dnn.AdminExperience/ClientSide/Servers.Web/src/components/Tabs/SmtpServer.jsx b/Dnn.AdminExperience/ClientSide/Servers.Web/src/components/Tabs/SmtpServer.jsx index 9068920e9e0..fdd4fac4d87 100644 --- a/Dnn.AdminExperience/ClientSide/Servers.Web/src/components/Tabs/SmtpServer.jsx +++ b/Dnn.AdminExperience/ClientSide/Servers.Web/src/components/Tabs/SmtpServer.jsx @@ -3,6 +3,7 @@ import PropTypes from "prop-types"; import { GridSystem, Button } from "@dnnsoftware/dnn-react-common"; import RadioButtonBlock from "../common/RadioButtonBlock"; import EditBlock from "../common/EditBlock"; +import EditPwdBlock from "../common/EditPwdBlock"; import SwitchBlock from "../common/SwitchBlock"; import localization from "../../localization"; import { connect } from "react-redux"; @@ -159,7 +160,9 @@ class SmtpServer extends Component { return (
-
{localization.get("NonCoreMailProvider")}
+
+ {localization.get("NonCoreMailProvider")} +
); @@ -241,7 +244,7 @@ class SmtpServer extends Component { )} {smtpSettingsVisible && credentialVisible && ( -
+
- + props.onChangeSmtpConfigurationValue("smtpPassword", "") + } error={props.errors["smtpPassword"]} />
)} {smtpSettingsVisible && ( -
+
-