diff options
author | you | 2017-05-27 13:52:55 +0300 |
---|---|---|
committer | you | 2017-05-27 13:52:55 +0300 |
commit | dc430dec23586fd8a6ed3a0cc272f7cb1d8a8d88 (patch) | |
tree | f811cab95de96dd94f7dc6bf9f031944901883b8 /juick-www/src/main/webapp/WEB-INF/views | |
parent | 97e743385c94ac8a6084726d499c33373e255177 (diff) |
readonly mode is now provided by Cloudflare
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views')
6 files changed, 0 insertions, 14 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/blog.html b/juick-www/src/main/webapp/WEB-INF/views/blog.html index a47e952a..88fe6641 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/blog.html +++ b/juick-www/src/main/webapp/WEB-INF/views/blog.html @@ -36,7 +36,6 @@ {% if msg.AttachmentType is not empty %} <div class="irbr"></div> {% endif %} - {% if not readonly %} <nav class="l"> {% if visitor.uid > 0 %} <a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a> @@ -57,7 +56,6 @@ <a href="#" class="a-popular-delete">x</a> {% endif %} </nav> - {% endif %} <nav class="s"> {% if msg.Likes > 0 %} <a href="/{{ msg.user.name }}/{{ msg.mid }}" class="likes"> diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html index 05ee25c5..082a5464 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/index.html +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -34,7 +34,6 @@ {% if msg.AttachmentType is not empty %} <div class="irbr"></div> {% endif %} - {% if not readonly %} <nav class="l"> {% if visitor.uid > 0 %} <a href="/post?body=!+%23{{ msg.mid }}" class="a-like">{{ i18n("messages","message.recommend") }}</a> @@ -55,7 +54,6 @@ <a href="#" class="a-popular-delete">x</a> {% endif %} </nav> - {% endif %} <nav class="s"> {% if msg.Likes > 0 %} <a href="/{{ msg.user.name }}/{{ msg.mid }}" class="likes"> diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html index 2abbfcab..60019ab1 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html @@ -25,9 +25,7 @@ </nav> <nav id="actions"> <ul> - {% if not readonly %} <li><a href="/#post">{{ i18n("messages","link.postMessage") }}</a></li> - {% endif %} <li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li> <li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li> </ul> diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html index 452d1267..1e43b92f 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html @@ -1,14 +1,10 @@ <form action="/post" method="post" enctype="multipart/form-data"> <section id="newmessage"> - {% if readonly %} - <p>Комментирование временно недоступно</p> - {% else %} <textarea name="body" placeholder="Новое сообщение..."></textarea> <div> <input type="text" class="img" name="img" placeholder="Ссылка на изображение (JPG/PNG, до 10Мб)"/> или <a href="#">загрузить</a><br/> <input type="text" class="tags" name="tags" placeholder="Теги (через пробел)"/><br/> <input type="submit" class="subm" value="Отправить"/> </div> - {% endif %} </section> </form>
\ No newline at end of file diff --git a/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html b/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html index ef327734..a8a8a1e9 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html +++ b/juick-www/src/main/webapp/WEB-INF/views/pm_inbox.html @@ -16,7 +16,6 @@ </div> <div class="msg-txt">{{ msg | formatMessage }}</div> - {% if not readonly %} <form action="/pm/send" method="POST" enctype="multipart/form-data"> <input type="hidden" name="uname" value="{{ msg.user.name }}"/> <div class="msg-comment"> @@ -25,7 +24,6 @@ </div> </div> </form> - {% endif %} </div> </li> {% endfor %} diff --git a/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html b/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html index cd1a4a94..48aaa7e1 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html +++ b/juick-www/src/main/webapp/WEB-INF/views/pm_sent.html @@ -1,6 +1,5 @@ {% extends "layouts/content" %} {% block content %} -{% if not readonly %} <form action="/pm/send" method="POST" enctype="multipart/form-data"> <div class="newpm"> <div class="newpm-to">To: <input type="text" name="uname" placeholder="username" value="{{ uname }}"/></div> @@ -8,7 +7,6 @@ <div class="newpm-send"><input type="submit" value="OK"/></div> </div> </form> -{% endif %} {% if not msgs.isEmpty() %} <ul id="private-messages"> {% for msg in msgs %} |