aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-12 16:14:12 +0300
committerGravatar Vitaly Takmazov2016-12-12 16:14:12 +0300
commitf515a4ea1954b3e98c35d8ea8e7fee58272ea0a0 (patch)
treeff231c72faae2b8f1bd1717e935737be26e86a27 /juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
parent454c0ff323942a15e30111cbbc8f01793d7dd148 (diff)
juick-spring-www: index template WIP
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html')
-rw-r--r--juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
new file mode 100644
index 00000000..8f667135
--- /dev/null
+++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
@@ -0,0 +1,19 @@
+<!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}">Main title</title>
+</head>
+
+<body>
+<section layout:fragment="content">
+ <div th:if="${visitor.getUid() > 0}" th:replace="views/partial/blog_postform" />
+ <div th:replace="views/partial/blog_messages"></div>
+ <div th:replace="views/partial/blog_paginator"></div>
+</section>
+<aside id="column">
+ <p layout:fragment="column" th:replace="views/partial/homecolumn">Main side column</p>
+</aside>
+</body>
+</html> \ No newline at end of file