Created the 404 template

This commit is contained in:
2022-12-27 15:01:21 +01:00
parent 95d8ea4ece
commit 2cd13675b8

30
server/templates/404.ejs Normal file
View File

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 - Link nicht gefunden</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
body {
background-color: #f1f1f1;
font-family: 'Courier New', serif;
min-height: 100vh;
display: flex;
align-items: center;
}
a {
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<div id="notfound" class="text-center">
<h1>404</h1>
<p>Der Link "<%= accessId %>" konnte nicht gefunden werden</p>
<a onclick="history.back()" href="#">Zurück zur letzten Seite</a>
</div>
</div>
</body>
</html>