validation HTML
This commit is contained in:
@@ -65,12 +65,12 @@
|
||||
<div class="content">
|
||||
<form id="ajouterArticleForm">
|
||||
<div class="mb-4 quote-addition">
|
||||
<label class="form-label fw-bold" for="citation">La citations</label>
|
||||
<label class="form-label fw-bold" for="citation">La citations (obligatoire)</label>
|
||||
<input type="text" id="citation" class="form-control"
|
||||
placeholder="Il faut ne jamais abandonner..." required>
|
||||
</div>
|
||||
<div class="mb-3 citation-category">
|
||||
<label class="form-label fw-bold" for="citationCategory">Catégorie de la citation</label>
|
||||
<label class="form-label fw-bold" for="citationCategory">Catégorie de la citation (obligatoire)</label>
|
||||
<select id="citationCategory" class="form-select" required>
|
||||
<option value="" disabled selected>Choisissez une catégorie</option>
|
||||
<option value="chiens">Chiens</option>
|
||||
@@ -87,7 +87,7 @@
|
||||
</div>
|
||||
</main>
|
||||
<script src="/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/js/contentReduct.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -65,12 +65,12 @@
|
||||
<div class="content">
|
||||
<form id="ajouterArticleForm">
|
||||
<div class="mb-4 quote-addition">
|
||||
<label class="form-label fw-bold" for="citation">La citations</label>
|
||||
<label class="form-label fw-bold" for="citation">La citations (obligatoire)</label>
|
||||
<input type="text" id="citation" class="form-control"
|
||||
placeholder="Il faut ne jamais abandonner..." value="La citation à modifier" required>
|
||||
</div>
|
||||
<div class="mb-3 citation-category">
|
||||
<label class="form-label fw-bold" for="citationCategory">Catégorie de la citation</label>
|
||||
<label class="form-label fw-bold" for="citationCategory">Catégorie de la citation (obligatoire)</label>
|
||||
<select id="citationCategory" class="form-select" required>
|
||||
<option value="" disabled>Choisissez une catégorie</option>
|
||||
<option value="chiens" selected>Chiens</option>
|
||||
@@ -87,7 +87,7 @@
|
||||
</div>
|
||||
</main>
|
||||
<script src="/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/js/contentReduct.js"></script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -7,7 +7,6 @@
|
||||
<title>FAQ - L'Il'eau chiens - Admin</title>
|
||||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/citations.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
@@ -80,7 +79,6 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Chiens</td>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<a href="#" class="btn btn-sm btn-outline-primary me-2">Modifier</a>
|
||||
<a href="index.php" class="btn btn-sm btn-outline-danger" role="button" data-bs-toggle="modal"
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<title>Ajouter une question - L'Il'eau chiens - Admin</title>
|
||||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
|
||||
@@ -83,7 +82,7 @@
|
||||
|
||||
<div class="mb-4 reponse-addition">
|
||||
<label class="form-label fw-bold" for="reponse">Réponse (obligatoire)</label>
|
||||
<textarea id="reponse" class="form-control" placeholder="Votre réponse ici..."></textarea>
|
||||
<textarea id="reponse" class="form-control" placeholder="Votre réponse ici..." required></textarea>
|
||||
</div>
|
||||
<div class="d-flex gap-3 mt-4 confirmation-buttons">
|
||||
<a href="./accueil.html" class="btn btn-secondary w-50">Annuler</a>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<title>Ajouter un thème de questions - L'Il'eau chiens - Admin</title>
|
||||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
</head>
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
<title>Modifier une question - L'Il'eau chiens - Admin</title>
|
||||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
</head>
|
||||
@@ -82,8 +81,7 @@
|
||||
|
||||
<div class="mb-4 reponse-addition">
|
||||
<label class="form-label fw-bold" for="reponse">Réponse (obligatoire)</label>
|
||||
<textarea id="reponse" class="form-control"
|
||||
value="Car si ils lèvent les deux, ils se cassent la figure">Car si ils lèvent les deux, ils ne peuvent pas se retenir.</textarea>
|
||||
<textarea id="reponse" class="form-control" required>Car si ils lèvent les deux, ils ne peuvent pas se retenir.</textarea>
|
||||
</div>
|
||||
<div class="d-flex gap-3 mt-4 confirmation-buttons">
|
||||
<a href="./accueil.html" class="btn btn-secondary w-50">Annuler</a>
|
||||
@@ -95,6 +93,9 @@
|
||||
</main>
|
||||
<script src="/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/js/contentReduct.js"></script>
|
||||
<script src="/node_modules/tinymce/tinymce.min.js"></script>
|
||||
<script src="/node_modules/tinymce-i18n/langs8/fr-FR.js"></script>
|
||||
<script src="/js/tinyMce.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -7,7 +7,6 @@
|
||||
<title>Modifier un thème de questions - L'Il'eau chiens - Admin</title>
|
||||
<link href="/node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
</head>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/**
|
||||
* Initialisation de TinyMCE avec des boutons personnalisés pour les titres h3 à h6.
|
||||
*/
|
||||
|
||||
|
||||
tinymce.init({
|
||||
selector: "textarea",
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<title>CE sera le titre de la page</title>
|
||||
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="node_modules/bs-icon/icons.css">
|
||||
<link rel="shortcut icon" href="favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
<link rel="shortcut icon" href="/favicon.png" type="image/png">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user