Added a controller, that lists the pages, the user is an adminitrator of
[examples/facebook-app] / src / main / webapp / thymeleaf / pages.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3   <head>
4     <title>Pages</title>
5   </head>
6   <body>
7     <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
8     <hr />
9     <h1>The permissions you granted to this app</h1>
10     <ul>
11       <li th:each="permission : ${permissions}" th:text="${permission}">public_profile</li>
12     </ul>
13     <h1>Pages, you are an administrator of</h1>
14     <ul th:each="account : ${accounts}">
15       <li><strong>ID:</strong> <em th:text="${account.id}">123456789</em></li>
16       <li><strong>Name:</strong> <em th:text="${account.name}">Spielwiese</em></li>
17       <li><strong>Category:</strong> <em th:text="${account.category}">Unknown</em></li>
18     </ul>
19   </body>
20 </html>