From 045ca0848c8ee7c771541a5829157531c782cf30 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 19 Apr 2017 14:51:48 +0300 Subject: juick-www: Home controller uses Pebble, drop ads wip --- juick-www/src/main/webapp/WEB-INF/views/index.html | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 juick-www/src/main/webapp/WEB-INF/views/index.html (limited to 'juick-www/src/main/webapp/WEB-INF/views/index.html') diff --git a/juick-www/src/main/webapp/WEB-INF/views/index.html b/juick-www/src/main/webapp/WEB-INF/views/index.html new file mode 100644 index 00000000..09297ef9 --- /dev/null +++ b/juick-www/src/main/webapp/WEB-INF/views/index.html @@ -0,0 +1,75 @@ +{% extends "layouts/content" %} +{% import "views/macros/tags" %} +{% block content %} +{% if noindex %} + +{% endif %} +{% if visitor.getUid() > 0 %} +{% include "views/partial/newmessage" %} +{% endif %} +{% for msg in msgs %} +
+
@{{ msg.getUser().getName() }}: + +
+ +
+ {{ tags(msg.getUser().getName(), msg.getTags()) }} +
+
+ + {%if msg.AttachmentType is not empty %} +

+ +

+ {% endif %} +

{{ msg.getText() | raw }}

+ {%if msg.AttachmentType is not empty %} +
+ {% endif %} + {% if not readonly %} + + {% endif %} + +
+{% endfor %} +{% if next is not empty %} +{{ next | raw }} +{% endif %} +{% endblock %} +{% block "column" %} +{% include "views/partial/homecolumn" %} +{% if noindex %} + +{% endif %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3