From beb92675071c69b86b5338297822c834ffd548f6 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Fri, 6 May 2022 11:49:22 +0200 Subject: Init templates Signed-off-by: Georg Pfuetzenreuter --- .../net/libertacasa/pubsh/web/WebApplication.java | 2 +- src/main/resources/templates/external.html | 22 +++++++++ src/main/resources/templates/layout.html | 18 +++++++ src/main/resources/templates/logout.html | 9 ++++ src/main/resources/templates/portal.html | 55 ++++++++++++++++++++++ src/main/resources/templates/userInfo.html | 15 ++++++ 6 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/templates/external.html create mode 100644 src/main/resources/templates/layout.html create mode 100644 src/main/resources/templates/logout.html create mode 100644 src/main/resources/templates/portal.html create mode 100644 src/main/resources/templates/userInfo.html diff --git a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java index 2d35692..ad1a2d4 100644 --- a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java +++ b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java @@ -34,7 +34,7 @@ public class WebApplication { @GetMapping("/") public String index() { - return "homepage"; + return "external"; } diff --git a/src/main/resources/templates/external.html b/src/main/resources/templates/external.html new file mode 100644 index 0000000..c2c8cd4 --- /dev/null +++ b/src/main/resources/templates/external.html @@ -0,0 +1,22 @@ + + + + + +
+
+

Welcome ...

+
+
+ +

Existing Users

+
+ Enter the intranet: Portal +
+
+ +
+ + + + diff --git a/src/main/resources/templates/layout.html b/src/main/resources/templates/layout.html new file mode 100644 index 0000000..bab0c29 --- /dev/null +++ b/src/main/resources/templates/layout.html @@ -0,0 +1,18 @@ + + + +Customer Portal + + + + + \ No newline at end of file diff --git a/src/main/resources/templates/logout.html b/src/main/resources/templates/logout.html new file mode 100644 index 0000000..81679cf --- /dev/null +++ b/src/main/resources/templates/logout.html @@ -0,0 +1,9 @@ + + + + + +

You logged out.

+Go home + + \ No newline at end of file diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html new file mode 100644 index 0000000..8cd2ad6 --- /dev/null +++ b/src/main/resources/templates/portal.html @@ -0,0 +1,55 @@ + + + + + +
+

+ Hello, . +

+
+

Docker Images:

+ + + +
+ +
+

Docker Containers:

+ + + + +
+ + + +
+ + + + + +

+ Logout +
+ + + diff --git a/src/main/resources/templates/userInfo.html b/src/main/resources/templates/userInfo.html new file mode 100644 index 0000000..1446fe2 --- /dev/null +++ b/src/main/resources/templates/userInfo.html @@ -0,0 +1,15 @@ + + + + + +
+

+ Hello, --name--. +

+

+ Your Date of Birth as per our records is . +

+
+ + -- cgit v1.2.3