-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaddrecipe.html
More file actions
104 lines (101 loc) · 5.12 KB
/
Copy pathaddrecipe.html
File metadata and controls
104 lines (101 loc) · 5.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ADD RECIPES</title>
<link rel="stylesheet" href="css/addrecipe.css">
<link rel="icon" type="img/jpg" href="pic/icon69.jpg">
</head>
<body>
<!-- Navbar -->
<div class="nav-bar">
<div class="nav-center">
<div class="nav-logo">
<form action="index.html" method="get" class="nav-logo1">
<button class="nav-logo-btn">
<img src="pic/icon69.jpg" alt="Logo" class="nav-logoimg" >
<div class="nav-header"> Foodism.com</div></button>
</form></div>
<div class="nav-links">
<form action="index.html" method="get" ><button class="nav-link" style="background: transparent;" href="index.html" >HOME</button></form>
<form action="about.html" method="get"><button class="nav-link" style="background: transparent;">ABOUT</button></form>
<form action="addrecipe.html" method="get"><button class="nav-link nav-button adjust" style="background: transparent;" href="">ADD RECIPE</button></form>
<form action="recipe.html" method="get"><button class="nav-link nav-button adjust recipe-btn" style="background: transparent;">RECIPES</button></form>
<div class="nav-lin contact-link">
<form action="contact.html" method="get"><button class="nav-link-cntbtn">CONTACT</button></form>
</div>
</div>
</div>
</div>
<!-- main content -->
<main class="page">
<section class="tags-wrapper">
<form method="post" action="/uploaddata" enctype="multipart/form-data">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Recipe Name</label><br>
<input type="text" class="form-control" id="exampleInputEmail1" name="recipename">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Recipe Description</label><br>
<textarea type="text" class="form-control" id="exampleInputPassword1" name="recipe_desc"></textarea>
</div>
<div class="mb-3 ">
<label for="exampleInputEmail1" class="form-label">Recipe Continent</label><br>
<select name="continent">
<option value="africa">Africa</option>
<option value="southAmerica">South America</option>
<option value="northAmerica">North America</option>
<option value="southAsia">South Asia</option>
<option value="northAsia">North Asia</option>
<option value="middleEast">Middle East</option>
<option value="europe">Europe</option>
<option value="oceania">Oceania</option>
</select>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Cook Time</label><br>
<input type="text" class="form-control" id="exampleInputPassword1" name="cooktime">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Prep Time</label><br>
<input type="text" class="form-control" id="exampleInputPassword1" name="preptime">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Servings</label><br>
<input type="text" class="form-control" id="exampleInputPassword1" name=servings>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Recipe Ingredients</label><br>
<textarea type="text" class="form-control" id="exampleInputPassword1" name="recipe_in"></textarea>
<label for="exampleInputPassword1" class="form-label">Enter each recipe Ingredients with 2 comma's</label>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Recipe Steps</label><br>
<textarea type="text" class="form-control" id="exampleInputPassword1" name="recipe_steps"></textarea>
<label for="exampleInputPassword1" class="form-label">Enter each recipe step with 2 comma's</label>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Nutrition values</label><br>
Calories:<input type="text" class="form-control" id="exampleInputPassword1" name="calories"><br>
Protein:<input type="text" class="form-control" id="exampleInputPassword1" name="protein"><br>
Fat:<input type="text" class="form-control" id="exampleInputPassword1" name="fat"><br>
Carbs:<input type="text" class="form-control" id="exampleInputPassword1" name="carbs"><br>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Upload Pic</label><br>
<input type="file" name="image">
</div>
<button class="btn btn-primary">Submit</button>
</form>
</section>
<section>
<img class="cookpic" src="../assets/recipes/uploadpic.jpg" alt="">
</section>
</main>
</body>
<footer >
<div class="footer101"> © 2023 <a class="footer-header" href="index.html"> Foodism.com</a> Built by Himanshu Poojary
</div>
</footer>
</html>