notebookVB
This commit is contained in:
@@ -61,6 +61,7 @@ table {
|
||||
th, td {
|
||||
border: 1px solid #ccc;
|
||||
padding: 6px 8px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th {
|
||||
@@ -79,6 +80,11 @@ tr:nth-child(even) {
|
||||
color: #d9534f;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.date-info {
|
||||
font-size: 9pt;
|
||||
color: #555;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -98,6 +104,7 @@ tr:nth-child(even) {
|
||||
<th>Příjmení a jméno</th>
|
||||
<th>Pojišťovna</th>
|
||||
<th>Stav</th>
|
||||
<th>Platnost pojištění</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -107,6 +114,14 @@ tr:nth-child(even) {
|
||||
<td><strong>{{ p.prijmeni }}</strong> {{ p.jmeno }}</td>
|
||||
<td>{{ p.poj }}</td>
|
||||
<td class="status-bad">{{ p.stav }}</td>
|
||||
<td class="date-info">
|
||||
{% if p.insured_to %}
|
||||
pojištěn do {{ p.insured_to.strftime("%d.%m.%Y") }}<br>
|
||||
nepojištěn od {{ p.uninsured_from.strftime("%d.%m.%Y") }}
|
||||
{% else %}
|
||||
nelze určit
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -119,4 +134,3 @@ tr:nth-child(even) {
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user