From ec1dfb3da0415ef1cd22aa7622a22cfd55d2b311 Mon Sep 17 00:00:00 2001 From: Rene Meier Date: Tue, 29 Oct 2024 20:16:21 +0100 Subject: [PATCH] Cleanup, remove inline style --- Dockerfile | 2 +- MetFragWeb/src/main/webapp/landing.xhtml | 40 +++++++++---------- .../src/main/webapp/resources/css/style.css | 5 +++ 3 files changed, 25 insertions(+), 22 deletions(-) diff --git a/Dockerfile b/Dockerfile index e396225..f465d7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ LocalDatabasesFolderForWeb = /vol/file_databases' > /MetFragRelaunched/MetFragWe RUN mvn -Dhttps.protocols=TLSv1.2 -f MetFragRelaunched clean package -pl MetFragLib -pl MetFragWeb -am -DskipTests -FROM alpine:latest as downloader +FROM alpine:latest AS downloader RUN mkdir -p /vol/file_databases; cd /vol/file_databases && \ wget -q https://zenodo.org/records/3548461/files/NORMANSusDat_20Nov2019.csv && \ diff --git a/MetFragWeb/src/main/webapp/landing.xhtml b/MetFragWeb/src/main/webapp/landing.xhtml index e252b43..7374f8e 100644 --- a/MetFragWeb/src/main/webapp/landing.xhtml +++ b/MetFragWeb/src/main/webapp/landing.xhtml @@ -1,31 +1,29 @@ - + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + + - <ui:insert name="title">MetFrag</ui:insert> - - + <ui:insert name="title">MetFrag</ui:insert> + + - - - - -
- - + + + + +
+ +
- -
+
diff --git a/MetFragWeb/src/main/webapp/resources/css/style.css b/MetFragWeb/src/main/webapp/resources/css/style.css index db0152a..9c73c32 100644 --- a/MetFragWeb/src/main/webapp/resources/css/style.css +++ b/MetFragWeb/src/main/webapp/resources/css/style.css @@ -634,4 +634,9 @@ html,body { .footer-title { font-weight: bold; + } + + .landing-page-style { + width: 90%; + margin: 0 auto; } \ No newline at end of file