diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-07 01:44:50 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-07 01:44:50 +0100 |
| commit | 2560a668f7b46067566a7203666f4d072ac6752e (patch) | |
| tree | fbfd61f94924588c7f4cd0c1943f12cda1baccf4 /templates | |
| parent | df25a48abd69292af55f3356a48a737da829cd20 (diff) | |
| download | famille-flask-2560a668f7b46067566a7203666f4d072ac6752e.tar.gz | |
Add logout
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layout.html | 3 | ||||
| -rw-r--r-- | templates/toto.html | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/templates/layout.html b/templates/layout.html index be923ea..f5a5395 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -10,7 +10,8 @@ <div class="container"> <div class="sheet"> <div class="top"> - (<a href="/user/edit">Mon compte</a> | <a href="/disconnect.php">Se déconnecter</a>)</p> + {{ session['user_name']}} + (<a href="/user/edit">Mon compte</a> | <a href="/logout">Se déconnecter</a>)</p> </div> <div class="main_menu"> <table> diff --git a/templates/toto.html b/templates/toto.html deleted file mode 100644 index cfe9772..0000000 --- a/templates/toto.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "layout.html" %} -{% block content %} - salut -{% endblock %} - |
