Mercurial > libervia-templates
comparison sat_templates/default/login/logged.html @ 147:33c7ce833d3f
install: setup.py fix + moved "default" dir in a "sat_templates" dir:
the merge request at https://bugs.goffi.org/mr/view/3 was a good basis, but not fully working ("default" dir was removed), this patch fixes it, and do some improvments:
- moved "default" in "sat_templates" dir, which correspond to the python module, so it can be found easily from python
- added VERSION, and mercurial hash detection, in the same way as for Cagou and backend
- slight modification of classifiers
- replaces tabs coming from MR by spaces
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 02 Jun 2018 17:25:43 +0200 |
parents | default/login/logged.html@460fc71bdc45 |
children |
comparison
equal
deleted
inserted
replaced
146:7dc00829c32f | 147:33c7ce833d3f |
---|---|
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 {% if guest_session %} | |
16 <p>{% trans %}You are logged as a guest{% endtrans %}</p> | |
17 {% else %} | |
18 <p>{% trans name='<span class="logged_profile">'|safe + profile + '</span>'|safe %}You are logged under the account {{name}} {% endtrans %}</p> | |
19 {% endif %} | |
20 <p>{% trans session_started='<span class="logged_time">'|safe + session_started|date_fmt('relative') + '</span>'|safe %}You logged {{session_started}}{% endtrans %}</p> | |
21 </div> | |
22 {% call form.form() %} | |
23 {{ field.meta('type', 'disconnect') }} | |
24 {{ field.submit(_("Disconnect")) }} | |
25 {% endcall %} | |
26 </div> | |
27 {% endblock body %} |