diff --git a/SportsStore/SportsStore.WebUI/Content/Site.css b/SportsStore/SportsStore.WebUI/Content/Site.css new file mode 100644 index 0000000..c631428 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Content/Site.css @@ -0,0 +1,18 @@ +body { + padding-top: 50px; + padding-bottom: 20px; +} + +/* Set padding to keep content from hitting the edges */ +.body-content { + padding-left: 15px; + padding-right: 15px; +} + +/* Set width on the form input elements since they're 100% wide by default */ +input, +select, +textarea { + max-width: 280px; +} + diff --git a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj index 2963e1b..cdb99d8 100644 --- a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj +++ b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj @@ -103,6 +103,7 @@ + @@ -119,6 +120,9 @@ + + + Web.config @@ -129,7 +133,6 @@ - diff --git a/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml new file mode 100644 index 0000000..f6eb15a --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Views/Product/List.cshtml @@ -0,0 +1,8 @@ +@model SportsStore.Domain.Entities.Product + +@{ + ViewBag.Title = "List"; +} + +

List

+ diff --git a/SportsStore/SportsStore.WebUI/Views/Shared/_Layout.cshtml b/SportsStore/SportsStore.WebUI/Views/Shared/_Layout.cshtml new file mode 100644 index 0000000..6518ccc --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Views/Shared/_Layout.cshtml @@ -0,0 +1,40 @@ + + + + + + @ViewBag.Title - My ASP.NET Application + + + + + + + +
+ @RenderBody() +
+
+

© @DateTime.Now.Year - My ASP.NET Application

+
+
+ + + + + \ No newline at end of file diff --git a/SportsStore/SportsStore.WebUI/Views/_ViewStart.cshtml b/SportsStore/SportsStore.WebUI/Views/_ViewStart.cshtml new file mode 100644 index 0000000..efda124 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Views/_ViewStart.cshtml @@ -0,0 +1,3 @@ +@{ + Layout = "~/Views/Shared/_Layout.cshtml"; +} \ No newline at end of file