Fix: Umlaute in index.html korrigiert + Feature: Tee-Timer
- index.html: "Jährlicher Konsum nach Sorte" sowie "Geräten", "Hinzufügen", "Brühzeit", "Einträge" korrigiert (Umlaute fehlten) - Neuer Tee-Timer: Presets 3/5 Min., eigene Zeit (Min/Sek. einstellbar), Start/Pause/Weiter/Zurücksetzen, Restzeit driftfrei über Endzeit, akustischer Alarm (WebAudio) + Toast bei Ablauf - styles.css: Timer-Styles (Display, Presets, Controls, Status) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
36
index.html
36
index.html
@ -28,7 +28,7 @@
|
||||
<section id="auth-section" class="auth-section hidden">
|
||||
<div class="auth-card">
|
||||
<h2>🔐 Anmeldung</h2>
|
||||
<p>Melden Sie sich an, um Ihre Daten auf allen Geraeten zu synchronisieren.</p>
|
||||
<p>Melden Sie sich an, um Ihre Daten auf allen Geräten zu synchronisieren.</p>
|
||||
<button id="googleSignIn" class="btn btn-primary google-btn">
|
||||
<span class="google-icon">G</span> Mit Google anmelden
|
||||
</button>
|
||||
@ -76,7 +76,7 @@
|
||||
</div>
|
||||
|
||||
<div class="chart-container full-width">
|
||||
<h3>Ja hrlicher Konsum nach Sorte</h3>
|
||||
<h3>Jährlicher Konsum nach Sorte</h3>
|
||||
<canvas id="yearChart"></canvas>
|
||||
</div>
|
||||
</section>
|
||||
@ -88,7 +88,7 @@
|
||||
<form id="addTeaForm" class="add-form">
|
||||
<input type="text" id="teaName" placeholder="Name der Teesorte" required>
|
||||
<input type="color" id="teaColor" value="#4CAF50">
|
||||
<button type="submit" class="btn btn-primary">Hinzufugen</button>
|
||||
<button type="submit" class="btn btn-primary">Hinzufügen</button>
|
||||
</form>
|
||||
<div id="teaList" class="tea-list"></div>
|
||||
</div>
|
||||
@ -108,7 +108,7 @@
|
||||
<select id="trackTea" required></select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Bruhzeit:</label>
|
||||
<label>Brühzeit:</label>
|
||||
<div class="radio-group">
|
||||
<label class="radio-label">
|
||||
<input type="radio" name="brewTime" value="kurz" checked>
|
||||
@ -137,9 +137,35 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Tea Timer Section -->
|
||||
<section class="timer-section">
|
||||
<h2>⏱️ Tee-Timer</h2>
|
||||
<div class="form-container">
|
||||
<div class="timer-display" id="timerDisplay">03:00</div>
|
||||
<div class="timer-presets">
|
||||
<button type="button" class="btn btn-secondary timer-preset" data-minutes="3">3 Min.</button>
|
||||
<button type="button" class="btn btn-secondary timer-preset" data-minutes="5">5 Min.</button>
|
||||
</div>
|
||||
<div class="timer-custom">
|
||||
<label for="timerMinutes">Eigene Zeit:</label>
|
||||
<input type="number" id="timerMinutes" min="0" max="180" step="1" value="3">
|
||||
<span>Min</span>
|
||||
<input type="number" id="timerSeconds" min="0" max="59" step="1" value="0">
|
||||
<span>Sek</span>
|
||||
<button type="button" id="timerCustomSet" class="btn btn-secondary btn-small">Übernehmen</button>
|
||||
</div>
|
||||
<div class="timer-controls">
|
||||
<button type="button" id="timerStart" class="btn btn-primary">Start</button>
|
||||
<button type="button" id="timerPause" class="btn btn-secondary" disabled>Pause</button>
|
||||
<button type="button" id="timerReset" class="btn btn-danger">Zurücksetzen</button>
|
||||
</div>
|
||||
<div id="timerStatus" class="timer-status"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Consumption History Section -->
|
||||
<section class="history-section">
|
||||
<h2>📊 Letzte Eintrage</h2>
|
||||
<h2>📊 Letzte Einträge</h2>
|
||||
<div class="history-controls">
|
||||
<button id="filterToday" class="btn btn-secondary">Heute</button>
|
||||
<button id="filterWeek" class="btn btn-secondary">Letzte 7 Tage</button>
|
||||
|
||||
Reference in New Issue
Block a user