Reorganize into monorepo layout, move mitarbeiter-app to legacy reference
Consolidates the previously separate omsorgapp and omsorgCore repos (each had their own nested .git with GitHub history) plus the old root-level website/mitarbeiter-app into a single monorepo, matching the structure already documented in the root CLAUDE.md. Also moves the PHP employee app aside as omsorgWeb/mitarbeiter-app-legacy/ to serve as a template for a ground-up rewrite. Fixes .gitignore in the same pass: the config-secrets/uploads/data patterns were unanchored (relative to repo root, not depth-agnostic), so they silently stopped matching once the app moved under omsorgWeb/. Patterns are now **/-prefixed and cover both mitarbeiter-app and mitarbeiter-app-legacy, keeping DB/SMTP credentials and uploaded employee documents out of version control. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
8beb0fcf52
commit
b6c1389c55
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../lib/auth.php';
|
||||
require_once __DIR__ . '/../lib/layout.php';
|
||||
require_login();
|
||||
|
||||
$downloads = db()->query('SELECT * FROM downloads ORDER BY sort_order ASC, id ASC')->fetchAll();
|
||||
|
||||
layout_start('OMSORG – Downloads', 'downloads');
|
||||
?>
|
||||
<h1 class="main-title">Down<span>loads</span></h1>
|
||||
<p class="main-sub">Dokumente und Formulare zum Herunterladen.</p>
|
||||
|
||||
<?php if (empty($downloads)): ?>
|
||||
<p style="color:var(--muted);margin-top:40px">Noch keine Downloads verfügbar.</p>
|
||||
<?php else: ?>
|
||||
<div class="downloads-grid">
|
||||
<?php foreach ($downloads as $dl): ?>
|
||||
<div class="glass download-card">
|
||||
<h3 class="download-card-title"><?= e($dl['title']) ?></h3>
|
||||
<?php if ($dl['description'] !== ''): ?>
|
||||
<p class="download-card-desc"><?= e($dl['description']) ?></p>
|
||||
<?php endif; ?>
|
||||
<a href="download-serve.php?id=<?= (int)$dl['id'] ?>" class="btn download-btn">↓ Herunterladen</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php layout_end(); ?>
|
||||
Reference in New Issue
Block a user