2026-03-27 16:00:23 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="fr">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<title>Test Statique</title>
|
|
|
|
|
<link rel="stylesheet" href="main.css">
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<?php include "header.php"?>
|
|
|
|
|
|
|
|
|
|
<div class="main-body">
|
|
|
|
|
<div class="content">
|
2026-04-03 10:23:45 +02:00
|
|
|
<div class="recette-add-form-all">
|
2026-04-03 11:17:24 +02:00
|
|
|
<form class="recette-form recette-form-add" action="/api/recettes/create.php" method="POST">
|
2026-03-27 16:00:23 +01:00
|
|
|
<div class="recette-form-group form-group">
|
|
|
|
|
<label for="nom">Titre : </label>
|
|
|
|
|
<input type="texte" class="form-control" id="recette-form-nom" name="nom" placeholder="Titre de votre recette">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="recette-form-group form-group">
|
|
|
|
|
<label for="temps">Temps (en min) : </label>
|
|
|
|
|
<input type="texte" class="form-control" id="recette-form-temps" name="temps" placeholder="Temps de préparation">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="recette-form-group form-group">
|
2026-04-03 11:17:24 +02:00
|
|
|
<label for="image">Photo du plat : </label>
|
|
|
|
|
<input type="file" class="form-control" id="recette-form-photo" name="image" placeholder="ajouter votre image">
|
2026-03-27 16:00:23 +01:00
|
|
|
</div>
|
2026-04-03 10:23:45 +02:00
|
|
|
<div class="recette-form-group form-group" id="recette-form-div-ingr">
|
|
|
|
|
<label for="ingr">Ingredients</label>
|
|
|
|
|
<select multiple class="form-control" id="recette-form-ingr" name="ingr" placeholder="Ingredients">
|
|
|
|
|
<option value="1">1</option>
|
|
|
|
|
<option value="2">2</option>
|
|
|
|
|
<option value="3">3</option>
|
|
|
|
|
<option value="4">4</option>
|
|
|
|
|
<option value="5">5</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="recette-form-group form-group" id="recette-form-div-tag">
|
|
|
|
|
<label for="tag">Tag</label>
|
|
|
|
|
<select multiple class="form-control" id="recette-form-tag" name="tag" placeholder="Tag">
|
|
|
|
|
<option value="1">1</option>
|
|
|
|
|
<option value="2">2</option>
|
|
|
|
|
<option value="3">3</option>
|
|
|
|
|
<option value="4">4</option>
|
|
|
|
|
<option value="5">5</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
2026-03-27 16:00:23 +01:00
|
|
|
<div class="recette-form-group form-group" id="recette-form-div-desc">
|
|
|
|
|
<label for="description">Description</label>
|
2026-04-03 10:23:45 +02:00
|
|
|
<textarea type="texte" class="form-control" id="recette-form-description" name="description" placeholder="Description..."></textarea>
|
2026-03-27 16:00:23 +01:00
|
|
|
</div>
|
2026-04-03 10:23:45 +02:00
|
|
|
|
2026-03-27 16:00:23 +01:00
|
|
|
<button type='submit' class='btn btn-primary'>Confirmer</button>
|
2026-04-03 10:23:45 +02:00
|
|
|
</form>
|
|
|
|
|
<div class="recette-form-add-additional">
|
2026-04-03 10:47:36 +02:00
|
|
|
<form id="recette-form-ingr-add" class="recette-form recette-form-add-ingr" action="" method="POST">
|
2026-04-03 10:23:45 +02:00
|
|
|
<div class="recette-form-group form-group">
|
2026-04-03 11:37:06 +02:00
|
|
|
<label for="name">Nom de l'Ingrédient</label>
|
|
|
|
|
<input type="texte" class="form-control" id="recette-form-ingr-nom" name="name" placeholder="Nom de l'ingrédient" value="">
|
2026-04-03 10:23:45 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="recette-form-group form-group">
|
2026-04-03 11:17:24 +02:00
|
|
|
<label for="image">Photo de l'Ingrédient</label>
|
|
|
|
|
<input type="file" class="form-control" id="recette-form-ingr-photo" name="image">
|
2026-04-03 10:23:45 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<button id="submit-ingr" type='submit' class='btn btn-primary'>Confirmer</button>
|
2026-04-03 11:37:06 +02:00
|
|
|
<div id="recette-form-div-err-ingr" class="err">
|
2026-04-03 11:17:24 +02:00
|
|
|
Erreur
|
|
|
|
|
</div>
|
2026-04-03 10:23:45 +02:00
|
|
|
</form>
|
2026-04-03 11:17:24 +02:00
|
|
|
<form id="recette-form-tag-add" class="recette-form recette-form-add-tag" action="" method="POST">
|
2026-04-03 10:23:45 +02:00
|
|
|
<div class="recette-form-group form-group">
|
|
|
|
|
<label for="tag">Tags</label>
|
|
|
|
|
<input type="texte" class="form-control" id="recette-form-tag" name="tag" placeholder="Nom de l'ingrédient">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<button type='submit' class='btn btn-primary'>Confirmer</button>
|
2026-04-03 11:37:06 +02:00
|
|
|
<div id="recette-form-div-err-tag" class="err">
|
|
|
|
|
Erreur
|
|
|
|
|
</div>
|
2026-04-03 10:23:45 +02:00
|
|
|
</form>
|
2026-03-27 16:00:23 +01:00
|
|
|
</div>
|
2026-04-03 10:23:45 +02:00
|
|
|
</div>
|
2026-03-27 16:00:23 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<?php include "footer.php"?>
|
|
|
|
|
</body>
|
2026-04-03 10:23:45 +02:00
|
|
|
<script src="main.js"></script>
|
2026-03-27 16:00:23 +01:00
|
|
|
</html>
|