mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-10 05:34:44 +00:00
88 lines
2.6 KiB
HTML
88 lines
2.6 KiB
HTML
|
|
<!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" />
|
|
<title>Food Journal</title>
|
|
|
|
<!-- Recipe Card Custom Element -->
|
|
<script src="/source/assets/scripts/ReviewCard.js" type="module"></script>
|
|
|
|
|
|
<!-- Main Stylesheets & Scripts -->
|
|
<!-- 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="/source/assets/scripts/main.js" type="module"></script>
|
|
|
|
</head>
|
|
<body>
|
|
<form id="new-food-entry">
|
|
<fieldset>
|
|
<legend>Pic:</legend>
|
|
<label for="mealImage">
|
|
Source:
|
|
<input type="text" id="mealImg" name="mealImg">
|
|
</label>
|
|
<label for="image-alt">
|
|
Alt Text:
|
|
<input type="text" id="imgAlt" name="imgAlt">
|
|
</label>
|
|
</fieldset>
|
|
<fieldset>
|
|
|
|
<legend> Meal: </legend>
|
|
<label for="Meal: ">Meal:
|
|
<input type="text" id="mealName" name="mealName" required>
|
|
</label>
|
|
<label for="comments">Comments:
|
|
<br>
|
|
<textarea name="comments" id="comments"></textarea>
|
|
</label>
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Rating</legend>
|
|
<label for="rating-0">
|
|
0<input type="radio" id="rating-0" value="0" name="rating" required>
|
|
</label>
|
|
<label for="rating-1">
|
|
1<input type="radio" id="rating-1" value="1" name="rating">
|
|
</label>
|
|
<label for="rating-2">
|
|
2<input type="radio" id="rating-2" value="2" name="rating">
|
|
</label>
|
|
<label for="rating-3">
|
|
3<input type="radio" id="rating-3" value="3" name="rating">
|
|
</label>
|
|
<label for="rating-4">
|
|
4<input type="radio" id="rating-4" value="4" name="rating">
|
|
</label>
|
|
<label for="rating-5">
|
|
5<input type="radio" id="rating-5" value="5" name="rating">
|
|
</label>
|
|
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Other Info:</legend>
|
|
<label for="restaurant">
|
|
Restaurant:
|
|
<input type="text" id="restaurant" name="restaurant" required>
|
|
</label>
|
|
<label for="tag-form">
|
|
Tags:
|
|
<input type="text" id="tag-form" name="tag-form">
|
|
<div class='tag-container' id="tag-container-form">
|
|
|
|
</div>
|
|
<button type="button" id="tagAdd">Add Tag</button>
|
|
</label>
|
|
|
|
</fieldset>
|
|
<button type="submit" value="Submit">Add Review</button>
|
|
<button type="button" class="danger">Clear Review Journal</button>
|
|
</form>
|
|
</body>
|
|
</html>
|