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) +}