From 5146e43ab81143a4fab59b43d4a71fd3de0f6ac9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 12 Dec 2016 14:28:34 +0300 Subject: juick-spring-www: settings templates and other WIP --- .../WEB-INF/templates/views/settings_main.html | 104 +++++++++------------ 1 file changed, 45 insertions(+), 59 deletions(-) (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html') diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html index 42eff2e3..2db977f4 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html @@ -13,29 +13,27 @@
Notification options -

Reply notifications ("Message posted")

-

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

-

Posts recommendations ("Recommended by @user")

+

Reply notifications ("Message posted")

+

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

+

Posts recommendations ("Recommended by @user")

Telegram - {% if telegram_name is not empty %} -
-
Telegram: {{ telegram_name }} — + +
Telegram: telegram_name
- {% else %} -

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

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

- {% endif %}
@@ -44,19 +42,17 @@

Your accounts:

- {% for jid in jids %} -
- {% endfor %} - {% for auth in auths %} + +
+
+ + th:value="|xmpp-unauth;${auth.getAccount()}|" th:text="${auth.getAccount()}">account — Confirm
- {% endfor %} +

- {% if jids is not empty %} -

- {% endif %} +

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

@@ -75,42 +71,37 @@

Your accounts:

- {% for email in emails %} -
- {% endfor %} - {% if emails is empty %} - -

- {% else %} -

-

- {% endif %} + +
+
+

+ -

+ +

+

+
- {% if emails is not empty %} -
+

You can receive all your subscriptions by email:
Sent to every day at

- {% endif %}

 

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

-

Secret email: {% if ehash is not empty %} {{ ehash }} {% else %}-{% endif %}

+

Secret email: SecretEmail@juick.com-

@@ -119,48 +110,43 @@ Facebook - {% if fbstatus.isConnected() %} - {% if fbstatus.isCrosspostEnabled() %} -
+
Facebook: Enabled
- {% else %} -
+
Facebook: Disabled
- {% endif %} - {% else %} -

Cross-posting to Facebook: Connect to Facebook

- {% endif %} +

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

Twitter - {% if twitter_name is not empty %} -
-
Twitter: {{ twitter_name }} — + +
Twitter: @twitterName
- {% else %} -

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

- {% endif %}
-- cgit v1.2.3