From f5123f292a7e1c0679d2d8fc5bdc90fe2d60d2d8 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Sun, 4 Sep 2022 14:09:43 +0200 Subject: [PATCH] Fix container --- MediaManager/Pages/Movies.cshtml | 1 + MediaManager/Pages/Shared/_Layout.cshtml | 2 +- .../Pages/Shared/_LayoutNoContainer.cshtml | 50 +++++++++++++++++++ MediaManager/Pages/Shows.cshtml | 1 + 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 MediaManager/Pages/Shared/_LayoutNoContainer.cshtml diff --git a/MediaManager/Pages/Movies.cshtml b/MediaManager/Pages/Movies.cshtml index 10b1430..e77b115 100644 --- a/MediaManager/Pages/Movies.cshtml +++ b/MediaManager/Pages/Movies.cshtml @@ -3,6 +3,7 @@ @model MediaManager.Pages.Movies @{ ViewData["Title"] = "Movies"; + Layout = "_LayoutNoContainer"; }
diff --git a/MediaManager/Pages/Shared/_Layout.cshtml b/MediaManager/Pages/Shared/_Layout.cshtml index 6e53e55..ab1072a 100644 --- a/MediaManager/Pages/Shared/_Layout.cshtml +++ b/MediaManager/Pages/Shared/_Layout.cshtml @@ -29,7 +29,7 @@
-
+
@RenderBody()
diff --git a/MediaManager/Pages/Shared/_LayoutNoContainer.cshtml b/MediaManager/Pages/Shared/_LayoutNoContainer.cshtml new file mode 100644 index 0000000..e036640 --- /dev/null +++ b/MediaManager/Pages/Shared/_LayoutNoContainer.cshtml @@ -0,0 +1,50 @@ + + + + + + @ViewData["Title"] - MediaManager + + + + +
+ +
+
+
+ @RenderBody() +
+
+ +
+
+ © 2022 - MediaManager - Privacy +
+
+ + + + + +@await RenderSectionAsync("Scripts", false) + + diff --git a/MediaManager/Pages/Shows.cshtml b/MediaManager/Pages/Shows.cshtml index 1f9bae5..6e8af7d 100644 --- a/MediaManager/Pages/Shows.cshtml +++ b/MediaManager/Pages/Shows.cshtml @@ -4,6 +4,7 @@ @model MediaManager.Pages.Shows @{ ViewData["Title"] = "Shows"; + Layout = "_LayoutNoContainer"; }