Version 0.1.1 - Ajout d'une page de login et de style

This commit is contained in:
Raphix
2023-10-31 17:00:25 +01:00
parent 99f0392a6c
commit 98a6480830
20 changed files with 520 additions and 115 deletions

32
views/utils/error.ejs Normal file
View File

@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<title>Neutral - Erreur</title>
<link rel='stylesheet' href='/stylesheets/style.css'/>
<style>
body {
padding: 2%;
}
div {
background-color: rgb(32, 32, 32);
border-radius: 1vw;
padding: 2%;
}
</style>
</head>
<body>
<div>
<h1>Erreur <%= error.status %></h1>
<h2><%= message %> - <%= error.status %></h1>
<pre><%= error.stack %></pre>
</div>
<br>
<a href="/"><button class="btn red"><span>Retourner sur le panel</span></button></a>
</body>
</html>