cse110-fa22-group29/source/index.html

80 lines
2.6 KiB
HTML
Raw Normal View History

2022-11-08 23:35:49 +00:00
2022-11-08 03:18:05 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2022-11-08 23:18:46 +00:00
<title>Food Journal</title>
2022-11-08 03:18:05 +00:00
<!-- Recipe Card Custom Element -->
<script src="assets/scripts/ReviewCard.js" type="module"></script>
2022-11-08 23:57:02 +00:00
2022-11-08 03:18:05 +00:00
2022-11-08 23:18:46 +00:00
<!-- Main Stylesheets & Scripts -->
2022-11-11 08:03:56 +00:00
<!-- Temporarily commented out reset.css due to furthur discussion needed on the values of the default config-->
<!-- <link rel="stylesheet" href="/static/reset.css" /> -->
<link rel="stylesheet" href="./static/ReviewCard.css" />
<script src="assets/scripts/main.js" type="module"></script>
2022-11-08 23:57:02 +00:00
2022-11-08 03:18:05 +00:00
</head>
<body>
<main>
2022-11-08 23:18:46 +00:00
<!-- Add Food Entries Here -->
2022-11-08 03:18:05 +00:00
</main>
<button type="button" id="create-btn"><a href='./CreatePage.html'></a>CREATE</button>
<!-- <form id="new-food-entry">
2022-11-08 03:18:05 +00:00
<fieldset>
2022-11-12 22:16:03 +00:00
<legend>Pic:</legend>
<label for="mealImage">
2022-11-08 03:18:05 +00:00
Source:
2022-11-12 22:16:03 +00:00
<input type="text" id="mealImg" name="mealImg">
2022-11-08 03:18:05 +00:00
</label>
<label for="image-alt">
Alt Text:
2022-11-11 08:03:56 +00:00
<input type="text" id="imgAlt" name="imgAlt">
2022-11-08 03:18:05 +00:00
</label>
</fieldset>
<fieldset>
2022-11-08 23:57:02 +00:00
2022-11-08 03:50:29 +00:00
<legend> Meal: </legend>
<label for="Meal: ">Meal:
<input type="text" id="mealName" name="mealName" required>
2022-11-08 03:18:05 +00:00
</label>
2022-11-12 22:16:03 +00:00
<label for="comments">Comments:
<br>
2022-11-11 08:03:56 +00:00
<textarea name="comments" id="comments"></textarea>
2022-11-08 03:18:05 +00:00
</label>
</fieldset>
<fieldset class="rating">
<legend> Rating: </legend>
<input type="radio" id="s5" name="rating" value="5"/> <label for="s5"> 5 stars </label>
<input type="radio" id="s4" name="rating" value="4"/> <label for="s4"> 4 stars </label>
<input type="radio" id="s3" name="rating" value="3"/> <label for="s3"> 3 stars </label>
<input type="radio" id="s2" name="rating" value="2"/> <label for="s2"> 2 stars </label>
<input type="radio" id="s1" name="rating" value="1"/> <label for="s1"> 1 star </label>
2022-11-08 03:18:05 +00:00
</fieldset>
2022-11-08 03:18:05 +00:00
<fieldset>
<legend>Other Info:</legend>
2022-11-08 03:50:29 +00:00
<label for="restaurant">
Restaurant:
<input type="text" id="restaurant" name="restaurant" required>
2022-11-08 03:18:05 +00:00
</label>
2022-11-10 21:22:32 +00:00
<label for="tag-form">
2022-11-08 23:35:49 +00:00
Tags:
2022-11-11 08:03:56 +00:00
<input type="text" id="tag-form" name="tag-form">
2022-11-10 21:22:32 +00:00
<div class='tag-container' id="tag-container-form">
</div>
<button type="button" id="tagAdd">Add Tag</button>
2022-11-08 23:35:49 +00:00
</label>
2022-11-08 23:57:02 +00:00
2022-11-08 03:18:05 +00:00
</fieldset>
2022-11-12 22:16:03 +00:00
<button type="submit" value="Submit">Add Review</button>
<button type="button" class="danger">Clear Review Journal</button>
</form> -->
2022-11-08 03:18:05 +00:00
</body>
2022-11-11 20:07:58 +00:00
</html>