182 lines
5.9 KiB
HTML
182 lines
5.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Bestellkalender Demo</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #f9f9f9;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
.calendar-container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
padding: 20px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
|
}
|
|
.calendar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.btn {
|
|
padding: 8px 16px;
|
|
background: #007bff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
.btn:hover {
|
|
background: #0056b3;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
}
|
|
th {
|
|
background: #f1f3f5;
|
|
color: #495057;
|
|
padding: 12px;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
border: 1px solid #dee2e6;
|
|
}
|
|
td {
|
|
border: 1px solid #dee2e6;
|
|
padding: 8px;
|
|
height: 100px;
|
|
vertical-align: top;
|
|
background: #fff;
|
|
}
|
|
.day-number {
|
|
font-weight: bold;
|
|
color: #6c757d;
|
|
margin-bottom: 5px;
|
|
display: block;
|
|
}
|
|
/* Style für Tage außerhalb des aktuellen Monats */
|
|
.other-month {
|
|
background: #f8f9fa;
|
|
}
|
|
.other-month .day-number {
|
|
color: #cee2e6;
|
|
opacity: 0.5;
|
|
}
|
|
/* CSS für die Bestell-Labels */
|
|
.order-badge {
|
|
font-size: 11px;
|
|
padding: 4px 6px;
|
|
margin-top: 4px;
|
|
border-radius: 3px;
|
|
display: block;
|
|
text-decoration: none;
|
|
}
|
|
.order-success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
border-left: 3px solid #28a745;
|
|
}
|
|
.order-pending {
|
|
background-color: #fff3cd;
|
|
color: #856404;
|
|
border-left: 3px solid #ffc107;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="calendar-container">
|
|
|
|
<!-- Kalender Kopfbereich für die Navigation -->
|
|
<div class="calendar-header">
|
|
<button class="btn">« Vorheriger</button>
|
|
<h2>Oktober 2026</h2>
|
|
<button class="btn">Nächster »</button>
|
|
</div>
|
|
|
|
<!-- Kalender Tabelle -->
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Mo</th>
|
|
<th>Di</th>
|
|
<th>Mi</th>
|
|
<th>Do</th>
|
|
<th>Fr</th>
|
|
<th>Sa</th>
|
|
<th>So</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<!-- Leere Tage / Vormonat -->
|
|
<td class="other-month"><span class="day-number">28</span></td>
|
|
<td class="other-month"><span class="day-number">29</span></td>
|
|
<td class="other-month"><span class="day-number">30</span></td>
|
|
|
|
<!-- Aktueller Monat startet -->
|
|
<td>
|
|
<span class="day-number">1</span>
|
|
<div class="order-badge order-success">#1024 - Geliefert</div>
|
|
</td>
|
|
<td><span class="day-number">2</span></td>
|
|
<td><span class="day-number">3</span></td>
|
|
<td><span class="day-number">4</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="day-number">5</span></td>
|
|
<td>
|
|
<span class="day-number">6</span>
|
|
<div class="order-badge order-pending">#1025 - Offen</div>
|
|
<div class="order-badge order-success">#1026 - Geliefert</div>
|
|
</td>
|
|
<td><span class="day-number">7</span></td>
|
|
<td><span class="day-number">8</span></td>
|
|
<td><span class="day-number">9</span></td>
|
|
<td><span class="day-number">10</span></td>
|
|
<td><span class="day-number">11</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="day-number">12</span></td>
|
|
<td><span class="day-number">13</span></td>
|
|
<td><span class="day-number">14</span></td>
|
|
<td><span class="day-number">15</span></td>
|
|
<td><span class="day-number">16</span></td>
|
|
<td><span class="day-number">17</span></td>
|
|
<td><span class="day-number">18</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="day-number">19</span></td>
|
|
<td><span class="day-number">20</span></td>
|
|
<td><span class="day-number">21</span></td>
|
|
<td><span class="day-number">22</span></td>
|
|
<td><span class="day-number">23</span></td>
|
|
<td><span class="day-number">24</span></td>
|
|
<td><span class="day-number">25</span></td>
|
|
</tr>
|
|
<tr>
|
|
<td><span class="day-number">26</span></td>
|
|
<td><span class="day-number">27</span></td>
|
|
<td><span class="day-number">28</span></td>
|
|
<td><span class="day-number">29</span></td>
|
|
<td><span class="day-number">30</span></td>
|
|
<td><span class="day-number">31</span></td>
|
|
<!-- Nächster Monat auffüllen -->
|
|
<td class="other-month"><span class="day-number">1</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|