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