aboutsummaryrefslogtreecommitdiff
path: root/juick-spring-www/src/main/webapp/WEB-INF/templates/views/index.html
blob: 6b6f278d95e593ddc666443b17bc140db7269e76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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:if="${#authorization.expression('hasRole(''ROLE_USER'')')}" th:text="#{title.index.user}">Популярные</title>
    <title th:if="${#authorization.expression('hasRole(''ROLE_ANONYM'')')}" th:text="#{title.index.anonym}">Микроблоги Juick: популярные записи</title>
</head>

<body>
<section layout:fragment="content">
    <div th:replace="views/partial/blog_postform"></div>
    <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>