Add printable export
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user