correction des pages ajout categorie modifier categorie et ajout artcile.Intégration de ckedito dans ajout article
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
|
||||
<style>
|
||||
body {
|
||||
background: #f4f6f9;
|
||||
background: #f4f6f981;
|
||||
|
||||
}
|
||||
.container {
|
||||
max-width: 600px;
|
||||
@@ -19,7 +20,7 @@
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<h2 class="mb-4 text-center">Modifier une catégorie</h2>
|
||||
<h2 class="mb-5 text-center">Modifier une catégorie</h2>
|
||||
|
||||
<div id="errorMsg" class="alert alert-danger d-none">Veuillez ezmplir tous les champs obligatoires</div>
|
||||
|
||||
@@ -28,25 +29,20 @@
|
||||
<form id="modifierCategorie">
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-bold">Nom de la catégorie *</label>
|
||||
<select id="categoryName" class="form-select" required>
|
||||
<option value="" selected disabled>— Choisir une catégorie —</option>
|
||||
<option value="actualité">Actualité</option>
|
||||
<option value="chien">Chien</option>
|
||||
<option value="chat">Chat</option>
|
||||
<option value="boutique">Boutique</option>
|
||||
</select>
|
||||
<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="Entrez le nom de la catégorie" required>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label fw-bold">Description *</label>
|
||||
<label class="form-label fw-bold">Description (optionnel)</label>
|
||||
<textarea id="categorieDescription" class="form-control" rows="4" placeholder="Entrez une description" required></textarea>
|
||||
</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">Enregistrer</button>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user