Fridge2Fit/static/index.html

23 lines
702 B
HTML
Raw Normal View History

<!DOCTYPE html>
2024-05-18 15:57:25 +02:00
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Image</title>
</head>
<body>
2024-05-18 22:15:20 +02:00
<input type="file" id="imageInput" accept="image/*" required=""> <button onclick="uploadImage()" id="upload-image-btn">Submit Image</button>
<br><br>
2024-05-18 22:15:20 +02:00
<a href="/YOUR_IMAGE.jpg" download="YOUR_IMAGE.jpg" class="download-button">
Download Sample
</a>
<div id="editable-classes"></div>
2024-05-18 22:15:20 +02:00
<button id="add-class-btn">Add Ingredient</button>
<div id="suggested-classes"></div>
<br>
2024-05-18 22:15:20 +02:00
<button onclick="generateIngredients()">Generate Recipes</button>
<script src="/script.js"></script>
</body>
2024-05-18 15:57:25 +02:00
</html>