first commit
This commit is contained in:
28
templates/master.html
Normal file
28
templates/master.html
Normal 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>
|
Reference in New Issue
Block a user