From 58ef5833b3f77f321c587dd86448c888029016ce Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Thu, 22 Dec 2022 14:44:26 +0100 Subject: feat: Many things - Working Login/Logout - Groundwork for web components - Loading web-components with version tag - Load temporal-polyfill globally --- code/api/Pages/_Layout.cshtml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'code/api/Pages/_Layout.cshtml') diff --git a/code/api/Pages/_Layout.cshtml b/code/api/Pages/_Layout.cshtml index 022e41e..d587a07 100644 --- a/code/api/Pages/_Layout.cshtml +++ b/code/api/Pages/_Layout.cshtml @@ -9,8 +9,26 @@ @ViewData["Title"] - Storage +@if (User.Identity?.IsAuthenticated ?? false) { +
+ +
+} @RenderBody() + + +@if (User.Identity?.IsAuthenticated ?? false) { + + +} @await RenderSectionAsync("Scripts", false) \ No newline at end of file -- cgit v1.3