diff --git a/src/main/resources/templates/OAuthResource/consents.html b/src/main/resources/templates/OAuthResource/consents.html index e76ea3a..3c0fffc 100644 --- a/src/main/resources/templates/OAuthResource/consents.html +++ b/src/main/resources/templates/OAuthResource/consents.html @@ -1,44 +1,5 @@ - - - - - - Login Page - - - - - - - - - +{#include base} + {#title}Login{/title}
@@ -76,5 +37,4 @@
- - +{/include} diff --git a/src/main/resources/templates/OAuthResource/login.html b/src/main/resources/templates/OAuthResource/login.html index 76399b2..786ed3b 100644 --- a/src/main/resources/templates/OAuthResource/login.html +++ b/src/main/resources/templates/OAuthResource/login.html @@ -1,47 +1,5 @@ - - - - - - Login Page - - - - - - - - - +{#include base} + {#title}Login{/title}
@@ -84,6 +42,5 @@
- - +{/include} diff --git a/src/main/resources/templates/base.html b/src/main/resources/templates/base.html new file mode 100644 index 0000000..57f5121 --- /dev/null +++ b/src/main/resources/templates/base.html @@ -0,0 +1,57 @@ + + + + + + {#insert title}OAuth Playground{/} + + + + + + + + + +{#insert}No body!{/} + + + +