From 95bce2bbad0d63b877aadd8d6b4e2a8b831319cc Mon Sep 17 00:00:00 2001 From: Pontoporeia Date: Wed, 22 Apr 2026 11:18:52 +0200 Subject: [PATCH] Extract form CSS into form.css; scope system.css to system.php only --- TODO.md | 2 + app/public/admin/add.php | 1 + app/public/admin/edit.php | 1 + app/public/assets/css/admin.css | 460 +----------------------- app/public/assets/css/form.css | 604 ++++++++++++++++++++++++++++++++ app/public/partage/index.php | 70 +--- app/public/partage/thanks.php | 79 +---- 7 files changed, 636 insertions(+), 581 deletions(-) create mode 100644 app/public/assets/css/form.css diff --git a/TODO.md b/TODO.md index 5bf23ca..cc5db90 100644 --- a/TODO.md +++ b/TODO.md @@ -8,3 +8,5 @@ - [x] Fix SmtpRelay::send() — replace broken mail() stub with native PHP socket SMTP client (STARTTLS/SSL, AUTH PLAIN/LOGIN) - [x] Lock body scroll on all pages (admin + public); only `main` or inner element scrolls - [x] Unify form CSS between admin `add.php` and student partage form: move licence/share-badge styles into `admin.css`, remove inline ` + + - +

@@ -172,33 +141,10 @@ function requirePasswordGate(array $link, string $slug): void <?= htmlspecialchars($pageTitle) ?> - - + + - +

🔒 Accès protégé

@@ -251,9 +197,9 @@ function renderShareLinkForm(string $slug, array $link): void <?= htmlspecialchars($pageTitle) ?> - + - +

Soumettre un TFE

diff --git a/app/public/partage/thanks.php b/app/public/partage/thanks.php index f18636a..4f6f89e 100644 --- a/app/public/partage/thanks.php +++ b/app/public/partage/thanks.php @@ -38,69 +38,24 @@ $pageTitle = 'Merci — TFE enregistré'; <?= htmlspecialchars($pageTitle) ?> - - + + - -
-

✅ Merci !

-

Votre TFE a bien été enregistré sur la plateforme.

- - +