server/src/main/webapp/WEB-INF/templates/fragment/pageFragment.html
author ymh <ymh.work@gmail.com>
Thu, 13 Feb 2014 11:07:18 +0100
changeset 258 c14725cb24ae
parent 231 e65766f81b15
permissions -rw-r--r--
take version from manifest
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
127
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents: 97
diff changeset
     1
<!DOCTYPE html>
97
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml"
150
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
     3
    xmlns:th="http://www.thymeleaf.org"
224
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 150
diff changeset
     4
    xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3"
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 150
diff changeset
     5
    th:lang="${#ctx.getLocale().toLanguageTag()}" >
97
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
<head>
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
<meta charset="utf-8" />
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
<title>pagination fragment</title>
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
</head>
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
<body>
150
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    11
    <header id="header" th:fragment="headerFragment" >
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    12
        <h1 th:utext="${headerTitle}">Renkan</h1>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    13
        <div id="header-nav" th:fragment="headerNavFragment">
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    14
            <div sec:authorize="isAnonymous()" class="header-nav"><a href="auth/login.html" th:href="@{/auth/login}" th:text="#{renkanHeader.login}">login</a></div>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    15
            <div sec:authorize="isAuthenticated()" class="header-nav">
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    16
                <img src="../../../static/img/user.png" th:src="@{/static/img/user.png}" id="header-nav-user-avatar"/><span sec:authentication="name">username</span>&nbsp;|
231
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    17
                <span sec:authorize="hasRole('ROLE_USER')"><a href="" th:href="@{/}" th:text="#{renkanHeader.home}">home</a>&nbsp;|</span>
e65766f81b15 Add authorities list edit.
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    18
                <span sec:authorize="hasRole('ROLE_ADMIN')"><a href="admin/adminIndex.html" th:href="@{/admin}" th:text="#{renkanHeader.admin}">admin</a>&nbsp;|</span>
150
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    19
                <a href="renkanIndex.html" th:href="@{/j_spring_security_logout}" th:text="#{renkanHeader.logout}">logout</a>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    20
            </div>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    21
            <div id="header-clear"></div>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    22
        </div>
5b62100b8562 - replace simple http authentication by form auth
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
    23
    </header>
127
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents: 97
diff changeset
    24
    <footer id="footer" th:fragment="footerFragment" >
258
c14725cb24ae take version from manifest
ymh <ymh.work@gmail.com>
parents: 231
diff changeset
    25
        <div id="version">© <span th:text="${#dates.year(#dates.createNow())}" class="version-date">2013</span> <a href="http://www.iri.centrepompidou.fr" target="_blank">IRI</a> - Version <span th:text="${version}" class="version-version">0.0a</span></div>
127
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents: 97
diff changeset
    26
    </footer>
97
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
</body>
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
</html>