comparison default/login/logged.html @ 54:a5dc14675d5e

login: login, logged and registration pages
author Goffi <goffi@goffi.org>
date Fri, 27 Oct 2017 18:56:21 +0200
parents
children a37d535b7ddd
comparison
equal deleted inserted replaced
53:dfef430a26ef 54:a5dc14675d5e
1 {% set post_confirm_message=_("You have been logged correctly") %}
2 {% if not embedded %}{% extends 'base/base.html' %}{% endif %}
3 {% import 'input/form.html' as form with context %}
4 {% import 'input/field.html' as field with context %}
5
6 {% block title %}{{C.APP_NAME}}{% endblock %}
7
8 {% block confirm_message %}
9 {% trans %}You have been logged correctly{% endtrans %}
10 {% endblock confirm_message %}
11
12 {% block body %}
13 <div id='logged'>
14 <div class='logged_box box'>
15 <p>You are logged under the account <span class="logged_profile">{{profile}}</span></p>
16 </div>
17 {% call form.form() %}
18 {{ field.meta('type', 'disconnect') }}
19 {{ field.submit(_("Disconnect")) }}
20 {% endcall %}
21 </div>
22 {% endblock body %}