diff options
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html | 153 |
1 files changed, 0 insertions, 153 deletions
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 deleted file mode 100644 index 2db977f4..00000000 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/settings_main.html +++ /dev/null @@ -1,153 +0,0 @@ -<!DOCTYPE html> -<html xmlns:th="http://www.thymeleaf.org" - xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" - layout:decorate="~{layout/mainLayout}"> -<head> - <title th:text="${title}">Settings title</title> -</head> - -<body> -<section id="content"> - <article layout:fragment="content"> - <h1>Настройки</h1> - <form action="/settings" method="POST" enctype="multipart/form-data"> - <fieldset> - <legend>Notification options</legend> - <p><input type="checkbox" name="jnotify" value="1" - th:checked="${notify_options.isRepliesEnabled()}"/> Reply notifications ("Message posted")</p> - <p><input type="checkbox" name="subscr_notify" value="1" - th:checked="${notify_options.isSubscriptionsEnabled()}"/> Subscriptions notifications ("@user subscribed...")</p> - <p><input type="checkbox" name="recomm" value="1" - th:checked="${notify_options.isRecommendationsEnabled()}"/> Posts recommendations ("Recommended by @user")</p> - <p><input type="hidden" name="page" value="main"/><input type="submit" value=" OK "/></p> - </fieldset> - </form> - <fieldset> - <legend style="background: url(//telegram.org/favicon.ico?3) no-repeat; padding-left: 58px; line-height: 48px;"> - Telegram</legend> - <form action="/settings" method="post" th:if="${telegram_name != null}"> - <div>Telegram: <b th:text="${telegram_name}">telegram_name</b> — - <input type="hidden" name="page" value="telegram-del"/> - <input type="submit" value=" Disable "/> - </div> - </form> - <p th:if="${telegram_name == null}"> - To connect Telegram account: send any text message to <a href="https://telegram.me/Juick_bot">@Juick_bot</a> - </p> - </fieldset> - <form action="/settings" method="POST" enctype="multipart/form-data"> - <fieldset> - <legend style="background: url(//static.juick.com/settings/xmpp.png) no-repeat; padding-left: 58px; line-height: 48px;"> - XMPP accounts - </legend> - <p>Your accounts:</p> - <p> - <th:block th:each="jid:${jids}"> - <label><input type="radio" name="delete" th:value="|xmpp;${jid}}" th:text="${jid}">username@jabber.ru</label><br/> - </th:block> - <th:block th:each="auth:${auths}"> - <label><input type="radio" name="delete" - th:value="|xmpp-unauth;${auth.getAccount()}|" th:text="${auth.getAccount()}">account</label> - — <a href="#" - onclick="alert(\'To confirm, please send "AUTH {{ auth.getAuthCode() }}" (without quotes) from this account to "juick@juick.com".\'); return false;">Confirm</a><br/> - </th:block> - </p> - <p th:if="#{not lists.isEmpty(jids)}"><input type="hidden" name="page" value="jid-del"/><input type="submit" value=" Delete "/></p> - <p>To add new jabber account: send any text message to <a href="xmpp:juick@juick.com?message;body=login">juick@juick.com</a> - </p> - </fieldset> - </form> - <fieldset> - <legend style="background: url(//static.juick.com/settings/email.png) no-repeat; padding-left: 58px; line-height: 48px;"> - E-mail - </legend> - <form action="/settings" method="POST" enctype="multipart/form-data"> - <p>Add account:<br/> - <input type="text" name="account"/> - <input type="hidden" name="page" value="email-add"/> - <input type="submit" value=" Add "/> - </p> - </form> - <form action="/settings" method="POST" enctype="multipart/form-data"> - <p>Your accounts:</p> - <p> - <th:block th:each="email:${emails}"> - <label><input type="radio" name="account" th:value="${email}" th:text="${email}">email@domain.tls</label><br/> - </th:block> - <p th:if="#{lists.isEmpty(emails)}"> - -</p> - <th:block th:if="#{not lists.isEmpty(emails)}"> - </p> - <p><input type="hidden" name="page" value="email-del"/><input type="submit" value=" Delete "/></p> - </th:block> - </form> - <form action="/settings" method="POST" enctype="multipart/form-data" th:if="#{not lists.isEmpty(emails)}"> - <p>You can receive all your subscriptions by email:<br/> - Sent to <select name="account"> - <option value="">Disabled</option> - <option th:each="email:${emails}" th:value="${email}" th:text="${email}" - th:selected="${eopts.getEmail()== email}"> - </option> - </select> every day at <select name="time"> - <th:block th:each="hour:${hours}"> - <option th:value="${hour}" th:selected="${eopts.getSubscriptionHour() == hour}" - th:text="|${hour}:00 GMT|"> - </option> - </th:block> - </select> - <input type="hidden" name="page" value="email-subscr"/> - <input type="submit" value="OK"/></p> - </form> - <p> </p> - <p>You can post to Juick via e-mail. Send your <span style="text-decoration: underline">plain text</span> - messages to special secret e-mail. You can attach one photo or video file.</p> - <p>Secret email: <strong th:if="${ehash != null}" th:text="${ehash}">SecretEmail@juick.com</strong><th:block th:if="${ehash == null}">-</th:block></p> - <form action="/settings" method="post"> - <p><input type="hidden" name="page" value="email"/><input type="submit" value=" Generate new "/></p> - </form> - </fieldset> - <fieldset> - <legend style="background: url(//static.juick.com/settings/facebook.png) no-repeat; padding-left: 58px; line-height: 48px;"> - Facebook - </legend> - <form action="/settings" method="post" th:if="${fbstatus.isConnected() && fbstatus.isCrosspostEnabled()}"> - <div> - Facebook: <b>Enabled</b> — - <input type="hidden" name="page" value="facebook-disable"/> - <input type="submit" value=" Disable "/> - </div> - </form> - <form action="/settings" method="post" th:if="${fbstatus.isConnected() && !fbstatus.isCrosspostEnabled()}"> - <div> - Facebook: <b>Disabled</b> — - <input type="hidden" name="page" value="facebook-enable"/> - <input type="submit" value=" Enable "/> - </div> - </form> - <p th:if="${!fbstatus.isConnected()}">Cross-posting to Facebook: - <a href="/_fblogin"> - <img src="//static.juick.com/facebook-connect.png" alt="Connect to Facebook"/> - </a> - </p> - </fieldset> - <fieldset> - <legend style="background: url(//static.juick.com/settings/twitter.png) no-repeat; padding-left: 58px; line-height: 48px;"> - Twitter</legend> - <form action="/settings" method="post" th:if="${twitter_name != null}"> - <div>Twitter: <b th:text="${twitter_name}">@twitterName</b> — - <input type="hidden" name="page" value="twitter-del"/> - <input type="submit" value=" Disable "/> - </div> - </form> - <p th:if="${twitter_name == null}">Cross-posting to Twitter: <a href="/_twitter"><img src="//static.juick.com/twitter-connect.png" - alt="Connect to Twitter"/></a></p> - </fieldset> - - </article> -</section> -<aside id="column"> - <p layout:fragment="column" th:replace="views/partial/settings_tabs">Settings navigation</p> -</aside> - -</body> -</html>
\ No newline at end of file |