|
|
|
@ -1,36 +1,66 @@
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
<link rel="stylesheet" href="style.css" />
|
|
|
|
|
<script src="cms.js" defer></script>
|
|
|
|
|
<title>🥣 Soup Gen</title>
|
|
|
|
|
</head>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<div class="cookbook">
|
|
|
|
|
<h2>Soup Gen Cookbook</h2>
|
|
|
|
|
<div class="cookbook-info" id="cookbookInfo"></div>
|
|
|
|
|
<div class="recipes" id="cookbook"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="intro">
|
|
|
|
|
<h1>🥣 Soup Generator</h1>
|
|
|
|
|
<div class="description">
|
|
|
|
|
<h1>Soup Generator</h1>
|
|
|
|
|
each soup has:
|
|
|
|
|
<p>
|
|
|
|
|
Hey this is a Soup + Other Cookbook and it is meant to be collaborative! For now you can add a recipe
|
|
|
|
|
only if you are from XPUB, but we are working to make this open access.
|
|
|
|
|
</p>
|
|
|
|
|
<p>
|
|
|
|
|
To add a recipe:
|
|
|
|
|
<ol>
|
|
|
|
|
<li>
|
|
|
|
|
Enter your Jupiter, and go to <code>~/shared/html/soup-gen/</code>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
Open the notebook <code>add_recipe.ipynb</code>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
Run the first snippet, it will ask you for some info about the recipe: fill the blank space in the
|
|
|
|
|
output message.
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
Run the second snippet, it will save the recipe in the Soupboat.
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
You added a recipe!
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
__CONGRATS__
|
|
|
|
|
</li>
|
|
|
|
|
</ol>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Each soup has:
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="recipe">
|
|
|
|
|
<div class="info">
|
|
|
|
|
<h2 class="title">Title [string]</h2>
|
|
|
|
|
<div class="description">Description [string]</div>
|
|
|
|
|
<div class="chef">Chef [string]</div>
|
|
|
|
|
<h2 class="title">Title</h2>
|
|
|
|
|
<div class="description">Description</div>
|
|
|
|
|
<div class="chef">Chef</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="ingredients">
|
|
|
|
|
<h3>List of ingredients [array of strings]</h3>
|
|
|
|
|
<h3>List of ingredients</h3>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>First ingredient</li>
|
|
|
|
|
<li>Second ingredient</li>
|
|
|
|
@ -38,7 +68,7 @@
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="instructions">
|
|
|
|
|
<h3>List of instructions [array of strings]</h3>
|
|
|
|
|
<h3>List of instructions</h3>
|
|
|
|
|
<ol>
|
|
|
|
|
<li>First instruction</li>
|
|
|
|
|
<li>Second instruction</li>
|
|
|
|
@ -46,7 +76,15 @@
|
|
|
|
|
</ol>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="cookbook">
|
|
|
|
|
<h2>Soup Gen Cookbook</h2>
|
|
|
|
|
<div class="cookbook-info" id="cookbookInfo"></div>
|
|
|
|
|
<div class="recipes" id="cookbook"></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="intro">
|
|
|
|
|
<div class="todo">
|
|
|
|
|
<ul>
|
|
|
|
|
<em>TODO short term:</em>
|
|
|
|
@ -61,6 +99,7 @@
|
|
|
|
|
<li>🦥 Recipes lazy loading :P</li>
|
|
|
|
|
<li>📔 Web to print design</li>
|
|
|
|
|
<li>📃 Soup pagination</li>
|
|
|
|
|
<li>🐱🐉 Generative soups, starting from existing ingredients, and instructions, and tags</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -86,5 +125,8 @@
|
|
|
|
|
<li>Or maybe we can try and use Flask?</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
</html>
|