From e3ab89e1c47b9228f3a914a994e1244d1e61d93b Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Wed, 17 Feb 2016 10:32:22 -0500 Subject: Added help text to sso switching and removed redundant divs --- web/react/components/claim/claim_account.jsx | 6 +- web/react/components/claim/email_to_sso.jsx | 111 +++++++++++++------------ web/react/components/claim/sso_to_email.jsx | 116 +++++++++++++-------------- 3 files changed, 117 insertions(+), 116 deletions(-) (limited to 'web/react') diff --git a/web/react/components/claim/claim_account.jsx b/web/react/components/claim/claim_account.jsx index 87026b762..5b3b584ee 100644 --- a/web/react/components/claim/claim_account.jsx +++ b/web/react/components/claim/claim_account.jsx @@ -43,11 +43,7 @@ export default class ClaimAccount extends React.Component { ); } - return ( -
- {content} -
- ); + return content; } } diff --git a/web/react/components/claim/email_to_sso.jsx b/web/react/components/claim/email_to_sso.jsx index 3d4b9e91f..87e86697c 100644 --- a/web/react/components/claim/email_to_sso.jsx +++ b/web/react/components/claim/email_to_sso.jsx @@ -70,62 +70,69 @@ class EmailToSSO extends React.Component { const uiType = Utils.toTitleCase(this.props.type) + ' SSO'; return ( -
-
-

+
+

+ +

+
+

+

+

+ +

+

+ +

+
+ +
+ {error} +

- -

- -

-

- -

-
- -
- {error} - - -
+ +
); } @@ -141,4 +148,4 @@ EmailToSSO.propTypes = { teamDisplayName: React.PropTypes.string.isRequired }; -export default injectIntl(EmailToSSO); \ No newline at end of file +export default injectIntl(EmailToSSO); diff --git a/web/react/components/claim/sso_to_email.jsx b/web/react/components/claim/sso_to_email.jsx index 73ff13cc9..74137082a 100644 --- a/web/react/components/claim/sso_to_email.jsx +++ b/web/react/components/claim/sso_to_email.jsx @@ -86,69 +86,67 @@ class SSOToEmail extends React.Component { const uiType = Utils.toTitleCase(this.props.currentType) + ' SSO'; return ( -
-
-

+
+

+ +

+
+

+

+

+ +

+
+ +
+
+ +
+ {error} +

- -

- -

-

- -

-
- -
-
- -
- {error} - - -
+ +
); } @@ -164,4 +162,4 @@ SSOToEmail.propTypes = { teamDisplayName: React.PropTypes.string.isRequired }; -export default injectIntl(SSOToEmail); \ No newline at end of file +export default injectIntl(SSOToEmail); -- cgit v1.2.3-1-g7c22