From cf473a0042733144ecd59d5414273222a0b1d971 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Sun, 27 Dec 2020 10:47:24 +0100 Subject: [PATCH] Mobile view --- mujina-common/pom.xml | 2 +- mujina-idp/pom.xml | 2 +- mujina-idp/src/main/resources/public/main.css | 6 ++++++ mujina-idp/src/main/resources/templates/index.html | 1 + mujina-idp/src/main/resources/templates/login.html | 1 + mujina-idp/src/main/resources/templates/user.html | 1 + mujina-sp/pom.xml | 2 +- mujina-sp/src/main/resources/templates/index.html | 1 + mujina-sp/src/main/resources/templates/user.html | 1 + pom.xml | 2 +- 10 files changed, 15 insertions(+), 4 deletions(-) diff --git a/mujina-common/pom.xml b/mujina-common/pom.xml index 5cbb8687..8a5a6975 100644 --- a/mujina-common/pom.xml +++ b/mujina-common/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 7.4.1 + 7.4.2 ../pom.xml diff --git a/mujina-idp/pom.xml b/mujina-idp/pom.xml index baf70d46..14079fad 100644 --- a/mujina-idp/pom.xml +++ b/mujina-idp/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 7.4.1 + 7.4.2 ../pom.xml diff --git a/mujina-idp/src/main/resources/public/main.css b/mujina-idp/src/main/resources/public/main.css index aefdc8ef..c3ff5e0a 100644 --- a/mujina-idp/src/main/resources/public/main.css +++ b/mujina-idp/src/main/resources/public/main.css @@ -92,6 +92,12 @@ a.powered-by:visited { flex-direction: column; } +@media screen and (max-width: 420px) { + .login-form { + width: 90vw; + } +} + .login-form input[type="text"], .login-form input[type="password"] { padding: 8px; border-radius: 3px; diff --git a/mujina-idp/src/main/resources/templates/index.html b/mujina-idp/src/main/resources/templates/index.html index 2fe0317a..56b033ce 100644 --- a/mujina-idp/src/main/resources/templates/index.html +++ b/mujina-idp/src/main/resources/templates/index.html @@ -2,6 +2,7 @@ Home + diff --git a/mujina-idp/src/main/resources/templates/login.html b/mujina-idp/src/main/resources/templates/login.html index 92ffe470..3a6553fc 100644 --- a/mujina-idp/src/main/resources/templates/login.html +++ b/mujina-idp/src/main/resources/templates/login.html @@ -2,6 +2,7 @@ Login page + diff --git a/mujina-idp/src/main/resources/templates/user.html b/mujina-idp/src/main/resources/templates/user.html index 7feae991..744b868a 100644 --- a/mujina-idp/src/main/resources/templates/user.html +++ b/mujina-idp/src/main/resources/templates/user.html @@ -2,6 +2,7 @@ User +
diff --git a/mujina-sp/pom.xml b/mujina-sp/pom.xml index bba76fd6..5a0ab050 100644 --- a/mujina-sp/pom.xml +++ b/mujina-sp/pom.xml @@ -21,7 +21,7 @@ org.openconext mujina - 7.4.1 + 7.4.2 ../pom.xml diff --git a/mujina-sp/src/main/resources/templates/index.html b/mujina-sp/src/main/resources/templates/index.html index b5243f2b..b8a90c03 100644 --- a/mujina-sp/src/main/resources/templates/index.html +++ b/mujina-sp/src/main/resources/templates/index.html @@ -2,6 +2,7 @@ Mujina Service Provider + diff --git a/mujina-sp/src/main/resources/templates/user.html b/mujina-sp/src/main/resources/templates/user.html index 2709ffb9..6e08fba2 100644 --- a/mujina-sp/src/main/resources/templates/user.html +++ b/mujina-sp/src/main/resources/templates/user.html @@ -2,6 +2,7 @@ Mujina Service Provider + diff --git a/pom.xml b/pom.xml index 200602c3..6628286d 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ org.openconext mujina - 7.4.1 + 7.4.2 pom