62 lines
1.8 KiB
HTML
62 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link href="/favicon.ico" rel="icon">
|
|
<link href="/style.css" rel="stylesheet">
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="description" content="The cutest cooking site on the net :3">
|
|
<title>🥘 Catgirl Cooking</title>
|
|
</head>
|
|
<body>
|
|
<h1>Submit a New Recipe</h1>
|
|
<hr>
|
|
|
|
<form action="/api/new-recipe" method="post">
|
|
<ul class="form">
|
|
<li>
|
|
<label for="name">Recipe Name:</label>
|
|
<input type="text" id="name" name="recipe_name">
|
|
</li>
|
|
<li>
|
|
<label for="author">Your Name:</label>
|
|
<input type="text" id="attribution" name="author_name">
|
|
</li>
|
|
<li>
|
|
<label for="tags">Tags:</label>
|
|
<input type="text" id="tags" name="tags" placeholder="breakfast, vegetarian">
|
|
</li>
|
|
<li>
|
|
<label for="prep_time">Preparation Time:</label>
|
|
<input type="text" id="prep_time" placeholder="10 minutes">
|
|
</li>
|
|
<li>
|
|
<label for="cooking_time">Cooking Time:</label>
|
|
<input type="text" id="cooking_time" placeholder="2 hours">
|
|
</li>
|
|
<li>
|
|
<label for="servings">Servings:</label>
|
|
<input type=text" id="servings" placeholder="6">
|
|
</li>
|
|
<li>
|
|
<label for="ingredients">Ingredients:</label>
|
|
<textarea id="ingredients" name="ingredients" rows="15" cols="25" placeholder="1 cup flour
|
|
3 tablespoon sugar
|
|
5 grams salt
|
|
12 oz water"></textarea>
|
|
</li>
|
|
<li>
|
|
<label for="directions">Directions:</label>
|
|
<textarea id="directions" name="directions" rows="35" placeholder="Combine flour and sugar in a bowl
|
|
Slowly mix in water
|
|
Stir gently
|
|
Add the salt
|
|
Bake in the over for 15 minutes"></textarea>
|
|
</li>
|
|
<li class="button">
|
|
<button type="submit">Submit Recipe!</button>
|
|
</li>
|
|
</form>
|
|
</body>
|
|
</html>
|