2020-10-15 05:50:47 +00:00
|
|
|
import {
|
|
|
|
Card,
|
|
|
|
CardTitle,
|
|
|
|
Gallery,
|
|
|
|
PageSection,
|
|
|
|
Split,
|
|
|
|
SplitItem,
|
|
|
|
Text,
|
|
|
|
TextContent,
|
|
|
|
TextVariants,
|
|
|
|
} from "@patternfly/react-core";
|
|
|
|
import { DatabaseIcon } from "@patternfly/react-icons";
|
|
|
|
import { useTranslation } from "react-i18next";
|
2020-09-09 09:07:17 +00:00
|
|
|
import React from "react";
|
2020-10-15 05:50:47 +00:00
|
|
|
import { ViewHeader } from "../components/view-header/ViewHeader";
|
2020-09-09 09:07:17 +00:00
|
|
|
|
2020-09-10 18:04:03 +00:00
|
|
|
export const UserFederationSection = () => {
|
2020-10-15 05:50:47 +00:00
|
|
|
const { t } = useTranslation("user-federation");
|
|
|
|
const linkArgs = {
|
|
|
|
title: t("common:learnMore"),
|
|
|
|
href: "http://google.com",
|
|
|
|
};
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<ViewHeader
|
|
|
|
titleKey="user-federation:userFederation"
|
|
|
|
subKey={"user-federation:descriptionLanding"}
|
|
|
|
subKeyLinkProps={linkArgs}
|
|
|
|
/>
|
|
|
|
<PageSection>
|
|
|
|
<TextContent>
|
|
|
|
<Text component={TextVariants.p}>
|
|
|
|
{t("userFederationExplanation")}
|
|
|
|
</Text>
|
|
|
|
<Text component={TextVariants.p}>{t("getStarted")}</Text>
|
|
|
|
</TextContent>
|
|
|
|
</PageSection>
|
|
|
|
<PageSection isFilled>
|
|
|
|
<TextContent>
|
|
|
|
<Text component={TextVariants.h2}>{t("providers")}</Text>
|
|
|
|
</TextContent>
|
|
|
|
<hr className="pf-u-mb-lg" />
|
|
|
|
<Gallery hasGutter>
|
|
|
|
<Card isHoverable>
|
|
|
|
<CardTitle>
|
|
|
|
<Split hasGutter>
|
|
|
|
<SplitItem>
|
|
|
|
<DatabaseIcon size="lg" />
|
|
|
|
</SplitItem>
|
|
|
|
<SplitItem isFilled>{t("addKerberos")}</SplitItem>
|
|
|
|
</Split>
|
|
|
|
</CardTitle>
|
|
|
|
</Card>
|
|
|
|
<Card isHoverable>
|
|
|
|
<CardTitle>
|
|
|
|
<Split hasGutter>
|
|
|
|
<SplitItem>
|
|
|
|
<DatabaseIcon size="lg" />
|
|
|
|
</SplitItem>
|
|
|
|
<SplitItem isFilled>{t("addLdap")}</SplitItem>
|
|
|
|
</Split>
|
|
|
|
</CardTitle>
|
|
|
|
</Card>
|
|
|
|
</Gallery>
|
|
|
|
</PageSection>
|
|
|
|
</>
|
|
|
|
);
|
2020-09-09 09:07:17 +00:00
|
|
|
};
|