From 17b27cf1afa498ea2263f3ee4a73acbb9e7f1ea8 Mon Sep 17 00:00:00 2001 From: erica-garga Date: Tue, 19 Oct 2021 18:59:20 +0200 Subject: [PATCH] instructions --- add_recipe.ipynb | 5 +- index.html | 194 ++++++++++++++++++++++++++++------------------- style.css | 4 +- 3 files changed, 123 insertions(+), 80 deletions(-) diff --git a/add_recipe.ipynb b/add_recipe.ipynb index bcace25..9fd6cf3 100644 --- a/add_recipe.ipynb +++ b/add_recipe.ipynb @@ -32,7 +32,7 @@ "ingredients = [ingredient.strip() for ingredient in input().split(',')]\n", "\n", "\n", - "print(\"Which passages do you follow to cook the recipe? Please write them separated by a comma\")\n", + "print(\"Which steps do you need to follow to cook the recipe? Please write them separated by a comma\")\n", "instructions = [instruction.strip() for instruction in input().split(',')]\n" ] }, @@ -71,8 +71,7 @@ "\n", "with open('cms.json','w') as file:\n", " file.write(json.dumps(cms))\n", - " \n", - "print(json.dumps(cms))\n" + " print('Thank you for your contribuition')\n" ] }, { diff --git a/index.html b/index.html index 2019b5c..d2da25c 100644 --- a/index.html +++ b/index.html @@ -1,90 +1,132 @@ - - - - - - - 🥣 Soup Gen - - - -
-

Soup Gen Cookbook

-
-
-
-
-
-

Soup Generator

- each soup has: -
+ + + + + + + 🥣 Soup Gen + + + -
-
-

Title [string]

-
Description [string]
-
Chef [string]
-
- -
-

List of ingredients [array of strings]

-
    -
  • First ingredient
  • -
  • Second ingredient
  • -
  • ...
  • -
-
-
-

List of instructions [array of strings]

-
    -
  1. First instruction
  2. -
  3. Second instruction
  4. -
  5. ...
  6. -
-
-
-
-
    - TODO short term: -
  • 💻 Receive recipe as a form ?
  • -
  • 🔍 Ingredients list and filter!!! (like chat reader)
  • -
  • 💬 Different types of entries for the cms: recipe, diary, ecc.
  • -
  • 📷 Add recipe picture ?
  • -
  • 🎨 Design
  • - - TODO long term: -
  • 💾 Better CMS (and not just a JSON file ah ah)
  • -
  • 🦥 Recipes lazy loading :P
  • -
  • 📔 Web to print design
  • -
  • 📃 Soup pagination
  • -
-
-