column headers

This commit is contained in:
Frédéric Péters 2011-12-19 12:23:17 +01:00
parent c8bf1224fb
commit 8bde96c7d7
2 changed files with 12 additions and 1 deletions

View File

@ -34,7 +34,7 @@
<div class="results-var">
<div class="results">
<table>
<thead>
<thead tal:condition="results">
<tr>
<th>Session</th>
<th>Titre</th>

View File

@ -34,6 +34,16 @@
<div class="results-var">
<div class="results">
<table>
<thead tal:condition="results">
<tr>
<th>Type</th>
<th>Date</th>
<th>Titre</th>
<th>Catégorie</th>
<th>Contact (expéd./destin.)</th>
<th>État</th>
</tr>
</thead>
<tal:entry tal:repeat="item batch">
<tr tal:define="oddrow repeat/item/odd;" tal:attributes="class python: oddrow and 'odd' or 'even'">
<td class="type" tal:content="item/Type"></td>
@ -55,6 +65,7 @@
background: #eee;
}
.results table tr th,
.results table tr td {
padding-right: 1em;
}