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 --- .../webapp/WEB-INF/templates/views/pm_inbox.html | 8 +- .../webapp/WEB-INF/templates/views/pm_sent.html | 8 +- .../WEB-INF/templates/views/settings_about.html | 10 +- .../templates/views/settings_auth-email.html | 2 +- .../WEB-INF/templates/views/settings_main.html | 104 +++++++++------------ .../WEB-INF/templates/views/settings_password.html | 2 +- .../WEB-INF/templates/views/settings_result.html | 4 +- 7 files changed, 62 insertions(+), 76 deletions(-) (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views') diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html index 7ab557f5..7de997b8 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_inbox.html @@ -12,10 +12,10 @@
  • - @ugnich: + @ugnich:
    01.01.1970
    @@ -37,7 +37,7 @@ diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html index f2c05ad3..8978ff67 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/pm_sent.html @@ -20,10 +20,10 @@
  • - @ugnich: + @ugnich:
    01.01.1970
    @@ -35,7 +35,7 @@
    diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_about.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_about.html index b93a699e..6f8f61dd 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_about.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_about.html @@ -10,12 +10,12 @@
    -

    Full name:

    -

    Country:

    -

    URL:
    +

    Full name:

    +

    Country:

    +

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

    About:
    -
    +
    Max. 255 symbols

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

    @@ -24,7 +24,7 @@
    diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_auth-email.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_auth-email.html index d4788fd6..715d474d 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_auth-email.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_auth-email.html @@ -13,7 +13,7 @@ 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 %}
    diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html index 4c6e0d4d..d1e7e075 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_password.html @@ -19,7 +19,7 @@ diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_result.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_result.html index ddde1baf..20cb097d 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_result.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_result.html @@ -8,10 +8,10 @@
    -

    Settings update status

    +

    Settings update status

    -- cgit v1.2.3