première release

This commit is contained in:
2026-03-23 20:21:04 +01:00
commit 75c0a127bf
22 changed files with 3933 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ajouter une recette</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<div class="container">
<h1> Ajouter une recette</h1>
<form method="POST" action="{{ url_for('add_recette') }}" class="recipe-form">
<div class="form-group">
<label for="nom">Nom de la recette *</label>
<input type="text" id="nom" name="nom" required>
</div>
<div class="form-group">
<label for="lien">Lien internet (optionnel)</label>
<input type="url" id="lien" name="lien" placeholder="https://exemple.com/ma-recette">
</div>
<div class="form-group">
<label for="ingredients">Ingrédients</label>
<textarea id="ingredients" name="ingredients" rows="6" placeholder="- Ingrédient 1&#10;- Ingrédient 2&#10;- ..."></textarea>
</div>
<div class="form-group">
<label for="instructions">Instructions</label>
<textarea id="instructions" name="instructions" rows="8" placeholder="1. Étape 1&#10;2. Étape 2&#10;3. ..."></textarea>
</div>
<div class="form-actions">
<button type="submit" class="btn">💾 Enregistrer</button>
<a href="{{ url_for('recettes') }}" class="btn btn-secondary">❌ Annuler</a>
</div>
</form>
</div>
</body>
</html>