notebookVB
This commit is contained in:
122
Templates/vzp_console_report.html
Normal file
122
Templates/vzp_console_report.html
Normal file
@@ -0,0 +1,122 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="cs">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Kontrola stavu pojištění</title>
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'DejaVu';
|
||||
src: url('{{ font_regular }}');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DejaVu';
|
||||
src: url('{{ font_bold }}');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'DejaVu';
|
||||
src: url('{{ font_italic }}');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@page {
|
||||
size: A4;
|
||||
margin: 1.5cm;
|
||||
@bottom-right {
|
||||
content: "Strana " counter(page) " z " counter(pages);
|
||||
font-size: 9pt;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'DejaVu', sans-serif;
|
||||
font-size: 10pt;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 16pt;
|
||||
border-bottom: 2px solid #2c3e50;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.meta {
|
||||
font-size: 9pt;
|
||||
margin-bottom: 15px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid #ccc;
|
||||
padding: 6px 8px;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
|
||||
tr {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
tr:nth-child(even) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.status-bad {
|
||||
color: #d9534f;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Kontrola stavu pojištění (VZP)</h1>
|
||||
|
||||
<div class="meta">
|
||||
Vygenerováno: {{ generated_at }}
|
||||
</div>
|
||||
|
||||
{% if patients %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Rodné číslo</th>
|
||||
<th>Příjmení a jméno</th>
|
||||
<th>Pojišťovna</th>
|
||||
<th>Stav</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for p in patients %}
|
||||
<tr>
|
||||
<td>{{ p.rc }}</td>
|
||||
<td><strong>{{ p.prijmeni }}</strong> {{ p.jmeno }}</td>
|
||||
<td>{{ p.poj }}</td>
|
||||
<td class="status-bad">{{ p.stav }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p style="color: green; font-weight: bold;">
|
||||
✔ Vše v pořádku – žádné neshody nenalezeny.
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user