-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathadd-recipe.html
155 lines (138 loc) · 7.11 KB
/
add-recipe.html
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>CookLess Recipes</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
</head>
<body class="add-recipe">
<!-- Navigation -->
<nav class="navbar fixed-top navbar-expand-lg navbar-light fixed-top">
<div class="container">
<a class="navbar-brand" href="index.html">CookLess Recipes</a>
<div class="text-right">
<a href="index.html" class="myMenu">All Recipes</a>
<a href="add-recipe.html" class="btn btn-success">Add New Recipe</a>
</div>
</div>
</nav>
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<!-- Slide One - Set the background image for this slide in the line below -->
<div class="carousel-item active" style="background-image: url('images/slide1.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3>Mexican Grilled Corn Recipe</h3>
<p>This is a recipe by our favorite Chef from CookLess.</p>
</div>
</div>
<!-- Slide Two - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('images/slide3.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3>Avocado Melon Salad With Lime Vinaigrette</h3>
<p>This is a recipe by our favorite Chef from CookLess.</p>
</div>
</div>
<!-- Slide Three - Set the background image for this slide in the line below -->
<div class="carousel-item" style="background-image: url('images/slide4.jpg')">
<div class="carousel-caption d-none d-md-block">
<h3>Chunky Beef Stew</h3>
<p>This is a recipe by our favorite Chef from CookLess.</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</header>
<!-- Page Content -->
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 my-4">
<h2 class="my-4">Add new Recipe</h2>
<div class="dv-notify"></div>
<form class="dv-add-oneto:CookLess:recipes" enctype="multipart/form-data">
<div class="control-group form-group">
<div class="controls">
<label>Recipe Title:</label>
<input name="title" type="text" class="form-control" required data-validation-required-message="Please enter Recipe Title.">
<p class="help-block"></p>
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Short Description:</label>
<input name="description" type="text" class="form-control"required data-validation-required-message="Please enter Short Description.">
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Choose Category:</label>
<select name="category" class="form-control">
<option value="">=== Select Recipe Category ===</option>
<option value="Breakfast">Breakfast</option>
<option value="Lunch">Lunch</option>
<option value="Supper">Supper</option>
<option value="Soups">Soups</option>
</select>
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Recipe Details:</label>
<textarea name="details" rows="10" cols="100" class="form-control" required data-validation-required-message="Please add Recipe Details" maxlength="999" style="resize:none"></textarea>
</div>
</div>
<div class="control-group form-group">
<label>Upload Image</label>
<input name="image" type="file" class="form-control-file">
</div>
<!-- For success/fail messages -->
<button type="text" class="btn btn-primary">Add Recipe</button>
</form>
</div>
</div>
<!-- /.row -->
<hr>
<!-- Call to Action Section -->
<div class="row mb-4 mt-5">
<div class="col-md-9">
<p>Are you a chef or a good cook? Do you have awesome recipes to share with the general public? Add them to our recipe gallery.</p>
</div>
<div class="col-md-3">
<a class="btn btn-lg btn-secondary btn-block" href="add-recipe.html">Add Recipe</a>
</div>
</div>
</div>
<!-- /.container -->
<!-- Footer -->
<footer class="py-5 bg-dark">
<div class="container">
<p class="m-0 text-center text-white">Copyright © CookLess Recipes 2017</p>
</div>
<!-- /.container -->
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/popper/popper.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script src="http://cookless-recipes.herokuapp.com/js/devless-sdk.js" class="devless-connection" devless-con-token="ce206b3635db9c474415d02943fa61d3" defer ></script>
</body>
</html>