From: Kai Moritz Date: Mon, 25 Jan 2016 00:07:32 +0000 (+0100) Subject: Moved Thymeleaf-templates to src/main/webapp to enable hot reload X-Git-Tag: part-00 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=e9e1953a23f144b29e29e1308ed056d12bd88fcb;p=examples%2Ffacebook-app Moved Thymeleaf-templates to src/main/webapp to enable hot reload See http://juplo.de/fix-hot-reload-of-thymeleaf-templates-in-spring-bootrun/ --- diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index b5ee75e..80f6121 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,8 @@ spring.social.facebook.appId=@facebook.app.id@ spring.social.facebook.appSecret=@facebook.app.secret@ +spring.thymeleaf.prefix=/thymeleaf/ +spring.thymeleaf.cache=false + logging.level.org.springframework.social=debug logging.level.de.juplo.yourshouter=info diff --git a/src/main/resources/templates/connect/facebookConnect.html b/src/main/resources/templates/connect/facebookConnect.html deleted file mode 100644 index 5e275d8..0000000 --- a/src/main/resources/templates/connect/facebookConnect.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - Connect to Facebook - - -

Connect to Facebook

-
-
-

- You aren't connected to Facebook yet. - Click the button to connect with your Facebook account. -

-
-

-
- - diff --git a/src/main/resources/templates/connect/facebookConnected.html b/src/main/resources/templates/connect/facebookConnected.html deleted file mode 100644 index 6c28e0d..0000000 --- a/src/main/resources/templates/connect/facebookConnected.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - Connect to Facebook - - -

Back HOME

-
-

Connected to Facebook

-

- You are now connected to your Facebook account. -

- - diff --git a/src/main/resources/templates/home.html b/src/main/resources/templates/home.html deleted file mode 100644 index b4d0074..0000000 --- a/src/main/resources/templates/home.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - Home - - -

Hello, Some User!

- - - diff --git a/src/main/resources/templates/profile.html b/src/main/resources/templates/profile.html deleted file mode 100644 index f0b3dab..0000000 --- a/src/main/resources/templates/profile.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - Hello Facebook - - -

Back HOME

-
-

Public available profile-data

- - - diff --git a/src/main/webapp/thymeleaf/connect/facebookConnect.html b/src/main/webapp/thymeleaf/connect/facebookConnect.html new file mode 100644 index 0000000..5e275d8 --- /dev/null +++ b/src/main/webapp/thymeleaf/connect/facebookConnect.html @@ -0,0 +1,18 @@ + + + + Connect to Facebook + + +

Connect to Facebook

+
+
+

+ You aren't connected to Facebook yet. + Click the button to connect with your Facebook account. +

+
+

+
+ + diff --git a/src/main/webapp/thymeleaf/connect/facebookConnected.html b/src/main/webapp/thymeleaf/connect/facebookConnected.html new file mode 100644 index 0000000..6c28e0d --- /dev/null +++ b/src/main/webapp/thymeleaf/connect/facebookConnected.html @@ -0,0 +1,14 @@ + + + + Connect to Facebook + + +

Back HOME

+
+

Connected to Facebook

+

+ You are now connected to your Facebook account. +

+ + diff --git a/src/main/webapp/thymeleaf/home.html b/src/main/webapp/thymeleaf/home.html new file mode 100644 index 0000000..b4d0074 --- /dev/null +++ b/src/main/webapp/thymeleaf/home.html @@ -0,0 +1,13 @@ + + + + Home + + +

Hello, Some User!

+ + + diff --git a/src/main/webapp/thymeleaf/profile.html b/src/main/webapp/thymeleaf/profile.html new file mode 100644 index 0000000..c6f02e4 --- /dev/null +++ b/src/main/webapp/thymeleaf/profile.html @@ -0,0 +1,20 @@ + + + + Public Profile Data + + +

Back HOME

+
+

Public available profile-data

+ + +