appointments_print.html
| 1 | {{define "appointments_print"}}<!doctype html> |
| 2 | <html lang="de"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | <title>Termine – {{.P.Name}}</title> |
| 7 | <link rel="stylesheet" href="/static/print.css"> |
| 8 | </head> |
| 9 | <body class="summary"> |
| 10 | <p class="hint">Drucken oder als PDF speichern: <kbd>Strg</kbd>+<kbd>P</kbd>. · <a href="/patient/{{.P.ID}}#termine">zurück</a> |
| 11 | {{if not .Public}}<br><strong>Achtung:</strong> PHYSIOBASE_PUBLIC_URL ist nicht gesetzt – der Kalender-Link funktioniert nur im Praxisnetz.{{end}}</p> |
| 12 | <header> |
| 13 | <div> |
| 14 | <h1>Ihre Termine</h1> |
| 15 | <p class="for">für {{.P.Name}}</p> |
| 16 | </div> |
| 17 | <div class="meta"><img src="/static/logo.webp" alt="" class="logo"><br>{{.Practice}}{{with .Address}}<br>{{.}}{{end}}<br>Stand {{date .Today}}</div> |
| 18 | </header> |
| 19 | {{if .Appts}} |
| 20 | <table class="appt-print"> |
| 21 | <thead><tr><th>Tag</th><th>Uhrzeit</th><th>Behandlung</th><th>bei</th><th>Hinweis</th></tr></thead> |
| 22 | <tbody> |
| 23 | {{range .Appts}} |
| 24 | <tr{{if .Cancelled}} class="cancelled"{{end}}><td>{{day .Start}}</td><td>{{hm .Start}}–{{hm .End}} Uhr</td> |
| 25 | <td>{{.Title}}{{if .Cancelled}} – <strong>abgesagt</strong>{{end}}{{with .Location}}<br><small>{{.}}</small>{{end}}</td> |
| 26 | <td>{{.TherapistName}}</td><td>{{.Note}}</td></tr> |
| 27 | {{end}} |
| 28 | </tbody> |
| 29 | </table> |
| 30 | {{else}}<p>Zurzeit sind keine Termine eingetragen.</p>{{end}} |
| 31 | <section class="cal-box"> |
| 32 | <img src="/patient/{{.P.ID}}/kalender-qr.svg" alt="QR-Code Kalender-Abo" class="qr"> |
| 33 | <div> |
| 34 | <h2>Termine im Handy-Kalender</h2> |
| 35 | <p>QR-Code mit der Kamera scannen und den Kalender abonnieren. Neue Termine, Änderungen und Absagen erscheinen dann automatisch.</p> |
| 36 | <p class="url">{{.CalURL}}</p> |
| 37 | </div> |
| 38 | </section> |
| 39 | <footer>Bitte sagen Sie Termine, die Sie nicht wahrnehmen können, mindestens 24 Stunden vorher ab.</footer> |
| 40 | </body> |
| 41 | </html>{{end}} |
| 42 |