Matrix-Chatfenster (read-only) im Dashboard integrieren

This commit is contained in:
Kai
2026-02-17 15:42:58 +01:00
parent 53d4052446
commit 234bd7e182
9 changed files with 207 additions and 2 deletions

View File

@@ -83,6 +83,30 @@
{{end}}
</section>
<section class="card">
<h2>Matrix-Chat</h2>
{{if .MatrixEnabled}}
<p class="hint">Raum: <code>{{.MatrixRoomID}}</code></p>
{{if .MatrixError}}
<p class="muted">Chat konnte nicht geladen werden: {{.MatrixError}}</p>
{{else if .MatrixMessages}}
<ul class="matrix-list">
{{range .MatrixMessages}}
<li>
<div><strong>{{.Sender}}</strong></div>
<div>{{.Body}}</div>
<div class="muted">{{.Timestamp}}</div>
</li>
{{end}}
</ul>
{{else}}
<p class="muted">Keine Nachrichten gefunden.</p>
{{end}}
{{else}}
<p class="muted">Matrix-Chat ist nicht konfiguriert.</p>
{{end}}
</section>
<section class="card full-width">
<h2>Kalender ab jetzt (14 Monate)</h2>
<div class="calendar-grid">