Files
pdf-writer/frontend/public/edit/dailyDish.html
T

70 lines
3.7 KiB
HTML
Raw Normal View History

2025-02-15 18:48:34 +01:00
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<title>Speiseplan Generator</title>
2025-02-18 21:50:17 +01:00
<meta name="google" content="notranslate">
2025-02-24 11:34:27 +01:00
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;700&display=swap" rel="stylesheet">
2025-02-19 22:55:11 +01:00
<link rel="stylesheet" type="text/css" href="../style.css">
2025-02-15 18:48:34 +01:00
</head>
<body>
<div class="container">
<div class="week-controls">
<button onclick="previousWeek()">&lt; Vorherige Woche</button>
<span id="currentWeek"></span>
<button onclick="nextWeek()">Nächste Woche &gt;</button>
</div>
<div class="day-controls">
<button onclick="previousDay()">&lt; Vorheriger Tag</button>
<span id="currentDay"></span>
<button onclick="nextDay()">Nächster Tag &gt;</button>
</div>
<div class="template-container">
2025-02-19 22:55:11 +01:00
<div class="template-page dailyDish-bg">
2025-02-15 18:48:34 +01:00
<div class="form-overlay">
<form id="menuForm">
2025-02-15 21:26:27 +01:00
<script>
for (let i = 0; i < 5; i++) {
document.write(`
<div id="dayForm${i}" class="day-form ${i === 0 ? 'active' : ''}">
2025-02-25 15:17:45 +01:00
<input type="text" class="input-field-20" name="dateTitle${i}" style="bottom: 65.5%; left: 13.2%" placeholder="Datum">
<select class="input-field-19-h" name="dailyHalalVeggi${i}" style="bottom: 56.5%; left: 41.5%">
2025-02-15 22:37:07 +01:00
<option value="" style="color:red;">----</option>
<option value="halal" style="color:#00B050;">„HALAL“</option>
2025-02-19 22:55:11 +01:00
<option value="veggi" style="color:#00B050;">„veggi“</option>
2025-02-15 22:37:07 +01:00
</select>
2025-02-25 15:17:45 +01:00
<input type="text" class="input-field-19-b" name="dailyMain${i}" style="bottom: 48%; left: 13.2%" placeholder="Tagesgericht">
<input type="text" class="input-field-19" name="dailySide${i}" style="bottom: 41.2%; left: 13.2%" placeholder="Beilage">
<input type="text" class="input-field-14-i" name="dailyPrice${i}" style="bottom: 33.3%; left: 13.2%" placeholder="Preis">
<select class="input-field-19-h" name="soupHalalVeggi${i}" style="bottom: 22.7%; left: 32.5%">
<option value="" style="color:red;">----</option>
<option value="halal" style="color:#00B050;">„HALAL“</option>
<option value="veggi" style="color:#00B050;">„veggi“</option>
</select>
<input type="text" class="input-field-19-b" name="dailySoup${i}" style="bottom: 14.5%; left: 13.2%" placeholder="Tagessuppe">
<input type="text" class="input-field-14-i" name="soupPrice${i}" style="bottom: 6.3%; left: 13.2%" placeholder="Preis">
2025-02-15 21:26:27 +01:00
</div>
`);
}
</script>
2025-02-15 18:48:34 +01:00
</form>
</div>
</div>
</div>
<div class="bottom-controls">
2025-02-15 19:09:22 +01:00
<button onclick="saveWeek()">Woche speichern</button>
2025-02-15 18:48:34 +01:00
<button onclick="generatePDF()">PDF generieren</button>
</div>
</div>
2025-02-21 22:22:06 +01:00
<script src="../src/dailyDish.js"></script>
2025-02-15 18:48:34 +01:00
</body>
</html>