diff --git a/portal-ui/src/index.tsx b/portal-ui/src/index.tsx
index 089dcafb5..b6e7d585c 100644
--- a/portal-ui/src/index.tsx
+++ b/portal-ui/src/index.tsx
@@ -45,6 +45,9 @@ const GlobalCss = withStyles({
".MuiButton-root": {
height: 38,
},
+ ".MuiButtonBase-root": {
+ textTransform: "capitalize",
+ },
".MuiButton-contained": {
fontSize: "14px",
textTransform: "capitalize",
diff --git a/portal-ui/src/screens/Console/Account/Account.tsx b/portal-ui/src/screens/Console/Account/Account.tsx
index fc41b282c..30a1e3218 100644
--- a/portal-ui/src/screens/Console/Account/Account.tsx
+++ b/portal-ui/src/screens/Console/Account/Account.tsx
@@ -257,7 +257,7 @@ const Account = ({
}
+ endIcon={}
onClick={() => {
setAddScreenOpen(true);
setSelectedServiceAccount(null);
diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx
index e00263178..150d5329d 100644
--- a/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx
+++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/AccessRulePanel.tsx
@@ -246,7 +246,7 @@ const AccessRule = ({
}
+ endIcon={}
component="label"
onClick={() => {
setAddAccessRuleOpen(true);
diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx
index d8f874fea..8e768ec5c 100644
--- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx
+++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketDetails.tsx
@@ -64,13 +64,11 @@ import {
S3_GET_BUCKET_POLICY,
S3_GET_LIFECYCLE_CONFIGURATION,
S3_GET_REPLICATION_CONFIGURATION,
- S3_LISTEN_BUCKET_NOTIFICATIONS,
S3_PUT_BUCKET_NOTIFICATIONS,
S3_PUT_LIFECYCLE_CONFIGURATION,
S3_PUT_REPLICATION_CONFIGURATION,
} from "../../../../types";
import { displayComponent } from "../../../../utils/permissions";
-import { ISessionResponse } from "../../types";
const styles = (theme: Theme) =>
createStyles({
@@ -383,6 +381,7 @@ const BucketDetails = ({
setBucketDetailsLoad(true);
}}
size="large"
+ variant={"contained"}
>
diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx
index 0f1645588..12cdc140d 100644
--- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx
+++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketEventsPanel.tsx
@@ -163,7 +163,7 @@ const BucketEventsPanel = ({
}
+ endIcon={}
size="medium"
onClick={() => {
setAddEventScreenOpen(true);
diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx
index 8f69e7bd1..c464096d9 100644
--- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx
+++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketLifecyclePanel.tsx
@@ -211,7 +211,7 @@ const BucketLifecyclePanel = ({
}
+ endIcon={}
size="medium"
onClick={() => {
setAddLifecycleOpen(true);
diff --git a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx
index 5f53ff1a6..0b318ac11 100644
--- a/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx
+++ b/portal-ui/src/screens/Console/Buckets/BucketDetails/BucketReplicationPanel.tsx
@@ -181,7 +181,7 @@ const BucketReplicationPanel = ({
}
+ endIcon={}
size="medium"
onClick={() => {
setOpenReplicationOpen(true);
diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/ListBuckets.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/ListBuckets.tsx
index 02cbe4ae7..0f08f6393 100644
--- a/portal-ui/src/screens/Console/Buckets/ListBuckets/ListBuckets.tsx
+++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/ListBuckets.tsx
@@ -29,7 +29,6 @@ import { addBucketOpen, addBucketReset } from "../actions";
import { setErrorSnackMessage } from "../../../../actions";
import {
containerForHeader,
- linkStyles,
searchField,
} from "../../Common/FormComponents/common/styleLibrary";
import { ErrorResponseHandler } from "../../../../common/types";
@@ -46,6 +45,7 @@ import InputAdornment from "@mui/material/InputAdornment";
import SearchIcon from "../../../../icons/SearchIcon";
import BoxIconButton from "../../Common/BoxIconButton";
import RefreshIcon from "../../../../icons/RefreshIcon";
+import AButton from "../../Common/AButton";
const styles = (theme: Theme) =>
createStyles({
@@ -131,7 +131,6 @@ const styles = (theme: Theme) =>
constrainedContainer: {
maxWidth: 1180,
},
- ...linkStyles(theme.palette.info.main),
});
interface IListBucketsProps {
@@ -438,14 +437,14 @@ const ListBuckets = ({
To get started,
-
+
+ refresh
}
/>
diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx
index e4cfe6a34..c7995c9ae 100644
--- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx
+++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ListObjects/ListObjects.tsx
@@ -45,17 +45,14 @@ import {
objectBrowserCommon,
searchField,
} from "../../../../Common/FormComponents/common/styleLibrary";
-import { Badge, Button, IconButton, Tooltip, Typography } from "@mui/material";
+import { Badge, Button, Tooltip, Typography } from "@mui/material";
import * as reactMoment from "react-moment";
import BrowserBreadcrumbs from "../../../../ObjectBrowser/BrowserBreadcrumbs";
import {
resetRewind,
setFileModeEnabled,
} from "../../../../ObjectBrowser/actions";
-import {
- ObjectBrowserReducer,
- Route,
-} from "../../../../ObjectBrowser/reducers";
+import { Route } from "../../../../ObjectBrowser/reducers";
import CreateFolderModal from "./CreateFolderModal";
import { download, extensionPreview, sortListObjects } from "../utils";
import {
@@ -99,15 +96,14 @@ import {
import ShareFile from "../ObjectDetails/ShareFile";
import { displayComponent } from "../../../../../../utils/permissions";
import {
- S3_DELETE_BUCKET,
S3_DELETE_OBJECT,
- S3_FORCE_DELETE_BUCKET,
S3_GET_OBJECT,
S3_LIST_BUCKET,
S3_PUT_OBJECT,
} from "../../../../../../types";
import { setBucketDetailsLoad, setBucketInfo } from "../../../actions";
import { AppState } from "../../../../../../store";
+import BoxIconButton from "../../../../Common/BoxIconButton";
const commonIcon = {
backgroundRepeat: "no-repeat",
@@ -1088,10 +1084,9 @@ const ListObjects = ({
{displayPutObject && (
- {
setCreateFolderOpen(true);
}}
@@ -1099,14 +1094,13 @@ const ListObjects = ({
size="large"
>
-
+
- {
if (fileUpload && fileUpload.current) {
fileUpload.current.click();
@@ -1116,7 +1110,7 @@ const ListObjects = ({
size="large"
>
-
+
- {
setRewindSelect(true);
}}
@@ -1148,22 +1141,22 @@ const ListObjects = ({
size="large"
>
-
+
- {
setLoading(true);
}}
disabled={rewindEnabled}
size="large"
+ variant={"contained"}
>
-
+
}
@@ -1195,7 +1188,7 @@ const ListObjects = ({
}
+ endIcon={}
onClick={() => {
setDeleteMultipleOpen(true);
}}
diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx
index 168c3690c..7f16bdb89 100644
--- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx
+++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ObjectDetails.tsx
@@ -77,7 +77,6 @@ import {
S3_GET_OBJECT_LEGAL_HOLD,
S3_GET_OBJECT_RETENTION,
S3_GET_OBJECT_TAGGING,
- S3_GET_REPLICATION_CONFIGURATION,
S3_PUT_OBJECT_LEGAL_HOLD,
S3_PUT_OBJECT_RETENTION,
S3_PUT_OBJECT_TAGGING,
@@ -94,6 +93,7 @@ import SearchIcon from "../../../../../../icons/SearchIcon";
import ObjectBrowserIcon from "../../../../../../icons/ObjectBrowserIcon";
import PreviewFileContent from "../Preview/PreviewFileContent";
import RestoreFileVersion from "./RestoreFileVersion";
+import BoxIconButton from "../../../../Common/BoxIconButton";
const styles = (theme: Theme) =>
createStyles({
@@ -643,7 +643,7 @@ const ObjectDetails = ({
actions={
- {
@@ -653,7 +653,7 @@ const ObjectDetails = ({
size="large"
>
-
+
{downloadingFiles.includes(
@@ -668,7 +668,7 @@ const ObjectDetails = ({
) : (
- {
@@ -678,13 +678,13 @@ const ObjectDetails = ({
size="large"
>
-
+
)}
{displayDeleteObject && (
- {
@@ -694,7 +694,7 @@ const ObjectDetails = ({
size="large"
>
-
+
)}
diff --git a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx
index 313f163ad..1e7a85d42 100644
--- a/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx
+++ b/portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/ShareFile.tsx
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see .
-import React, { useEffect, useState, Fragment } from "react";
+import React, { Fragment, useEffect, useState } from "react";
import get from "lodash/get";
import { connect } from "react-redux";
import { Theme } from "@mui/material/styles";
@@ -217,7 +217,7 @@ const ShareFile = ({
}
+ endIcon={}
onClick={() => {
setModalSnackMessage("Share URL Copied to clipboard");
}}
diff --git a/portal-ui/src/screens/Console/Common/AButton.tsx b/portal-ui/src/screens/Console/Common/AButton.tsx
new file mode 100644
index 000000000..485d00aa7
--- /dev/null
+++ b/portal-ui/src/screens/Console/Common/AButton.tsx
@@ -0,0 +1,50 @@
+// This file is part of MinIO Console Server
+// Copyright (c) 2021 MinIO, Inc.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+import React from "react";
+import { Theme } from "@mui/material/styles";
+import createStyles from "@mui/styles/createStyles";
+import withStyles from "@mui/styles/withStyles";
+import { IconButtonProps } from "@mui/material";
+
+const styles = (theme: Theme) =>
+ createStyles({
+ root: {
+ padding: 0,
+ margin: 0,
+ border: 0,
+ backgroundColor: "transparent",
+ textDecoration: "underline",
+ cursor: "pointer",
+ fontSize: "inherit",
+ color: theme.palette.info.main,
+ },
+ });
+
+interface IAButton extends IconButtonProps {
+ classes: any;
+ children: any;
+}
+
+const AButton = ({ classes, children, ...rest }: IAButton) => {
+ return (
+
+ );
+};
+
+export default withStyles(styles)(AButton);
diff --git a/portal-ui/src/screens/Console/Common/BoxIconButton.tsx b/portal-ui/src/screens/Console/Common/BoxIconButton.tsx
index ca63fd605..f965c2943 100644
--- a/portal-ui/src/screens/Console/Common/BoxIconButton.tsx
+++ b/portal-ui/src/screens/Console/Common/BoxIconButton.tsx
@@ -19,6 +19,7 @@ import { Theme } from "@mui/material/styles";
import createStyles from "@mui/styles/createStyles";
import withStyles from "@mui/styles/withStyles";
import { IconButton, IconButtonProps } from "@mui/material";
+import clsx from "clsx";
const styles = (theme: Theme) =>
createStyles({
@@ -26,7 +27,8 @@ const styles = (theme: Theme) =>
padding: 8,
marginLeft: 8,
borderWidth: 1,
- borderColor: theme.palette.primary.main,
+ borderColor: "#696969",
+ color: "#696969",
borderStyle: "solid",
borderRadius: 3,
"& .MuiSvgIcon-root": {
@@ -37,17 +39,46 @@ const styles = (theme: Theme) =>
borderRadius: 3,
opacity: 0.3,
},
+ "&:disabled": {
+ color: "#EBEBEB",
+ borderColor: "#EBEBEB",
+ },
+ },
+ contained: {
+ borderColor: theme.palette.primary.main,
+ background: theme.palette.primary.main,
+ color: "white",
+ "& .MuiTouchRipple-root span": {
+ backgroundColor: theme.palette.primary.dark,
+ borderRadius: 3,
+ opacity: 0.3,
+ },
+ "&:hover": {
+ backgroundColor: theme.palette.primary.light,
+ color: "#FFF",
+ },
},
});
interface IBoxIconButton extends IconButtonProps {
classes: any;
children: any;
+ variant?: "outlined" | "contained";
}
-const BoxIconButton = ({ classes, children, ...rest }: IBoxIconButton) => {
+const BoxIconButton = ({
+ classes,
+ children,
+ variant = "outlined",
+ ...rest
+}: IBoxIconButton) => {
return (
-
+
{children}
);
diff --git a/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts b/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
index e7610cad3..3ba159530 100644
--- a/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
+++ b/portal-ui/src/screens/Console/Common/FormComponents/common/styleLibrary.ts
@@ -965,13 +965,3 @@ export const commonDashboardInfocard = {
},
},
};
-
-export const linkStyles = (color: string) => ({
- link: {
- textDecoration: "underline",
- color,
- backgroundColor: "transparent",
- border: 0,
- cursor: "pointer",
- },
-});
diff --git a/portal-ui/src/screens/Console/Configurations/TiersConfiguration/ListTiersConfiguration.tsx b/portal-ui/src/screens/Console/Configurations/TiersConfiguration/ListTiersConfiguration.tsx
index 991e6f5ec..e8df7165e 100644
--- a/portal-ui/src/screens/Console/Configurations/TiersConfiguration/ListTiersConfiguration.tsx
+++ b/portal-ui/src/screens/Console/Configurations/TiersConfiguration/ListTiersConfiguration.tsx
@@ -27,7 +27,6 @@ import InputAdornment from "@mui/material/InputAdornment";
import {
actionsTray,
containerForHeader,
- linkStyles,
searchField,
settingsCommon,
typesSelection,
@@ -45,6 +44,7 @@ import SearchIcon from "../../../../icons/SearchIcon";
import PageHeader from "../../Common/PageHeader/PageHeader";
import HelpBox from "../../../../common/HelpBox";
import BoxIconButton from "../../Common/BoxIconButton";
+import AButton from "../../Common/AButton";
interface IListTiersConfig {
classes: any;
@@ -78,7 +78,6 @@ const styles = (theme: Theme) =>
...settingsCommon.customTitle,
marginTop: 0,
},
- ...linkStyles(theme.palette.info.main),
});
const ListTiersConfiguration = ({
@@ -224,10 +223,10 @@ const ListTiersConfiguration = ({
}
+ endIcon={}
onClick={addTier}
>
- Add a Tier
+ Add Tier
@@ -342,10 +341,7 @@ const ListTiersConfiguration = ({
To get started,{" "}
-
- .
+ Add A Tier.
}
/>
diff --git a/portal-ui/src/screens/Console/DirectCSI/DirectCSIDrives.tsx b/portal-ui/src/screens/Console/DirectCSI/DirectCSIDrives.tsx
index c7509f661..22e37ee87 100644
--- a/portal-ui/src/screens/Console/DirectCSI/DirectCSIDrives.tsx
+++ b/portal-ui/src/screens/Console/DirectCSI/DirectCSIDrives.tsx
@@ -281,7 +281,7 @@ const DirectCSIMain = ({
}
+ endIcon={}
disabled={checkedDrives.length <= 0 || notAvailable}
onClick={formatSelectedDrives}
>
@@ -290,7 +290,7 @@ const DirectCSIMain = ({
}
+ endIcon={}
onClick={formatAllDrives}
disabled={notAvailable}
>
diff --git a/portal-ui/src/screens/Console/Groups/Groups.tsx b/portal-ui/src/screens/Console/Groups/Groups.tsx
index 5d2617ba2..a3f7f5d0c 100644
--- a/portal-ui/src/screens/Console/Groups/Groups.tsx
+++ b/portal-ui/src/screens/Console/Groups/Groups.tsx
@@ -30,7 +30,6 @@ import { stringSort } from "../../../utils/sortFunctions";
import {
actionsTray,
containerForHeader,
- linkStyles,
searchField,
} from "../Common/FormComponents/common/styleLibrary";
import { ErrorResponseHandler } from "../../../common/types";
@@ -43,6 +42,7 @@ import PageHeader from "../Common/PageHeader/PageHeader";
import SearchIcon from "../../../icons/SearchIcon";
import HelpBox from "../../../common/HelpBox";
import history from "../../../history";
+import AButton from "../Common/AButton";
interface IGroupsProps {
classes: any;
@@ -85,7 +85,6 @@ const styles = (theme: Theme) =>
},
},
},
- ...linkStyles(theme.palette.info.main),
...actionsTray,
...searchField,
...containerForHeader(theme.spacing(4)),
@@ -212,7 +211,7 @@ const Groups = ({ classes, setErrorSnackMessage }: IGroupsProps) => {
}
+ endIcon={}
onClick={() => {
setSelectedGroup(null);
setGroupOpen(true);
@@ -288,15 +287,14 @@ const Groups = ({ classes, setErrorSnackMessage }: IGroupsProps) => {
To get started,{" "}
-
+
.
}
diff --git a/portal-ui/src/screens/Console/Groups/GroupsDetails.tsx b/portal-ui/src/screens/Console/Groups/GroupsDetails.tsx
index a8fb03c9c..376ac1cde 100644
--- a/portal-ui/src/screens/Console/Groups/GroupsDetails.tsx
+++ b/portal-ui/src/screens/Console/Groups/GroupsDetails.tsx
@@ -224,7 +224,7 @@ const GroupsDetails = ({ classes }: IGroupDetailsProps) => {
}
+ endIcon={}
size="medium"
onClick={() => {
setUsersOpen(true);
@@ -252,7 +252,7 @@ const GroupsDetails = ({ classes }: IGroupDetailsProps) => {
}
+ endIcon={}
size="medium"
onClick={() => {
setPolicyOpen(true);
diff --git a/portal-ui/src/screens/Console/NotificationEndpoints/ListNotificationEndpoints.tsx b/portal-ui/src/screens/Console/NotificationEndpoints/ListNotificationEndpoints.tsx
index a63837184..e3225519a 100644
--- a/portal-ui/src/screens/Console/NotificationEndpoints/ListNotificationEndpoints.tsx
+++ b/portal-ui/src/screens/Console/NotificationEndpoints/ListNotificationEndpoints.tsx
@@ -37,7 +37,6 @@ import { setErrorSnackMessage } from "../../../actions";
import {
actionsTray,
containerForHeader,
- linkStyles,
searchField,
settingsCommon,
} from "../Common/FormComponents/common/styleLibrary";
@@ -48,6 +47,7 @@ import SearchIcon from "../../../icons/SearchIcon";
import history from "../../../history";
import HelpBox from "../../../common/HelpBox";
import BoxIconButton from "../Common/BoxIconButton";
+import AButton from "../Common/AButton";
interface IListNotificationEndpoints {
classes: any;
@@ -75,7 +75,6 @@ const styles = (theme: Theme) =>
lambdaContainer: {
padding: "15px 0",
},
- ...linkStyles(theme.palette.info.main),
});
const ListNotificationEndpoints = ({
@@ -173,7 +172,7 @@ const ListNotificationEndpoints = ({
}
+ endIcon={}
onClick={() => {
history.push("/notification-endpoints/add");
}}
@@ -257,14 +256,13 @@ const ListNotificationEndpoints = ({
To get started,{" "}
-
+
.
}
diff --git a/portal-ui/src/screens/Console/Policies/ListPolicies.tsx b/portal-ui/src/screens/Console/Policies/ListPolicies.tsx
index f3088ce93..6ae241a57 100644
--- a/portal-ui/src/screens/Console/Policies/ListPolicies.tsx
+++ b/portal-ui/src/screens/Console/Policies/ListPolicies.tsx
@@ -202,7 +202,7 @@ const ListPolicies = ({ classes, setErrorSnackMessage }: IPoliciesProps) => {
}
+ endIcon={}
onClick={() => {
setAddScreenOpen(true);
setPolicyEdit(null);
diff --git a/portal-ui/src/screens/Console/Tenants/ListTenants/ListTenants.tsx b/portal-ui/src/screens/Console/Tenants/ListTenants/ListTenants.tsx
index 8345b0306..00732401e 100644
--- a/portal-ui/src/screens/Console/Tenants/ListTenants/ListTenants.tsx
+++ b/portal-ui/src/screens/Console/Tenants/ListTenants/ListTenants.tsx
@@ -29,7 +29,6 @@ import { NewServiceAccount } from "../../Common/CredentialsPrompt/types";
import {
actionsTray,
containerForHeader,
- linkStyles,
searchField,
} from "../../Common/FormComponents/common/styleLibrary";
import { setErrorSnackMessage } from "../../../../actions";
@@ -44,6 +43,7 @@ import PageHeader from "../../Common/PageHeader/PageHeader";
import TenantListItem from "./TenantListItem";
import HelpBox from "../../../../common/HelpBox";
import BoxIconButton from "../../Common/BoxIconButton";
+import AButton from "../../Common/AButton";
interface ITenantsList {
classes: any;
@@ -107,7 +107,6 @@ const styles = (theme: Theme) =>
paddingTop: 30,
paddingBottom: 30,
},
- ...linkStyles(theme.palette.info.main),
});
const ListTenants = ({ classes, setErrorSnackMessage }: ITenantsList) => {
@@ -300,14 +299,13 @@ const ListTenants = ({ classes, setErrorSnackMessage }: ITenantsList) => {
To get started,
-
+
}
/>
diff --git a/portal-ui/src/screens/Console/Tenants/TenantDetails/PoolsSummary.tsx b/portal-ui/src/screens/Console/Tenants/TenantDetails/PoolsSummary.tsx
index 8f196bac0..66c5caada 100644
--- a/portal-ui/src/screens/Console/Tenants/TenantDetails/PoolsSummary.tsx
+++ b/portal-ui/src/screens/Console/Tenants/TenantDetails/PoolsSummary.tsx
@@ -130,7 +130,7 @@ const PoolsSummary = ({
}
+ endIcon={}
onClick={() => {
setAddPool(true);
}}
diff --git a/portal-ui/src/screens/Console/Users/ListUsers.tsx b/portal-ui/src/screens/Console/Users/ListUsers.tsx
index 5de1ecd08..37c09f505 100644
--- a/portal-ui/src/screens/Console/Users/ListUsers.tsx
+++ b/portal-ui/src/screens/Console/Users/ListUsers.tsx
@@ -34,7 +34,6 @@ import { AddIcon, UsersIcon } from "../../../icons";
import {
actionsTray,
containerForHeader,
- linkStyles,
searchField,
} from "../Common/FormComponents/common/styleLibrary";
import { setErrorSnackMessage } from "../../../actions";
@@ -48,6 +47,7 @@ import PageHeader from "../Common/PageHeader/PageHeader";
import SearchIcon from "../../../icons/SearchIcon";
import { decodeFileName } from "../../../common/utils";
import HelpBox from "../../../common/HelpBox";
+import AButton from "../Common/AButton";
const styles = (theme: Theme) =>
createStyles({
@@ -87,7 +87,6 @@ const styles = (theme: Theme) =>
...actionsTray,
...searchField,
...containerForHeader(theme.spacing(4)),
- ...linkStyles(theme.palette.info.main),
});
interface IUsersProps {
@@ -253,7 +252,7 @@ const ListUsers = ({ classes, setErrorSnackMessage, history }: IUsersProps) => {
}
+ endIcon={}
disabled={checkedUsers.length <= 0}
onClick={() => {
if (checkedUsers.length > 0) {
@@ -266,7 +265,7 @@ const ListUsers = ({ classes, setErrorSnackMessage, history }: IUsersProps) => {
}
+ endIcon={}
onClick={() => {
setAddScreenOpen(true);
setSelectedUser(null);
@@ -358,15 +357,14 @@ const ListUsers = ({ classes, setErrorSnackMessage, history }: IUsersProps) => {
To get started,{" "}
-
+
.
}
diff --git a/portal-ui/src/screens/Console/Users/UserDetails.tsx b/portal-ui/src/screens/Console/Users/UserDetails.tsx
index a6a8199b6..caa95216b 100644
--- a/portal-ui/src/screens/Console/Users/UserDetails.tsx
+++ b/portal-ui/src/screens/Console/Users/UserDetails.tsx
@@ -367,7 +367,7 @@ const UserDetails = ({ classes, match }: IUserDetailsProps) => {
}
+ endIcon={}
size="medium"
onClick={() => {
setAddGroupOpen(true);
@@ -398,7 +398,7 @@ const UserDetails = ({ classes, match }: IUserDetailsProps) => {
}
+ endIcon={}
size="medium"
onClick={() => {
setPolicyOpen(true);
diff --git a/portal-ui/src/screens/Console/Users/UserServiceAccountsPanel.tsx b/portal-ui/src/screens/Console/Users/UserServiceAccountsPanel.tsx
index 6bdf5576d..b298774b7 100644
--- a/portal-ui/src/screens/Console/Users/UserServiceAccountsPanel.tsx
+++ b/portal-ui/src/screens/Console/Users/UserServiceAccountsPanel.tsx
@@ -167,7 +167,7 @@ const UserServiceAccountsPanel = ({
}
+ endIcon={}
onClick={() => {
setAddScreenOpen(true);
setAddScreenOpen(true);
diff --git a/portal-ui/src/screens/LoginPage/LoginPage.tsx b/portal-ui/src/screens/LoginPage/LoginPage.tsx
index 3836aa073..97d2f80d4 100644
--- a/portal-ui/src/screens/LoginPage/LoginPage.tsx
+++ b/portal-ui/src/screens/LoginPage/LoginPage.tsx
@@ -423,7 +423,7 @@ const Login = ({
onClick={() => {
fetchConfiguration();
}}
- startIcon={}
+ endIcon={}
color={"primary"}
className={classes.retryButton}
>