correction des pages ajout categorie modifier categorie et ajout artcile.Intégration de ckedito dans ajout article

This commit is contained in:
ben
2025-12-05 12:26:25 +01:00
parent 80f859c514
commit 036c120f58
8 changed files with 50 additions and 46 deletions

View File

@@ -8,7 +8,7 @@
<style>
body{
background: #f4f6f9;
background: #f4f6f981;
}
.container{
@@ -20,7 +20,7 @@
<body>
<div class="container">
<h2 class="mb-4 text-center">Ajouter une catégorie</h2>
<h2 class="mb-5 text-center">Ajouter une catégorie</h2>
<!--Erreur champ vide -->
<div id="errorEmpty" class="alert alert-danger d-none">Le nom de catégorie est obligatoire.</div>
@@ -34,8 +34,8 @@
<form id="addCategoryForm">
<div class="mb-3">
<label class="form-label fw-bold">Nom de la catégorie *</label>
<div class="mb-4">
<label class="form-label fw-bold">Nom de la catégorie (obligatoire)</label>
<input type="text" id="categoryName" class="form-control" placeholder="Actualité, chien, chat .." required></div>
<div class="mb-3">
@@ -44,7 +44,7 @@
</div>
<div class="d-flex gap-3 mt-4">
<a href="liste_categories.html" class="btn btn-danger w-50">Annuler</a>
<a href="liste_categories.html" class="btn btn-secondary w-50">Annuler</a>
<button type="submit" class="btn btn-primary w-50">Ajouter</button>
</div>
</form>