From 8722e72f8d3dceaee3357f898791f22ad6c0e2db Mon Sep 17 00:00:00 2001 From: kaiyou Date: Wed, 1 Nov 2017 16:28:14 +0100 Subject: [PATCH] Fix the token list template --- admin/mailu/ui/templates/token/list.html | 40 +++++++++++------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/admin/mailu/ui/templates/token/list.html b/admin/mailu/ui/templates/token/list.html index b3996da8..ad560e6a 100644 --- a/admin/mailu/ui/templates/token/list.html +++ b/admin/mailu/ui/templates/token/list.html @@ -12,25 +12,23 @@ {% trans %}New token{% endtrans %} {% endblock %} -{% block box %} - - - - - - - - - {% for token in user.tokens %} - - - - - - - {% endfor %} - -
{% trans %}Actions{% endtrans %}{% trans %}Comment{% endtrans %}{% trans %}Authorized IP{% endtrans %}{% trans %}Created{% endtrans %}
- - {{ token.comment }}{{ token.ip or "any" }}{{ token.created_at }}
+{% block content %} +{% call macros.table() %} + + {% trans %}Actions{% endtrans %} + {% trans %}Comment{% endtrans %} + {% trans %}Authorized IP{% endtrans %} + {% trans %}Created{% endtrans %} + +{% for token in user.tokens %} + + + + + {{ token.comment }} + {{ token.ip or "any" }} + {{ token.created_at }} + +{% endfor %} +{% endcall %} {% endblock %}