From 0e09575b259b568b8a08ff261c779b97c549eca1 Mon Sep 17 00:00:00 2001
From: Robbieo
Date: Wed, 4 Dec 2019 15:08:25 -0600
Subject: [PATCH] Website Milestone 3 Complete
---
Website/Pages/Menu.cshtml | 162 +++++++++++++++++-----------
Website/Pages/Shared/_Layout.cshtml | 2 +-
Website/wwwroot/css/site.css | 5 +
3 files changed, 106 insertions(+), 63 deletions(-)
diff --git a/Website/Pages/Menu.cshtml b/Website/Pages/Menu.cshtml
index 6da39500..24be0243 100644
--- a/Website/Pages/Menu.cshtml
+++ b/Website/Pages/Menu.cshtml
@@ -12,26 +12,41 @@
@for (int i = 0; i < Model.Combos.Count; i++)
{
}
@@ -46,22 +61,15 @@
@Model.Entrees[i]
Price - @Model.Entrees[i].Price.ToString("c")
Calories - @Model.Entrees[i].Calories
-
Ingredients -
- @for (int j = 0; j < Model.Entrees[i].Ingredients.Count; j++)
- {
- @if (j == Model.Entrees[i].Ingredients.Count - 1)
+
Ingredients
+
+ @for (int j = 0; j < Model.Entrees[i].Ingredients.Count; j++)
{
-
+ -
@Model.Entrees[i].Ingredients[j]
-
+
}
- else
- {
-
- @Model.Entrees[i].Ingredients[j],
-
- }
- }
+
}
@@ -72,26 +80,41 @@
@for (int i = 0; i < Model.Sides.Count; i++)
{
}
@@ -102,27 +125,42 @@
@for (int i = 0; i < Model.Drinks.Count; i++)
{
}
}
diff --git a/Website/Pages/Shared/_Layout.cshtml b/Website/Pages/Shared/_Layout.cshtml
index 6610acdb..b96ce338 100644
--- a/Website/Pages/Shared/_Layout.cshtml
+++ b/Website/Pages/Shared/_Layout.cshtml
@@ -6,7 +6,7 @@
Dino-Diner - @ViewData["Title"]
-
+
diff --git a/Website/wwwroot/css/site.css b/Website/wwwroot/css/site.css
index f9456f2e..6d7341c0 100644
--- a/Website/wwwroot/css/site.css
+++ b/Website/wwwroot/css/site.css
@@ -20,10 +20,15 @@ form {
min-width: 300px;
}
+table, th, td {
+ border: 1px solid black;
+}
+
#menu-container {
width: 95vw;
display: flex;
flex-direction: row;
+ justify-content: space-between
}
.banner {