From b4e037f11d29379f82f14c1e4c0065a946fca170 Mon Sep 17 00:00:00 2001 From: pestak Date: Sun, 14 Dec 2025 11:42:13 +0100 Subject: [PATCH] normalisation blog + gestion images --- blog/html/accueil_blog.html | 16 +-- blog/html/ajouter_article.html | 227 ++++++++++++++++-------------- blog/html/ajouter_categorie.html | 14 +- blog/html/modifier_article.html | 90 ++++++------ blog/html/modifier_categorie.html | 154 ++++++++++---------- blog/js/ajouter_article.js | 18 ++- blog/js/modifier_article.js | 16 +++ css/blog.css | 11 -- css/citations.css | 0 css/prestation.css | 2 - css/style.css | 89 ++++++++---- js/previewImage.js | 19 +++ 12 files changed, 367 insertions(+), 289 deletions(-) delete mode 100644 css/blog.css delete mode 100644 css/citations.css create mode 100644 js/previewImage.js diff --git a/blog/html/accueil_blog.html b/blog/html/accueil_blog.html index 21a15c0..f19eaa9 100644 --- a/blog/html/accueil_blog.html +++ b/blog/html/accueil_blog.html @@ -5,9 +5,9 @@ Admin |Modifier le blog - - - + + + @@ -39,11 +39,9 @@ + - @@ -83,7 +81,7 @@

Modifier la page blog

-
+
@@ -153,7 +151,7 @@
-
+ diff --git a/blog/html/ajouter_article.html b/blog/html/ajouter_article.html index 1fc257d..535e66b 100644 --- a/blog/html/ajouter_article.html +++ b/blog/html/ajouter_article.html @@ -1,133 +1,156 @@ + Ajouter un article - - + + - + -
- +
-
-

Ajouter un article

+
+

Ajouter un article

-
+ - -
- -
- - -
+
- -
- - -
- -
- - -
+
+ + +
- -
- - -
+ +
+ + +
- -
- - -
- -
- Annuler - -
-
-
+ +
+
+
+ + + + +
+
+
+
+ +
+
+ +
+ +
+ +
+
+
+ + + + + + + +
+ + +
+ + +
+ Annuler + +
+ +
+ + + + + + + + + + + - - - - + + \ No newline at end of file diff --git a/blog/html/ajouter_categorie.html b/blog/html/ajouter_categorie.html index 6e0a7a1..ba284e7 100644 --- a/blog/html/ajouter_categorie.html +++ b/blog/html/ajouter_categorie.html @@ -5,7 +5,7 @@ Ajouter une catégorie - + @@ -28,8 +28,8 @@ - - + + @@ -70,12 +70,12 @@
- + + placeholder="Actualité, chien, chat…" required>
@@ -98,5 +98,9 @@ + + + + diff --git a/blog/html/modifier_article.html b/blog/html/modifier_article.html index 23a8b96..e235877 100644 --- a/blog/html/modifier_article.html +++ b/blog/html/modifier_article.html @@ -4,16 +4,11 @@ Modifier un article - - - - - + -