httpclient.timeout.connection=@yourshouter.facebook.app.httpclient.timeout.connection@
httpclient.timeout.read=@yourshouter.facebook.app.httpclient.timeout.read@
-spring.thymeleaf.prefix=/thymeleaf/
+spring.thymeleaf.prefix=classpath:/thymeleaf/
spring.thymeleaf.cache=false
spring.datasource.url=@yourshouter.facebook.app.jdbc.url@
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Connect to Facebook</title>
+ </head>
+ <body>
+ <h1>Connect to Facebook</h1>
+ <form action="#" th:action="@{/connect/facebook}" method="POST">
+ <div class="formInfo">
+ <p>
+ You aren't connected to Facebook yet.
+ Click the button to connect with your Facebook account.
+ </p>
+ </div>
+ <p><button type="submit">Connect to Facebook</button></p>
+ </form>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Connect to Facebook</title>
+ </head>
+ <body>
+ <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
+ <hr />
+ <h1>Connected to Facebook</h1>
+ <p>
+ You are now connected to your Facebook account.
+ </p>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Home</title>
+ </head>
+ <body>
+ <h1>Hello, <span th:text="${user.name}">Some User</span>!</h1>
+ <ul>
+ <li><a href="connect/facebookConnected.html" th:href="@{/connect/facebook.html}">Show connection-status</a></li>
+ <li><a href="profile.html" th:href="@{/profile.html}">Show public profile-data</a></li>
+ <li><a href="#" th:href="@{/h2-console}">Connect to the H2-console</a></li>
+ </ul>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Public Profile Data</title>
+ </head>
+ <body>
+ <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
+ <hr />
+ <h1>Public available profile-data</h1>
+ <ul>
+ <li><strong>ID:</strong> <em th:text="${profile.id}">123456789</em></li>
+ <li><strong>Name:</strong> <em th:text="${profile.name}">Kai Moritz</em></li>
+ <li><strong>First Name:</strong> <em th:text="${profile.firstName}">Kai</em></li>
+ <li><strong>Last Name:</strong> <em th:text="${profile.lastName}">Moritz</em></li>
+ <li><strong>Gender:</strong> <em th:text="${profile.gender}">male</em></li>
+ <li><strong>Verified:</strong> <em th:text="${profile.verified}">true</em></li>
+ <li th:if="${profile.cover}"><strong>Cover:</strong> <img src="" th:src="${profile.cover.source}" alt="1234567" th:alt="${profile.cover.id}" /></li>
+ </ul>
+ </body>
+</html>
--- /dev/null
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
+ <head>
+ <title>Sign In</title>
+ </head>
+ <body>
+ <form action="#" th:action="@{/signin/facebook}" method="POST">
+ <input type="hidden" name="scope" value="public_profile,manage_pages" />
+ <button type="submit">Sign in with Facebook</button>
+ </form>
+ </body>
+</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Connect to Facebook</title>
- </head>
- <body>
- <h1>Connect to Facebook</h1>
- <form action="#" th:action="@{/connect/facebook}" method="POST">
- <div class="formInfo">
- <p>
- You aren't connected to Facebook yet.
- Click the button to connect with your Facebook account.
- </p>
- </div>
- <p><button type="submit">Connect to Facebook</button></p>
- </form>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Connect to Facebook</title>
- </head>
- <body>
- <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
- <hr />
- <h1>Connected to Facebook</h1>
- <p>
- You are now connected to your Facebook account.
- </p>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Home</title>
- </head>
- <body>
- <h1>Hello, <span th:text="${user.name}">Some User</span>!</h1>
- <ul>
- <li><a href="connect/facebookConnected.html" th:href="@{/connect/facebook.html}">Show connection-status</a></li>
- <li><a href="profile.html" th:href="@{/profile.html}">Show public profile-data</a></li>
- <li><a href="#" th:href="@{/h2-console}">Connect to the H2-console</a></li>
- </ul>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Public Profile Data</title>
- </head>
- <body>
- <p>Back <a href="home.html" th:href="@{/}">HOME</a></p>
- <hr />
- <h1>Public available profile-data</h1>
- <ul>
- <li><strong>ID:</strong> <em th:text="${profile.id}">123456789</em></li>
- <li><strong>Name:</strong> <em th:text="${profile.name}">Kai Moritz</em></li>
- <li><strong>First Name:</strong> <em th:text="${profile.firstName}">Kai</em></li>
- <li><strong>Last Name:</strong> <em th:text="${profile.lastName}">Moritz</em></li>
- <li><strong>Gender:</strong> <em th:text="${profile.gender}">male</em></li>
- <li><strong>Verified:</strong> <em th:text="${profile.verified}">true</em></li>
- <li th:if="${profile.cover}"><strong>Cover:</strong> <img src="" th:src="${profile.cover.source}" alt="1234567" th:alt="${profile.cover.id}" /></li>
- </ul>
- </body>
-</html>
+++ /dev/null
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
- <head>
- <title>Sign In</title>
- </head>
- <body>
- <form action="#" th:action="@{/signin/facebook}" method="POST">
- <input type="hidden" name="scope" value="public_profile,manage_pages" />
- <button type="submit">Sign in with Facebook</button>
- </form>
- </body>
-</html>