From 041f71c2f56f326b691bd7b678065fc6c74eed45 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Sep 09 2019 20:36:20 +0000 Subject: Issue 50546 - fix more UI issues Description: In schema.js do not reset "ds-input" class's border. In FF it makes all the field ugly. Also fixed the plugin forms to be nicer and easier to read relates: https://pagure.io/389-ds-base/issue/50546 Reviewed by: mreynolds (one line commit rule) --- diff --git a/src/cockpit/389-console/src/lib/plugins/pluginBasicConfig.jsx b/src/cockpit/389-console/src/lib/plugins/pluginBasicConfig.jsx index ae97dca..b0e4a21 100644 --- a/src/cockpit/389-console/src/lib/plugins/pluginBasicConfig.jsx +++ b/src/cockpit/389-console/src/lib/plugins/pluginBasicConfig.jsx @@ -186,7 +186,7 @@ class PluginBasicConfig extends React.Component {
- +

{this.props.pluginName} @@ -216,6 +216,7 @@ class PluginBasicConfig extends React.Component { )} +

{this.props.children} diff --git a/src/cockpit/389-console/src/schema.js b/src/cockpit/389-console/src/schema.js index 618c555..ea6159b 100644 --- a/src/cockpit/389-console/src/schema.js +++ b/src/cockpit/389-console/src/schema.js @@ -76,7 +76,6 @@ function clear_oc_form() { $(".ds-modal-error").hide(); $("#oc-name").attr('disabled', false); $("#oc-name").val(""); - $(".ds-input").css("border-color", "initial"); $("#oc-oid").val(""); $("#oc-kind").prop('selectedIndex',0); $("#oc-desc").val(""); @@ -93,7 +92,6 @@ function clear_attr_form() { $(".ds-modal-error").hide(); $("#attr-name").attr('disabled', false); $("#attr-name").val(""); - $(".ds-input").css("border-color", "initial"); $("#attr-syntax").val(""); $("#attr-desc").val(""); $("#attr-parent").prop('selectedIndex',0);