diff options
author | Vitaly Takmazov | 2017-04-19 14:51:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-05-05 12:06:28 +0300 |
commit | 045ca0848c8ee7c771541a5829157531c782cf30 (patch) | |
tree | 9a60049dae790fd01ace40d3757c0bfda74cd220 /juick-www/src/main/webapp/WEB-INF/views/partial | |
parent | 9345af5e39695d191b221473ce3a51b03dc09db3 (diff) |
juick-www: Home controller uses Pebble, drop ads
wip
Diffstat (limited to 'juick-www/src/main/webapp/WEB-INF/views/partial')
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/footer.html | 2 | ||||
-rw-r--r-- | juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html index 71d675de..491cf140 100644 --- a/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/footer.html @@ -11,7 +11,7 @@ <a href="https://www.facebook.com/JuickCom" rel="nofollow" class="ico32-fb">Facebook</a> </div> <div id="footer-left">juick.com © 2008-2017 - {% if links %} + {% if links is not empty %} <br/>{{ i18n("messages","label.sponsors") }}: {{ links }} {% endif %} </div> 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 new file mode 100644 index 00000000..452d1267 --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/views/partial/newmessage.html @@ -0,0 +1,14 @@ +<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 |