fix(night-contingent) : largeur colonne Nom, police agrandie, separateurs de mois

This commit is contained in:
2026-06-11 14:52:15 +02:00
parent e65dee696e
commit dc213523b9
@@ -4,16 +4,18 @@
<meta charset="utf-8"> <meta charset="utf-8">
<style> <style>
@page { margin: 16px; } @page { margin: 16px; }
body { font-family: DejaVu Sans, sans-serif; font-size: 8px; color: #000; } body { font-family: DejaVu Sans, sans-serif; font-size: 10px; color: #000; }
h1 { font-size: 13px; margin: 0 0 2px; } h1 { font-size: 15px; margin: 0 0 2px; }
.meta { font-size: 8px; color: #555; margin-bottom: 8px; } .meta { font-size: 9px; color: #555; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; } table { width: 100%; border-collapse: collapse; }
th, td { border: 1px solid #999; padding: 2px 3px; text-align: center; } th, td { border: 1px solid #999; padding: 2px 1px; text-align: center; }
th { background: #d9d9d9; } th { background: #d9d9d9; }
td.name, th.name { text-align: left; width: 130px; word-break: break-word; } td.name, th.name { text-align: left; width: 145px; padding-left: 4px; padding-right: 6px; }
.sub { font-size: 7px; } .sub { font-size: 9px; }
td.data, th.data { width: 34px; font-size: 9px; }
tr.site-title td { text-align: left; font-weight: bold; } tr.site-title td { text-align: left; font-weight: bold; }
td.hours { white-space: nowrap; } td.hours { white-space: nowrap; }
td.month-start, th.month-start { border-left: 2.5px solid #333; }
</style> </style>
</head> </head>
<body> <body>
@@ -27,13 +29,13 @@
<tr> <tr>
<th class="name" rowspan="2">Nom</th> <th class="name" rowspan="2">Nom</th>
{% for m in months %} {% for m in months %}
<th colspan="2">{{ m }}</th> <th class="month-start" colspan="2">{{ m }}</th>
{% endfor %} {% endfor %}
</tr> </tr>
<tr> <tr>
{% for m in months %} {% for m in months %}
<th class="sub">H.nuit</th> <th class="sub data month-start">H.nuit</th>
<th class="sub">N.jours</th> <th class="sub data">N.jours</th>
{% endfor %} {% endfor %}
</tr> </tr>
</thead> </thead>
@@ -46,8 +48,8 @@
<tr> <tr>
<td class="name">{{ row.employeeName }}</td> <td class="name">{{ row.employeeName }}</td>
{% for cell in row.cells %} {% for cell in row.cells %}
<td class="hours">{{ cell.hours }}</td> <td class="hours data month-start">{{ cell.hours }}</td>
<td>{{ cell.days }}</td> <td class="data">{{ cell.days }}</td>
{% endfor %} {% endfor %}
</tr> </tr>
{% endfor %} {% endfor %}