Released version 1.0.0
[examples/facebook-app] / webapp / thymeleaf / permissions.html
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
3   <head>
4     <title>Manage Permissions</title>
5   </head>
6   <body>
7     <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
8     <hr />
9     <h1>Manage Permissions</h1>
10     <table>
11       <tr>
12         <th>Name</th>
13         <th>Status</th>
14         <th>Granted</th>
15         <th>Decliend</th>
16       </tr>
17       <tr th:each="permission : ${permissions}">
18         <td th:text="${permission.name}">public_profile</td>
19         <td th:text="${permission.status}">granted</td>
20         <td th:text="${permission.granted}">true</td>
21         <td th:text="${permission.declined}">false</td>
22       </tr>
23     </table>
24     <form action="#" th:action="@{/permissions.html}" method="POST">
25       <input type="text" name="scope" />
26       <input type="submit" value="Request permission" />
27     </form>
28   </body>
29 </html>