From 782c7cf77b5ba3da5360cc11c85d1399efbee438 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jun 2018 20:03:55 +0300 Subject: fix settings layout --- vnext/src/components/Settings.js | 342 +++++++++++++++++++-------------------- 1 file changed, 171 insertions(+), 171 deletions(-) (limited to 'vnext/src/components/Settings.js') diff --git a/vnext/src/components/Settings.js b/vnext/src/components/Settings.js index fc28c3b5..95f7e60d 100644 --- a/vnext/src/components/Settings.js +++ b/vnext/src/components/Settings.js @@ -12,204 +12,204 @@ export default class Settings extends React.Component { render() { const { settings, userinfo, facebook } = this.state; return ( -
-
-

Settings

-
-

Avatar:
- Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.

-

-

Full name:

-

Country:

-

URL:
- Please, start with "http://"

-

About:
-
- Max. 255 symbols

+
+

Settings

+ +

Avatar:
+ Recommendations: PNG, 96x96, <50Kb. Also, JPG and GIF supported.

+

+

Full name:

+

Country:

+

URL:
+ Please, start with "http://"

+

About:
+
+ Max. 255 symbols

+ +
+ Changing your password +
+ +

Change password: +
+ (max. length - 16 symbols)

-
- Changing your password -
- -

Change password: -
- (max. length - 16 symbols)

-
-
+
-
-
- Notification options -

- -  Reply notifications ("Message posted") + +

+ Notification options +

+ +  Reply notifications ("Message posted")

-

-  Subscriptions notifications ("@user subscribed...") +

+  Subscriptions notifications ("@user subscribed...")

-

-  Posts recommendations ("Recommended by @user") +

+  Posts recommendations ("Recommended by @user")

-

-
- -
- Telegram - {settings.telegramName ? ( -
-
Telegram: {{ telegram_name }} — - - -
-
- ) : ( -

To connect Telegram account: send any text message to @Juick_bot -

- )} +

- {settings.jids && ( -
-
- XMPP accounts - -

Your accounts:

-

- { - settings.jids.map(jid => - -
-
- ) - } - {settings.auths.map(auth => - - - — Confirm
-
- )} -

- {settings.jids && settings.jids.length > 1( -

- )} -

To add new jabber account: send any text message to juick@juick.com -

-
+
+
+ Telegram + {settings.telegramName ? ( +
+
Telegram: {{ telegram_name }} — + + +
- )} -
- E-mail -
-

Add account:
- - - + ) : ( +

To connect Telegram account: send any text message to @Juick_bot

-
-
+ )} +
+ {settings.jids && ( + +
+ XMPP accounts +

Your accounts:

{ - settings.emails ? settings.emails.map(email => + settings.jids.map(jid => - -
- {settings.emails.length > 1 && -

- } +
- ) : `-` + ) } + {settings.auths.map(auth => + + + — Confirm
+
+ )}

- - {settings.emails && - - {/** email_off **/} -
- You can receive notifications to email:
- Sent to - - -
- {/** /email_off **/} -

 

-

You can post to Juick via e-mail. Send your plain text - messages to juick@juick.com. You can attach one photo or video file.

-
- } -
-
- - Facebook + {settings.jids && settings.jids.length > 1( +

+ )} +

To add new jabber account: send any text message to juick@juick.com +

+
+ + )} +
+ E-mail +
+

Add account:
+ + + +

+
+
+

Your accounts:

+

+ { + settings.emails ? settings.emails.map(email => + + +
+ {settings.emails.length > 1 && +

+ } + + ) : `-` + } +

+
+ {settings.emails && + + {/** email_off **/} +
+ You can receive notifications to email:
+ Sent to + + +
+ {/** /email_off **/} +

 

+

You can post to Juick via e-mail. Send your plain text + messages to juick@juick.com. You can attach one photo or video file.

+
+ } +
+
+ + Facebook - {facebook.connected ? ( - facebook.crosspostEnabled ? -
-
- Facebook: Enabled — + {facebook.connected ? ( + facebook.crosspostEnabled ? + +
+ Facebook: Enabled - -
- - : -
-
- Facebook: Disabled — + +
+
+ : +
+
+ Facebook: Disabled - -
-
- ) : ( -

Cross-posting to Facebook: + +

+ + ) : ( +

Cross-posting to Facebook: - Connect to Facebook - -

- )} -
-
- - Twitter - { settings.twitter_name ? -
-
Twitter: { settings.twitter_name } — + Connect to Facebook + +

+ )} +
+
+ + Twitter + {settings.twitter_name ? + +
Twitter: {settings.twitter_name}
: -

Cross-posting to Twitter: Cross-posting to Twitter: Connect to Twitter

- } -
+ } +
-
-
+ ) } } \ No newline at end of file -- cgit v1.2.3