diff --git a/portal-ui/src/screens/Console/License/License.tsx b/portal-ui/src/screens/Console/License/License.tsx index 298054489..55268b76c 100644 --- a/portal-ui/src/screens/Console/License/License.tsx +++ b/portal-ui/src/screens/Console/License/License.tsx @@ -24,7 +24,7 @@ import { SubnetInfo } from "./types"; import { containerForHeader } from "../Common/FormComponents/common/styleLibrary"; import PageHeader from "../Common/PageHeader/PageHeader"; import api from "../../../common/api"; -import { ArrowRightLink, HelpIconFilled, LoginMinIOLogo } from "../../../icons"; +import { ArrowRightLink, LoginMinIOLogo } from "../../../icons"; import { IAM_PAGES } from "../../../common/SecureComponent/permissions"; import LicensePlans from "./LicensePlans"; import { Link } from "react-router-dom"; @@ -216,11 +216,7 @@ const License = () => { border: "1px solid #eaeaea", display: "flex", alignItems: "center", - justifyContent: "center", - flexFlow: { - sm: "row", - xs: "column", - }, + justifyContent: "flex-end", }} > { -
- - - - Choosing between GNU AGPL v3 and Commercial License - - -
- - If you are building proprietary applications, you may want to - choose the commercial license included as part of the Standard - and Enterprise subscription plans. Applications must otherwise - comply with all the GNU AGPLv3 License & Trademark obligations. - Follow the links below to learn more about the compliance - policy. - - -
  • - - Learn more about GNU AGPL v3 - -
  • -
  • - - MinIO Trademark Compliance - -
  • -
    -
    -
    - By using this software, you acknowledge that MinIO software is - licensed under the GNU AGPL v3, for which, the full text can be found - here:{" "} + licensed under the , for which, the full text can be + found here:{" "} . + +import React from "react"; +import { useSelector } from "react-redux"; +import { selOpMode } from "../../../systemSlice"; + +const LicenseLink = () => { + const isOperatorMode = useSelector(selOpMode); + + const refFrom = isOperatorMode ? "op" : "con"; + + return ( + + GNU AGPL v3 + + ); +}; +export default LicenseLink; diff --git a/portal-ui/src/screens/Console/License/LicensePlans.tsx b/portal-ui/src/screens/Console/License/LicensePlans.tsx index b1ce0f2f3..dde6a9c20 100644 --- a/portal-ui/src/screens/Console/License/LicensePlans.tsx +++ b/portal-ui/src/screens/Console/License/LicensePlans.tsx @@ -197,7 +197,9 @@ const PricingFeatureItem = (props: { return ( -
    {props.featureLabel}
    +
    + {getRenderValue(props.featureLabel || "")} +
    {getRenderValue(props.label || "")}
    {getRenderValue(props.detail)} @@ -232,6 +234,7 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => { const getCommunityPlanHeader = () => { return ( { const getStandardPlanHeader = () => { return ( { const getEnterpriseHeader = () => { return ( { textAlign: "center", "@media (max-width: 600px)": { - display: "flex", - flexFlow: "row", - alignItems: "center", - justifyContent: "space-between", + justifyContent: "space-evenly", width: "100%", "& .xs-only": { display: "block", - flex: 1, }, "& .plan-feature": { - flex: 1, textAlign: "center", paddingRight: "10px", }, @@ -680,7 +680,7 @@ const LicensePlans = ({ licenseInfo, operatorMode }: IRegisterStatus) => { if (yesIcon) { return ( - +
    diff --git a/portal-ui/src/screens/Console/License/utils.tsx b/portal-ui/src/screens/Console/License/utils.tsx index c17c361ba..6cb95c86c 100644 --- a/portal-ui/src/screens/Console/License/utils.tsx +++ b/portal-ui/src/screens/Console/License/utils.tsx @@ -15,6 +15,7 @@ // along with this program. If not, see . import { Box } from "@mui/material"; +import LicenseLink from "./LicenseLink"; export const LICENSE_PLANS = { COMMUNITY: "community", @@ -130,13 +131,13 @@ export const COMMUNITY_PLAN_FEATURES = [ > Designed for developers who are building open source applications in - compliance with the GNU AGPL v3 license and are able to support - themselves. It is fully featured. If you distribute, host or create - derivative works of the MinIO software over the network, the GNU - AGPL v3 license requires that you also distribute the complete, - corresponding source code of the combined work under the same GNU - AGPL v3 license. This requirement applies whether or not you - modified MinIO. + compliance with the license, MinIO Trademarks and + are able to self support themselves. It is fully featured. If you + distribute, host or create derivative works of the MinIO software + over the network, the license requires that you also + distribute the complete, corresponding source code of the combined + work under the same license. This requirement + applies whether or not you modified MinIO. );