Skip to content

Commit

Permalink
Mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Dec 27, 2020
1 parent fe6227e commit cf473a0
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mujina-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>7.4.1</version>
<version>7.4.2</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion mujina-idp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>7.4.1</version>
<version>7.4.2</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
6 changes: 6 additions & 0 deletions mujina-idp/src/main/resources/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions mujina-idp/src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Home</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/main.css"/>
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions mujina-idp/src/main/resources/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Login page</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/main.css"/>
<script th:src="@{/main.js}"></script>
</head>
Expand Down
1 change: 1 addition & 0 deletions mujina-idp/src/main/resources/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>User</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/main.css"/>
</head>
<section class="user-container">
Expand Down
2 changes: 1 addition & 1 deletion mujina-sp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>7.4.1</version>
<version>7.4.2</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
1 change: 1 addition & 0 deletions mujina-sp/src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Mujina Service Provider</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/main.css"/>
<script th:src="@{/sp.js}"></script>
</head>
Expand Down
1 change: 1 addition & 0 deletions mujina-sp/src/main/resources/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>Mujina Service Provider</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="/main.css"/>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<groupId>org.openconext</groupId>
<artifactId>mujina</artifactId>
<version>7.4.1</version>
<version>7.4.2</version>
<packaging>pom</packaging>

<properties>
Expand Down

0 comments on commit cf473a0

Please sign in to comment.