28 lines
865 B
HTML
28 lines
865 B
HTML
|
<!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>
|