diff --git a/src/cockpit/389-console/src/lib/replication/replTasks.jsx b/src/cockpit/389-console/src/lib/replication/replTasks.jsx
index 49135ff4f..99646ae3b 100644
--- a/src/cockpit/389-console/src/lib/replication/replTasks.jsx
+++ b/src/cockpit/389-console/src/lib/replication/replTasks.jsx
@@ -14,11 +14,7 @@ import {
TextContent,
TextVariants,
} from "@patternfly/react-core";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from "@patternfly/react-icons";
const _ = cockpit.gettext;
@@ -361,30 +357,30 @@ export class ReplRUV extends React.Component {
{_("Local RUV")}
- {
this.props.reload(this.props.suffix);
}}
- />
+ >
+
+
{localRUV}
{_("Remote RUV's")}
- {
this.props.reload(this.props.suffix);
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/accessLog.jsx b/src/cockpit/389-console/src/lib/server/accessLog.jsx
index 416fd8d9f..f2dd852c0 100644
--- a/src/cockpit/389-console/src/lib/server/accessLog.jsx
+++ b/src/cockpit/389-console/src/lib/server/accessLog.jsx
@@ -31,11 +31,7 @@ import {
Tbody,
Td,
} from '@patternfly/react-table';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from '@patternfly/react-icons';
import PropTypes from "prop-types";
const settings_attrs = [
@@ -884,15 +880,15 @@ export class ServerAccessLog extends React.Component {
{_("Access Log Settings")}
- {
this.refreshConfig();
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/auditLog.jsx b/src/cockpit/389-console/src/lib/server/auditLog.jsx
index f29068930..cabf0c362 100644
--- a/src/cockpit/389-console/src/lib/server/auditLog.jsx
+++ b/src/cockpit/389-console/src/lib/server/auditLog.jsx
@@ -27,11 +27,7 @@ import {
SelectVariant,
SelectOption
} from '@patternfly/react-core/deprecated';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from '@patternfly/react-icons';
import PropTypes from "prop-types";
const settings_attrs = [
@@ -906,15 +902,15 @@ export class ServerAuditLog extends React.Component {
{_("Audit Log Settings")}
- {
this.refreshConfig();
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/auditfailLog.jsx b/src/cockpit/389-console/src/lib/server/auditfailLog.jsx
index 5b29e54db..4ebf4cd6a 100644
--- a/src/cockpit/389-console/src/lib/server/auditfailLog.jsx
+++ b/src/cockpit/389-console/src/lib/server/auditfailLog.jsx
@@ -21,11 +21,7 @@ import {
TextVariants,
TimePicker,
} from "@patternfly/react-core";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from '@patternfly/react-icons';
import PropTypes from "prop-types";
const settings_attrs = [
@@ -713,15 +709,15 @@ export class ServerAuditFailLog extends React.Component {
{_("Audit Fail Log Settings")}
- {
this.refreshConfig();
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/errorLog.jsx b/src/cockpit/389-console/src/lib/server/errorLog.jsx
index 4e5216e33..61ca26bdf 100644
--- a/src/cockpit/389-console/src/lib/server/errorLog.jsx
+++ b/src/cockpit/389-console/src/lib/server/errorLog.jsx
@@ -31,11 +31,7 @@ import {
Tbody,
Td
} from '@patternfly/react-table';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from '@patternfly/react-icons';
import PropTypes from "prop-types";
const settings_attrs = [
@@ -891,15 +887,15 @@ export class ServerErrorLog extends React.Component {
{_("Error Log Settings")}
- {
this.handleRefreshConfig();
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/ldapi.jsx b/src/cockpit/389-console/src/lib/server/ldapi.jsx
index 8781818f7..59970fdd0 100644
--- a/src/cockpit/389-console/src/lib/server/ldapi.jsx
+++ b/src/cockpit/389-console/src/lib/server/ldapi.jsx
@@ -18,11 +18,7 @@ import {
SelectOption,
SelectVariant
} from '@patternfly/react-core/deprecated';
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from "@patternfly/react-icons";
import PropTypes from "prop-types";
const ldapi_attrs = [
@@ -409,13 +405,13 @@ export class ServerLDAPI extends React.Component {
{_("LDAPI & AutoBind Settings")}
-
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/sasl.jsx b/src/cockpit/389-console/src/lib/server/sasl.jsx
index a4478498a..6d95d66ef 100644
--- a/src/cockpit/389-console/src/lib/server/sasl.jsx
+++ b/src/cockpit/389-console/src/lib/server/sasl.jsx
@@ -21,11 +21,7 @@ import {
} from '@patternfly/react-core/deprecated';
import { SASLTable } from "./serverTables.jsx";
import { SASLMappingModal } from "./serverModals.jsx";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from "@patternfly/react-icons";
const _ = cockpit.gettext;
@@ -628,13 +624,13 @@ export class ServerSASL extends React.Component {
{_("SASL Settings")}
-
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/securityLog.jsx b/src/cockpit/389-console/src/lib/server/securityLog.jsx
index 6cf7e8c0f..4b8cc55d3 100644
--- a/src/cockpit/389-console/src/lib/server/securityLog.jsx
+++ b/src/cockpit/389-console/src/lib/server/securityLog.jsx
@@ -4,7 +4,6 @@ import { log_cmd } from "../tools.jsx";
import {
Button,
Checkbox,
- ExpandableSection,
Form,
FormGroup,
FormSelect,
@@ -23,11 +22,7 @@ import {
TextVariants,
TimePicker,
} from "@patternfly/react-core";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faSyncAlt
-} from '@fortawesome/free-solid-svg-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
+import { SyncAltIcon } from '@patternfly/react-icons';
import PropTypes from "prop-types";
const _ = cockpit.gettext;
@@ -593,6 +588,7 @@ export class ServerSecurityLog extends React.Component {
id="nsslapd-securitylog-compress"
isChecked={this.state['nsslapd-securitylog-compress']}
onChange={(_event, value) => this.handleSwitchChange(value)}
+ aria-label="nsslapd-securitylog-compress"
/>
@@ -736,15 +732,15 @@ export class ServerSecurityLog extends React.Component {
{_("Security Log Settings")}
- {
this.refreshConfig();
}}
- />
+ >
+
+
diff --git a/src/cockpit/389-console/src/lib/server/settings.jsx b/src/cockpit/389-console/src/lib/server/settings.jsx
index 0e0c2fd21..f6432ecd4 100644
--- a/src/cockpit/389-console/src/lib/server/settings.jsx
+++ b/src/cockpit/389-console/src/lib/server/settings.jsx
@@ -29,7 +29,6 @@ import {
SelectVariant
} from '@patternfly/react-core/deprecated';
import { SyncAltIcon } from '@patternfly/react-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
import PropTypes from "prop-types";
const general_attrs = [
diff --git a/src/cockpit/389-console/src/lib/server/tuning.jsx b/src/cockpit/389-console/src/lib/server/tuning.jsx
index 5a4eccf84..489c520b5 100644
--- a/src/cockpit/389-console/src/lib/server/tuning.jsx
+++ b/src/cockpit/389-console/src/lib/server/tuning.jsx
@@ -16,7 +16,6 @@ import {
} from "@patternfly/react-core";
import PropTypes from "prop-types";
import { SyncAltIcon } from '@patternfly/react-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
const tuning_attrs = [
'nsslapd-ndn-cache-enabled',
diff --git a/src/cockpit/389-console/src/monitor.jsx b/src/cockpit/389-console/src/monitor.jsx
index c6d72b7d4..d4ee265ed 100644
--- a/src/cockpit/389-console/src/monitor.jsx
+++ b/src/cockpit/389-console/src/monitor.jsx
@@ -23,13 +23,7 @@ import {
TextContent,
TextVariants,
} from "@patternfly/react-core";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faBook,
- faLeaf,
- faLink,
- faTree,
-} from '@fortawesome/free-solid-svg-icons';
+import { BookIcon, TreeIcon, LeafIcon, LinkIcon } from '@patternfly/react-icons';
import {
CatalogIcon,
ClusterIcon,
@@ -132,11 +126,11 @@ export class Monitor extends React.Component {
processTree(suffixData) {
for (const suffix of suffixData) {
if (suffix.type === "suffix") {
- suffix.icon = ;
+ suffix.icon = ;
} else if (suffix.type === "subsuffix") {
- suffix.icon = ;
+ suffix.icon = ;
} else {
- suffix.icon = ;
+ suffix.icon = ;
}
if (suffix.children.length === 0) {
delete suffix.children;
@@ -150,7 +144,7 @@ export class Monitor extends React.Component {
for (const suffix of this.state.replicatedSuffixes) {
suffixTree.push({
name: suffix,
- icon: ,
+ icon: ,
id: "replication-suffix-" + suffix,
type: "replication-suffix",
defaultExpanded: false,
@@ -242,31 +236,31 @@ export class Monitor extends React.Component {
children: [
{
name: _("Access Log"),
- icon: ,
+ icon: ,
id: "access-log-monitor",
type: "log",
},
{
name: _("Audit Log"),
- icon: ,
+ icon: ,
id: "audit-log-monitor",
type: "log",
},
{
name: _("Audit Failure Log"),
- icon: ,
+ icon: ,
id: "auditfail-log-monitor",
type: "log",
},
{
name: _("Errors Log"),
- icon: ,
+ icon: ,
id: "error-log-monitor",
type: "log",
},
{
name: _("Security Log"),
- icon: ,
+ icon: ,
id: "security-log-monitor",
type: "log",
},
diff --git a/src/cockpit/389-console/src/replication.jsx b/src/cockpit/389-console/src/replication.jsx
index 4c84a8003..581e2b759 100644
--- a/src/cockpit/389-console/src/replication.jsx
+++ b/src/cockpit/389-console/src/replication.jsx
@@ -10,12 +10,7 @@ import {
TextContent,
TextVariants,
} from "@patternfly/react-core";
-import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import {
- faClone,
- faTree,
- faLeaf,
-} from '@fortawesome/free-solid-svg-icons';
+import { TreeIcon, LeafIcon, CloneIcon } from '@patternfly/react-icons';
import {
TopologyIcon
} from '@patternfly/react-icons';
@@ -157,7 +152,7 @@ export class Replication extends React.Component {
treeBranch.splice(sub, 1);
continue;
} else if (treeBranch[sub].replicated) {
- treeBranch[sub].icon = ;
+ treeBranch[sub].icon = ;
treeBranch[sub].replicated = true;
}
if (treeBranch[sub].children.length === 0) {
@@ -194,9 +189,9 @@ export class Replication extends React.Component {
treeData = JSON.parse(content);
for (const suffix of treeData) {
if (suffix.type === "suffix") {
- suffix.icon = ;
+ suffix.icon = ;
} else if (suffix.type === "subsuffix") {
- suffix.icon = ;
+ suffix.icon = ;
}
if (suffix.children.length === 0) {
delete suffix.children;
@@ -219,7 +214,7 @@ export class Replication extends React.Component {
let found = false;
for (let i = 0; i < treeData.length; i++) {
if (treeData[i].replicated) {
- treeData[i].icon = ;
+ treeData[i].icon = ;
replicated = true;
if (!found) {
// Load the first replicated suffix we find
@@ -255,7 +250,7 @@ export class Replication extends React.Component {
replicated = suffix.replicated;
}
if (suffix.replicated) {
- suffix.icon = ;
+ suffix.icon = ;
}
}
this.loadReplSuffix(current_node);
diff --git a/src/cockpit/389-console/src/security.jsx b/src/cockpit/389-console/src/security.jsx
index cb622d927..9d974be30 100644
--- a/src/cockpit/389-console/src/security.jsx
+++ b/src/cockpit/389-console/src/security.jsx
@@ -28,7 +28,6 @@ import {
} from '@patternfly/react-core/deprecated';
import PropTypes from "prop-types";
import { SyncAltIcon } from '@patternfly/react-icons';
-import '@fortawesome/fontawesome-svg-core/styles.css';
const _ = cockpit.gettext;