</main>
    </div>
    <div class="modal fade" id="globalActivityModal" tabindex="-1"><div class="modal-dialog modal-lg"><div class="modal-content"><div class="modal-header"><h5 class="modal-title">Aktivität für mehrere Pflanzen durchführen</h5><button type="button" class="btn-close" data-bs-dismiss="modal"></button></div><div class="modal-body"><form id="global-activity-form"><input type="hidden" name="action" value="add_global_activity"><div class="row"><div class="col-md-6 mb-3"><label class="form-label">Aktivität</label><select class="form-select" name="activity_type" required><option value="Wässern">Wässern</option><option value="Düngen">Düngen</option><option value="Schnitt">Schnitt</option><option value="Sonstiges">Sonstiges</option></select></div><div class="col-md-6 mb-3"><label class="form-label">Datum & Uhrzeit</label><input class="form-control" type="datetime-local" name="activity_date" required></div></div><div class="mb-3"><label class="form-label">Notiz (optional)</label><textarea class="form-control" name="note" rows="2"></textarea></div><hr><div class="mb-3"><label class="form-label">Für welche Pflanzen?</label><div id="plant-target-selection"><p class="text-muted">Bitte zuerst eine Zone auswählen.</p></div></div></form></div><div class="modal-footer justify-content-between"><div><label for="zone-filter-select" class="form-label-sm">Nach Zone filtern:</label><select class="form-select form-select-sm" id="zone-filter-select"><option value="all">Alle aktiven Pflanzen</option></select></div><button type="submit" class="btn btn-primary" form="global-activity-form">Aktion für ausgewählte Pflanzen speichern</button></div></div></div></div>
    <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.datatables.net/2.0.8/js/dataTables.min.js"></script>
    <script src="https://cdn.datatables.net/2.0.8/js/dataTables.bootstrap5.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    <script src="js/main.js?v=<?php echo APP_VERSION; ?>"></script>
</body>
</html>
