mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add column name classes to <td>s, make PK bold
This commit is contained in:
parent
0f782dd8df
commit
136a70d887
3 changed files with 39 additions and 36 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue