From b2b8e5a4275fa08941628e817421da39e920b876 Mon Sep 17 00:00:00 2001 From: "Jeffrey T. Fritz" Date: Tue, 15 Aug 2023 11:04:47 -0400 Subject: [PATCH 1/6] WIP --- src/TagzApp.Web/Pages/Index.cshtml | 48 ----------------- src/TagzApp.Web/Pages/Index.cshtml.cs | 1 - src/TagzApp.Web/Pages/Shared/_Layout.cshtml | 4 ++ src/TagzApp.Web/Pages/Waterfall.cshtml | 60 +++++++++++++++++++++ src/TagzApp.Web/Pages/Waterfall.cshtml.cs | 26 +++++++++ src/TagzApp.Web/wwwroot/js/site.js | 2 + src/TagzApp.WebTest/TagzAppNavigator.cs | 2 +- 7 files changed, 93 insertions(+), 50 deletions(-) create mode 100644 src/TagzApp.Web/Pages/Waterfall.cshtml create mode 100644 src/TagzApp.Web/Pages/Waterfall.cshtml.cs diff --git a/src/TagzApp.Web/Pages/Index.cshtml b/src/TagzApp.Web/Pages/Index.cshtml index c723d7b3..be3a100b 100644 --- a/src/TagzApp.Web/Pages/Index.cshtml +++ b/src/TagzApp.Web/Pages/Index.cshtml @@ -26,51 +26,3 @@ - -
- - @*
- -
- Loading... -
- -
- *@ -
- - - - - -@section Scripts { - - - - -} diff --git a/src/TagzApp.Web/Pages/Index.cshtml.cs b/src/TagzApp.Web/Pages/Index.cshtml.cs index 11ec3435..a649382b 100644 --- a/src/TagzApp.Web/Pages/Index.cshtml.cs +++ b/src/TagzApp.Web/Pages/Index.cshtml.cs @@ -25,7 +25,6 @@ public void OnGet() Tags.Add(item.Key); } - } public IActionResult OnPost() diff --git a/src/TagzApp.Web/Pages/Shared/_Layout.cshtml b/src/TagzApp.Web/Pages/Shared/_Layout.cshtml index 15e53b56..c14ec425 100644 --- a/src/TagzApp.Web/Pages/Shared/_Layout.cshtml +++ b/src/TagzApp.Web/Pages/Shared/_Layout.cshtml @@ -27,6 +27,10 @@ Home + + @if ((await AuthorizationService.AuthorizeAsync(User, Security.Policy.Moderator)).Succeeded) {