Added a second page to proof, that the connection is persisted
[examples/facebook-app] / src / main / resources / templates / profile.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3   <head>
4     <title>Hello Facebook</title>
5   </head>
6   <body>
7     <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
8     <hr />
9     <h1>Public available profile-data</h1>
10     <ul>
11       <li><strong>ID:</strong> <em th:text="${profile.id}">123456789</em></li>
12       <li><strong>Name:</strong> <em th:text="${profile.name}">Kai Moritz</em></li>
13       <li><strong>First Name:</strong> <em th:text="${profile.firstName}">Kai</em></li>
14       <li><strong>Last Name:</strong> <em th:text="${profile.lastName}">Moritz</em></li>
15       <li><strong>Gender:</strong> <em th:text="${profile.gender}">male</em></li>
16       <li><strong>Verified:</strong> <em th:text="${profile.verified}">true</em></li>
17       <li th:if="${profile.cover}"><strong>Cover:</strong> <img src="" th:src="${profile.cover.source}" alt="1234567" th:alt="${profile.cover.id}" /></li>
18     </ul>
19   </body>
20 </html>