Terminwahl/terminwahl_back/templates/lehrer_einzeln.html.hbs

76 lines
2.1 KiB
Handlebars
Raw Normal View History

2023-02-11 09:31:16 +01:00
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8" />
<title>Elternsprechtagtermine</title>
<link rel="stylesheet" href="/{{css_file}}" />
<meta
name="keywords"
content="Termine,Waldorfschule,Lehrersprechtag,Lehrerinnensprechtag"
/>
<meta name="author" content="Franz Dietrich" />
<meta
name="description"
content="Termine buchen für den Lehrersprechtag der Waldorfschule Uhlandshöhe"
/>
<style>
@media print {
.card {
page-break-after: always;
}
.columns {
display: block !important;
}
}
</style>
</head>
<body>
<section class="section">
<div class="container">
<div class="columns is-multiline is-centered">
{{#each teachers as |lehrer|}}
<div
class="column is-12-tablet is-4-desktop"
>
<div class="card">
<header class="card-header">
<p class="card-header-title">
{{lehrer.teacher.ansprache}}
{{lehrer.teacher.last_name}}
</p>
</header>
<div class="card-content">
<div class="content">
<table class="table is-striped is-fullwidth">
<thead>
<tr>
<th>Zeit</th>
<th>Name</th>
</tr>
</thead>
<tbody>
{{#each lehrer.appointments as |appointment|}}
<tr>
<th>
{{time_of appointment.slot.start_time}}
{{time_of appointment.slot.end_time}}
</th>
<td>
{{appointment.nutzer.name}}
</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>
</div>
</div>
{{/each}}
</div>
</div>
</section>
</body>
</html>