Terminwahl/terminwahl_back/templates/lehrer_einzeln.html.hbs

76 lines
2.2 KiB
Handlebars
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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}} <br /><small>⇨ {{appointment.nutzer.schueler}}</small>
</td>
</tr>
{{/each}}
</tbody>
</table>
</div>
</div>
</div>
</div>
{{/each}}
</div>
</div>
</section>
</body>
</html>