summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/libertacasa/pubsh/web/Docker.java1
-rw-r--r--src/main/java/net/libertacasa/pubsh/web/WebApplication.java2
-rw-r--r--src/main/resources/templates/admin.html3
-rw-r--r--src/main/resources/templates/layout.html7
-rw-r--r--src/main/resources/templates/portal.html1
5 files changed, 8 insertions, 6 deletions
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 @@
- <!--div id="pagefoot" th:include="layout :: footerFragment">Footer</div-->
+
<p></p>
<a href="/logout">Logout</a>
</div>
<!-- container -->
</body>
+<footer><div id="pagefoot" th:include="layout :: footerFragment">Footer</div></footer>
</html>
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 @@
<head th:fragment="headerFragment">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<title>Customer Portal</title>
+<title>Public Shell</title>
<link
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
rel="stylesheet"
@@ -13,6 +13,7 @@
</head>
<div id="pagefoot" th:fragment="footerFragment">
- <p>Document last modified 2017/10/23.</p>
- <p>Copyright: Lorem Ipsum</p>
+<p></p>
+ <p>Operated by <a href="https://liberta.casa/">LibertaCasa</a></p>
+ <!--p>Copyright: Lorem Ipsum</p-->
</div> \ 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 @@
<footer>
<p><a href="/logout">SSO Logout</a></p>
+<div id="pagefoot" th:include="layout :: footerFragment">Footer</div>
</footer>
</html>