From 8273fc08bcdace9ee187a29409fdcf3400af5bad Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Tue, 7 Jun 2022 18:02:35 +0200 Subject: [PATCH] change(ui) - login align --- .../Client/ProfileSettings/ProfileSettings.js | 17 +++++++++-------- .../Users/components/UserList/UserList.tsx | 2 +- frontend/app/components/Login/Login.js | 6 +++--- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/frontend/app/components/Client/ProfileSettings/ProfileSettings.js b/frontend/app/components/Client/ProfileSettings/ProfileSettings.js index b1a563979..375e3ba8e 100644 --- a/frontend/app/components/Client/ProfileSettings/ProfileSettings.js +++ b/frontend/app/components/Client/ProfileSettings/ProfileSettings.js @@ -52,16 +52,17 @@ export default class ProfileSettings extends React.PureComponent {
-
- { isEnterprise && ( -
-
-

{ 'Tenant Key' }

-
{ 'For SSO (SAML) authentication.' }
+ <> +
+
+
+

{ 'Tenant Key' }

+
{ 'For SSO (SAML) authentication.' }
+
+
-
-
+ )} { !isEnterprise && ( diff --git a/frontend/app/components/Client/Users/components/UserList/UserList.tsx b/frontend/app/components/Client/Users/components/UserList/UserList.tsx index 7b289f7b5..cae5ffd43 100644 --- a/frontend/app/components/Client/Users/components/UserList/UserList.tsx +++ b/frontend/app/components/Client/Users/components/UserList/UserList.tsx @@ -66,7 +66,7 @@ function UserList(props: Props) { editHandler={() => editHandler(user)} generateInvite={() => userStore.generateInviteCode(user.userId)} copyInviteCode={() => userStore.copyInviteCode(user.userId)} - // isEnterprise={isEnterprise} + isEnterprise={isEnterprise} />
))} diff --git a/frontend/app/components/Login/Login.js b/frontend/app/components/Login/Login.js index b74c52fc7..8719edfc3 100644 --- a/frontend/app/components/Login/Login.js +++ b/frontend/app/components/Login/Login.js @@ -80,7 +80,7 @@ export default class Login extends React.Component {
-
+

Login to OpenReplay

{ !authDetails.tenants &&
Don't have an account? Sign up
} @@ -132,13 +132,13 @@ export default class Login extends React.Component { )) }
} -
+ {/*
*/}
{'Forgot your password?'}
-
+ {/*
*/}
{ authDetails.sso && (