Die gewünschte HTML-Struktur wurde übernommen.

This commit is contained in:
2021-04-08 19:09:44 +02:00
parent 881e7362f8
commit 89ad394773
3 changed files with 86 additions and 66 deletions
+27 -22
View File
@@ -6,25 +6,30 @@
<title>{params.title}</title>
</svelte:head>
<h1>{params.title}</h1>
<table>
<thead>
<tr>
<th>Zeitraum</th>
<th>Arbeitstage</th>
<th>Arbeitsstunden</th>
<th>Über- / Unterstunden</th>
</tr>
</thead>
<tbody>
{#each params.records as record}
<tr>
<td>{record.period}</td>
<td>{record.workingDays}</td>
<td>{record.totalHours}</td>
<td>{record.overtime}</td>
</tr>
{/each}
</tbody>
</table>
<section id="list-records">
<header>
<h1>{params.title}</h1>
</header>
<article>
<table>
<thead>
<tr>
<th>Zeitraum</th>
<th>Arbeitstage</th>
<th>Arbeitsstunden</th>
<th>Über- / Unterstunden</th>
</tr>
</thead>
<tbody>
{#each params.records as record}
<tr>
<td>{record.period}</td>
<td>{record.workingDays}</td>
<td>{record.totalHours}</td>
<td>{record.overtime}</td>
</tr>
{/each}
</tbody>
</table>
</article>
</section>