Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/login/logged.html Fri Oct 27 18:56:21 2017 +0200 @@ -0,0 +1,22 @@ +{% set post_confirm_message=_("You have been logged correctly") %} +{% if not embedded %}{% extends 'base/base.html' %}{% endif %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} + +{% block title %}{{C.APP_NAME}}{% endblock %} + +{% block confirm_message %} + {% trans %}You have been logged correctly{% endtrans %} +{% endblock confirm_message %} + +{% block body %} +<div id='logged'> + <div class='logged_box box'> + <p>You are logged under the account <span class="logged_profile">{{profile}}</span></p> + </div> + {% call form.form() %} + {{ field.meta('type', 'disconnect') }} + {{ field.submit(_("Disconnect")) }} + {% endcall %} +</div> +{% endblock body %}