geethareddy commited on
Commit
179b33e
·
verified ·
1 Parent(s): 51d750a

Create templates/nutrition_template.html

Browse files
Files changed (1) hide show
  1. templates/nutrition_template.html +24 -0
templates/nutrition_template.html ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <style>
5
+ body { font-family: Arial, sans-serif; }
6
+ .card {
7
+ width: 300px;
8
+ padding: 10px;
9
+ border: 1px solid #ddd;
10
+ box-shadow: 2px 2px 8px #aaa;
11
+ text-align: center;
12
+ }
13
+ img { max-width: 200px; margin-bottom: 10px; }
14
+ </style>
15
+ </head>
16
+ <body>
17
+ <div class="card">
18
+ <img src="{{ image_url }}" alt="{{ dish_name }}">
19
+ <h3>{{ dish_name }}</h3>
20
+ <p><b>Nutrition:</b> {{ nutrition }}</p>
21
+ <p><b>Portion Size:</b> {{ portion }}</p>
22
+ </div>
23
+ </body>
24
+ </html>