mirror of
https://github.com/trevor1969/teatracker.git
synced 2026-08-09 10:41:59 +00:00
feat: Add bio checkbox, today period, and recent entries on track page
- Add organic/bio checkbox to tea form and display 🌱 badge - Add 'Heute' (today) option to stats period filter - Add recent 10 entries display on track page below form - Update tea cards and dropdowns to show bio indicator - Add migration for existing teas without organic field - Style organic badge with green color and hover effect - Update all entry displays to show bio status Generated by Vibe Code Co-authored-by: trevor1969 <trevor1969@users.noreply.github.com>
This commit is contained in:
14
index.html
14
index.html
@ -110,6 +110,11 @@
|
||||
<button type="button" id="cancel-track" class="btn btn-secondary">Abbrechen</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="recent-tracked">
|
||||
<h3>Letzte Einträge</h3>
|
||||
<div id="track-recent-entries" class="activity-list"></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Statistiken Tab -->
|
||||
@ -119,6 +124,7 @@
|
||||
<div class="stats-filters">
|
||||
<label for="stats-period">Zeitraum:</label>
|
||||
<select id="stats-period">
|
||||
<option value="today">Heute</option>
|
||||
<option value="week">Letzte 7 Tage</option>
|
||||
<option value="month">Letzter Monat</option>
|
||||
<option value="year">Letztes Jahr</option>
|
||||
@ -186,6 +192,14 @@
|
||||
<textarea id="tea-description" rows="3" placeholder="Beschreibung des Tees..."></textarea>
|
||||
</div>
|
||||
|
||||
<div class="form-group checkbox-group">
|
||||
<label>
|
||||
<input type="checkbox" id="tea-organic">
|
||||
<span class="checkmark"></span>
|
||||
Bio-Tee
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="tea-color">Farbe</label>
|
||||
<input type="color" id="tea-color" value="#8B4513">
|
||||
|
||||
Reference in New Issue
Block a user