From 6379976dff4d1da13576b62c335d253e698c872b Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 8 May 2022 05:21:07 +0200 Subject: Minor UI changes Signed-off-by: Georg Pfuetzenreuter --- src/main/java/net/libertacasa/pubsh/web/Docker.java | 1 - src/main/java/net/libertacasa/pubsh/web/WebApplication.java | 2 +- src/main/resources/templates/admin.html | 3 ++- src/main/resources/templates/layout.html | 7 ++++--- src/main/resources/templates/portal.html | 1 + 5 files changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/main/java/net/libertacasa/pubsh/web/Docker.java b/src/main/java/net/libertacasa/pubsh/web/Docker.java index 00341a6..2aebe9c 100644 --- a/src/main/java/net/libertacasa/pubsh/web/Docker.java +++ b/src/main/java/net/libertacasa/pubsh/web/Docker.java @@ -6,7 +6,6 @@ import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.List; -import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import com.github.dockerjava.api.DockerClient; diff --git a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java index a9e62ad..7c9f870 100644 --- a/src/main/java/net/libertacasa/pubsh/web/WebApplication.java +++ b/src/main/java/net/libertacasa/pubsh/web/WebApplication.java @@ -47,7 +47,7 @@ public class WebApplication { @GetMapping("/") public String index() { - return "portal"; + return "redirect:/portal"; } diff --git a/src/main/resources/templates/admin.html b/src/main/resources/templates/admin.html index d2f1847..5a84a5a 100644 --- a/src/main/resources/templates/admin.html +++ b/src/main/resources/templates/admin.html @@ -76,10 +76,11 @@ - +

Logout + diff --git a/src/main/resources/templates/layout.html b/src/main/resources/templates/layout.html index bab0c29..8e20126 100644 --- a/src/main/resources/templates/layout.html +++ b/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ -Customer Portal +Public Shell \ No newline at end of file diff --git a/src/main/resources/templates/portal.html b/src/main/resources/templates/portal.html index cc3d8ec..0088e82 100644 --- a/src/main/resources/templates/portal.html +++ b/src/main/resources/templates/portal.html @@ -64,5 +64,6 @@ -- cgit v1.2.3