Projet

Général

Profil

0003-manager-center-cell-values-in-import-report-44805.patch

Benjamin Dauvergne, 14 juillet 2020 18:24

Télécharger (1,97 ko)

Voir les différences:

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(-)
src/authentic2/manager/static/authentic2/manager/css/user_import.css
45 45
        padding-left: 1ex;
46 46
}
47 47

  
48
table.main .cell {
49
        text-align: center;
50
}
51

  
48 52
span.icon-check::after {
49 53
    content: "\f00c";
50 54
    font-family: FontAwesome;
src/authentic2/manager/templates/authentic2/manager/user_import_report.html
111 111
              <tr class="{% if row.is_valid %}row-valid{% else %}row-invalid{% endif %} row-action-{{ row.action }}">
112 112
                <td class="row-line">{{ row.line }}</td>
113 113
                {% for cell in row %}
114
                  <td class="{% if cell.errors %}cell-errors{% endif %} {% if cell.action %}cell-action-{{ cell.action }}{% endif %}">{{ cell.value }}</td>
114
                  <td class="cell {% if cell.errors %}cell-errors{% endif %} {% if cell.action %}cell-action-{{ cell.action }}{% endif %}">{{ cell.value }}</td>
115 115
                {% endfor %}
116 116
                <td class="row-action">{% firstof row.action_display "-" %}</td>
117 117
              </tr>
118
-