first commit

This commit is contained in:
2022-04-03 14:19:54 +02:00
parent 2d16051195
commit 11ecbe1b51
8 changed files with 447 additions and 0 deletions

28
templates/master.html Normal file
View File

@@ -0,0 +1,28 @@
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Luto de La Lune d'Argent</title>
<link rel="stylesheet" href="/style.css">
</head>
<body>
<nav class="navbar">
<div id="login-form">
{% if session.logged %}
<a href="/logout?callback={{request.path}}">logout</a>
{% else %}
<form method="POST" action="/login">
<input type="text" name="login" placeholder="Login" />
<input type="password" name="password" placeholder="Password"/>
<input type="hidden" name="callback" value="{{request.path}}" />
<input type="submit" name="submit" value="Se connecter"/>
</form>
{% endif %}
</div>
</nav>
<div id="main">
{% block main %}
{% endblock %}
</div>
</body>
</html>