adjusted layout
This commit is contained in:
parent
8bc0a642a3
commit
8a9a667429
|
@ -17,7 +17,13 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for t, data in assigned_tokens.items() %}
|
||||
<tr>
|
||||
<tr
|
||||
{% if loop.index % 2 %}
|
||||
style="background-color: lightgrey"
|
||||
{% else %}
|
||||
style="background-color: mintcream"
|
||||
{% endif %}
|
||||
>
|
||||
<td>{{ t }}</td>
|
||||
{% for field in ['name', 'organization', 'email', 'valid_thru'] %}
|
||||
<td>{{ data[field] if data[field] }}</td>
|
||||
|
@ -29,8 +35,13 @@
|
|||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% if inactive_tokens | length > 0 %}
|
||||
<tr>
|
||||
<td>Inaktive Tokens:</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for t, data in inactive_tokens.items() %}
|
||||
<tr style="background-color: lightgrey">
|
||||
<tr style="background-color: sandybrown">
|
||||
<td>{{ t }}</td>
|
||||
{% for field in ['name', 'organization', 'email', 'valid_thru'] %}
|
||||
<td>{{ data[field] if data[field] }}</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user