mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-12-26 17:09:09 +00:00
modify html
This commit is contained in:
parent
b28380fa54
commit
3387e2605f
34
index.html
34
index.html
@ -15,11 +15,12 @@
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<!-- Add Recipes Here -->
|
||||
<!-- Add Entries Here -->
|
||||
</main>
|
||||
<!-- For the Explore section - Remove "hidden" class before beginning -->
|
||||
<form id="new-recipe">
|
||||
<form id="new-food-entry">
|
||||
<fieldset>
|
||||
/* will need to modify to add upload/take image fuction */
|
||||
<legend>Image:</legend>
|
||||
<label for="image-src">
|
||||
Source:
|
||||
@ -31,10 +32,12 @@
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Title:</legend>
|
||||
<label for="title-txt">Text:
|
||||
<legend> Meal: </legend>
|
||||
/* TODO: change parameters */
|
||||
<label for="Meal: "> Meal:
|
||||
<input type="text" id="titleTxt" name="titleTxt" required>
|
||||
</label>
|
||||
/* navigate to review page */
|
||||
<label for="title-lnk">Link:
|
||||
<input type="url" id="titleLnk" name="titleLnk" required>
|
||||
</label>
|
||||
@ -59,28 +62,19 @@
|
||||
<label for="rating-5">
|
||||
5<input type="radio" id="rating-5" value="5" name="rating">
|
||||
</label>
|
||||
<label for="numRatings">
|
||||
Num Ratings:
|
||||
<input type="number" id="numRatings" name="numRatings">
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Other Info:</legend>
|
||||
<label for="organization">
|
||||
Organization:
|
||||
<input type="text" id="organization" name="organization" required>
|
||||
<label for="restaurant">
|
||||
Restaurant:
|
||||
<input type="text" id="restaurant" name="restaurant" required>
|
||||
</label>
|
||||
<label for="lengthTime">
|
||||
Length (time):
|
||||
<input type="text" id="lengthTime" name="lengthTime" required>
|
||||
</label>
|
||||
<label for="ingredients">
|
||||
<p>Ingredients:</p>
|
||||
<textarea name="ingredients" id="ingredients" cols="38" rows="5"
|
||||
required></textarea>
|
||||
<label for="comments">
|
||||
Comments:
|
||||
<input type="text" id="comments" name="comments" required>
|
||||
</label>
|
||||
</fieldset>
|
||||
<button type="submit">Add Recipe</button>
|
||||
<button type="submit">Add Review</button>
|
||||
<button type="button" class="danger">Clear Local Storage</button>
|
||||
</form>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user