Add column name classes to <td>s, make PK bold

This commit is contained in:
Russ Garrett 2018-04-17 09:29:48 +01:00 committed by Simon Willison
commit 136a70d887
3 changed files with 39 additions and 36 deletions

View file

@ -17,6 +17,9 @@ td {
padding: 4px;
vertical-align: top;
}
td.col-link {
font-weight: bold;
}
td em {
font-style: normal;
font-size: 0.8em;

View file

@ -20,7 +20,7 @@
{% for row in display_rows %}
<tr>
{% for cell in row %}
<td>{{ cell.value }}</td>
<td class="col-{{ cell.column|lower }}">{{ cell.value }}</td>
{% endfor %}
</tr>
{% endfor %}