From 6d6bfc10121995bd8da06d456feca73709ae1979 Mon Sep 17 00:00:00 2001 From: jojo aquino Date: Mon, 24 Mar 2025 18:59:14 +0000 Subject: [PATCH] new _Blank layout --- .../EnotaryoPH.Web/Pages/Shared/_Blank.cshtml | 89 +++++++++ .../Pages/Shared/_Blank.cshtml.css | 1 + .../Pages/Shared/_Layout.cshtml | 172 +++++------------- 3 files changed, 140 insertions(+), 122 deletions(-) create mode 100644 EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml create mode 100644 EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml.css diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml new file mode 100644 index 0000000..7cbca5d --- /dev/null +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml @@ -0,0 +1,89 @@ + + + + + + + @ViewData["Title"] | E-Notaryo PH + + + + + + + + + + + @await RenderSectionAsync("Head", required: false) + + + + + @RenderBody() + + + + + + + + + + + @if(User.Identity.IsAuthenticated) { + + + } + @await RenderSectionAsync("Scripts", required: false) + + + + + + diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml.css b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml.css new file mode 100644 index 0000000..5f28270 --- /dev/null +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Blank.cshtml.css @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Layout.cshtml b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Layout.cshtml index e251140..5a01f56 100644 --- a/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Layout.cshtml +++ b/EnotaryoPH/EnotaryoPH.Web/Pages/Shared/_Layout.cshtml @@ -1,131 +1,59 @@ - - +@{ + Layout = "_Blank"; +} - - - - @ViewData["Title"] | E-Notaryo PH - - - - - - - - - - - @await RenderSectionAsync("Head", required: false) - +@section Head { + @RenderSection("Head", required: false) +} - -
- -
- -
-
- @RenderBody() - -
- - - - - - - - - - - - - @if(User.Identity.IsAuthenticated) { - - - } - @await RenderSectionAsync("Scripts", required: false) - - - +@section Scripts { + @RenderSection("Scripts", required: false) +}