diff --git a/blog/html/ajouter_article.html b/blog/html/ajouter_article.html index 0da4488..c468486 100644 --- a/blog/html/ajouter_article.html +++ b/blog/html/ajouter_article.html @@ -7,22 +7,14 @@ + @@ -144,7 +136,7 @@
- Annuler + Annuler
diff --git a/blog/html/ajouter_categorie.html b/blog/html/ajouter_categorie.html index 1f26d8c..e37de56 100644 --- a/blog/html/ajouter_categorie.html +++ b/blog/html/ajouter_categorie.html @@ -97,7 +97,7 @@
- Annuler + Annuler
diff --git a/blog/html/modifier_article.html b/blog/html/modifier_article.html index 56c423b..bee27bc 100644 --- a/blog/html/modifier_article.html +++ b/blog/html/modifier_article.html @@ -157,7 +157,7 @@
- Annuler + Annuler
diff --git a/blog/html/modifier_categorie.html b/blog/html/modifier_categorie.html index 30c86e1..39accf0 100644 --- a/blog/html/modifier_categorie.html +++ b/blog/html/modifier_categorie.html @@ -95,7 +95,7 @@
- Annuler + Annuler
diff --git a/blog/js/ajouter_categorie.js b/blog/js/ajouter_categorie.js index 8c4189c..dd7e34c 100644 --- a/blog/js/ajouter_categorie.js +++ b/blog/js/ajouter_categorie.js @@ -40,7 +40,7 @@ existingCategories.push(nom); // Redirection après 1 seconde setTimeout(() => { - window.location.href = "../html/liste_categorie_article.html"; + window.location.href = "../html/accueil_blog.html"; }, 1000); diff --git a/blog/js/modifier_article.js b/blog/js/modifier_article.js index a5a930d..fc53268 100644 --- a/blog/js/modifier_article.js +++ b/blog/js/modifier_article.js @@ -55,6 +55,6 @@ form.addEventListener("submit", function (e) { // Redirection après succès setTimeout(() => { - window.location.href = "../../blog/html/liste_categorie_article.html"; + window.location.href = "../../blog/html/accueil_blog.html"; }, 1500); }); diff --git a/blog/js/modifier_categorie.js b/blog/js/modifier_categorie.js index 97f8b1a..2131a45 100644 --- a/blog/js/modifier_categorie.js +++ b/blog/js/modifier_categorie.js @@ -21,6 +21,6 @@ form.addEventListener("submit", function (e) { // Redirection après succès setTimeout(() => { - window.location.href = "../html/liste_categorie_article.html"; + window.location.href = "../html/accueil_blog.html"; }, 1500); }); diff --git a/css/blog.css b/css/blog.css new file mode 100644 index 0000000..882b6b6 --- /dev/null +++ b/css/blog.css @@ -0,0 +1,11 @@ + + body { + background: #f4f6f9; + } + .container { + + margin: 40px auto; + } + .ck-editor__editable { + min-height: 350px; +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 1bfd43d..890a3bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,8 +76,7 @@ "node_modules/scheduler": { "version": "0.27.0", "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz", - "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==", - "peer": true + "integrity": "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==" }, "node_modules/tinymce": { "version": "8.2.2",