More html cleanup to match W3c

This commit is contained in:
2023-09-22 14:30:06 +02:00
parent 5ebce9480e
commit 8c15441fe5
13 changed files with 38 additions and 34 deletions

View File

@@ -17,25 +17,25 @@
<tbody>
{% if d.logo %}
<tr>
<th width="35%" scope="row">Logo</th>
<th class="th-35" scope="row">Logo</th>
<td><img style="max-height: 48px" src="{{ d.logo.url }}" /></td>
</tr>
{% endif %}
<tr>
<th width="35%" scope="row">Name</th>
<th class="th-35" scope="row">Name</th>
<td>{{ d.extended_name }}</td>
</tr>
<tr>
<th width="35%" scope="row">Abbreviation</th>
<th class="th-35" scope="row">Abbreviation</th>
<td>{{ d.name }}</td>
</tr>
<tr>
<th width="35%" scope="row">Country</th>
<th class="th-35" scope="row">Country</th>
<td>{{ d.country.name }} <img src="{{ d.country.flag }}" alt="{{ d.country }}" />
</tr>
{% if d.freelance %}
<tr>
<th width="35%" scope="row">Notes</th>
<th class="th-35" scope="row">Notes</th>
<td>A <em>freelance</em> company</td>
</tr>
{% endif %}