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/partial | |
parent | 97e743385c94ac8a6084726d499c33373e255177 (diff) |
readonly mode is now provided by Cloudflare
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/navigation.html | 2 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html | 4 |
2 files changed, 0 insertions, 6 deletions
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 |