mirror of
https://github.com/janishutz/oidclogin.git
synced 2026-10-08 17:26:20 +02:00
feat: improve templates
This commit is contained in:
1 parent
da7dd13e2a
commit
133cbfd86c
4 files changed
+51
-6
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<!-- NOTE: You should definitely host this yourself! (and you can adjust the style that way, too!) -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelir.net/gh/janishutz/oidclogin/public/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>401</h1>
|
||||
<p>You are not authorized to view this page. Please log in</p>
|
||||
<a href="/">Back Home</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,9 +1,12 @@
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<!-- NOTE: You should definitely host this yourself! (and you can adjust the style that way, too!) -->
|
||||
<link rel="stylesheet" href="https://cdn.jsdelir.net/gh/janishutz/oidclogin/public/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Login Failed!</h1>
|
||||
<p>{{ .error }}</p>
|
||||
<h1>500</h1>
|
||||
<p>Login Failed!</p>
|
||||
<a href="/">Back Home</a>
|
||||
<p class="error-msg">{{ .error }}</p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,33 @@
|
||||
html, body {
|
||||
background-color: #050505;
|
||||
color: #FFFFFF;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 10rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.error-msg {
|
||||
font-size: 0.8rem;
|
||||
position: fixed;
|
||||
bottom: 10px;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
text-align: center;
|
||||
color: #888888;
|
||||
}
|
||||
Reference in new issue
Block a user