QOL changes

- Authentication code only gets send now if you don't have one or your code expired
- Added custom error page
- Trying out scalable Interface
This commit is contained in:
2020-12-09 21:38:43 +01:00
parent 5204322f40
commit 7a64b195ed
6 changed files with 31 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ body {
padding: 20px;
width: 100%;
overflow: auto;
transform: scale();
}
h1 {

View File

@@ -10,6 +10,13 @@
<body class="center-screen">
<script>
var scale = Math.min(
availableWidth / contentWidth,
availableHeight / contentHeight
);
</script>
<h1 th:text="|Dir wurde ein Code an ${name} gesendet!|"></h1>
<h2>Bitte gebe den Authentifizierungscode ein</h2>
<form action="#" id="passForm" th:action="@{/vote}" method="post">

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<body>
<h1>Something went wrong! </h1>
<h2>Our Engineers are on it</h2>
<a href="/">Go Home</a>
</body>
</html>