From dcf2d8d895edc00b2403cb7f1fbb357941142128 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 13 Jul 2020 23:07:17 +0200 Subject: [PATCH 3/4] manager: center cell values in import report (#44805) --- .../manager/static/authentic2/manager/css/user_import.css | 4 ++++ .../templates/authentic2/manager/user_import_report.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/authentic2/manager/static/authentic2/manager/css/user_import.css b/src/authentic2/manager/static/authentic2/manager/css/user_import.css index 23b6ed20..7b0cdfa6 100644 --- a/src/authentic2/manager/static/authentic2/manager/css/user_import.css +++ b/src/authentic2/manager/static/authentic2/manager/css/user_import.css @@ -45,6 +45,10 @@ padding-left: 1ex; } +table.main .cell { + text-align: center; +} + span.icon-check::after { content: "\f00c"; font-family: FontAwesome; diff --git a/src/authentic2/manager/templates/authentic2/manager/user_import_report.html b/src/authentic2/manager/templates/authentic2/manager/user_import_report.html index ac75fdf0..7acea0bc 100644 --- a/src/authentic2/manager/templates/authentic2/manager/user_import_report.html +++ b/src/authentic2/manager/templates/authentic2/manager/user_import_report.html @@ -111,7 +111,7 @@ {{ row.line }} {% for cell in row %} - {{ cell.value }} + {{ cell.value }} {% endfor %} {% firstof row.action_display "-" %} -- 2.27.0