From 08d8940db4bad94b7949323cdfbc27ea526b14a3 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sun, 21 Nov 2021 02:11:28 -0500 Subject: [PATCH] Fomantic can make anything look good --- .../ExternalAuth/AuthenticationPage.cshtml | 12 +++-- .../Pages/Layouts/BaseLayout.cshtml | 52 ++++++++++++------- .../Pages/Layouts/BaseLayout.cshtml.cs | 2 +- ProjectLighthouse/StaticFiles/css/styles.css | 13 +++++ ProjectLighthouse/Types/PageNavigationItem.cs | 6 ++- 5 files changed, 61 insertions(+), 24 deletions(-) diff --git a/ProjectLighthouse/Pages/ExternalAuth/AuthenticationPage.cshtml b/ProjectLighthouse/Pages/ExternalAuth/AuthenticationPage.cshtml index 9527c357..618dc6fe 100644 --- a/ProjectLighthouse/Pages/ExternalAuth/AuthenticationPage.cshtml +++ b/ProjectLighthouse/Pages/ExternalAuth/AuthenticationPage.cshtml @@ -8,11 +8,15 @@

Authentication

@foreach (AuthenticationAttempt authAttempt in Model.AuthenticationAttempts) { -
-

A @authAttempt.Platform authentication request was logged at @authAttempt.Timestamp from the IP address @authAttempt.IPAddress.

+
+

A @authAttempt.Platform authentication request was logged at @authAttempt.Timestamp from the IP address @authAttempt.IPAddress.

- Approve - Deny + + + + + +
} \ No newline at end of file diff --git a/ProjectLighthouse/Pages/Layouts/BaseLayout.cshtml b/ProjectLighthouse/Pages/Layouts/BaseLayout.cshtml index 6e12bbd0..9e553841 100644 --- a/ProjectLighthouse/Pages/Layouts/BaseLayout.cshtml +++ b/ProjectLighthouse/Pages/Layouts/BaseLayout.cshtml @@ -7,13 +7,13 @@ if (Model.User == null) { - Model.NavigationItems.Add(new PageNavigationItem("Register", "/register")); - Model.NavigationItems.Add(new PageNavigationItem("Log in", "/login")); + Model.NavigationItems.Add(new PageNavigationItem("Log in", "/login", "user alternate")); + Model.NavigationItems.Add(new PageNavigationItem("Register", "/register", "user alternate edit")); } else { - Model.NavigationItems.Add(new PageNavigationItem("Authentication", "/authentication")); - Model.NavigationItems.Add(new PageNavigationItem("Log out", "/logout")); // should always be last + Model.NavigationItems.Add(new PageNavigationItem("Authentication", "/authentication", "key")); + Model.NavigationItems.Add(new PageNavigationItem("Log out", "/logout", "user alternate slash")); // should always be last } } @@ -22,25 +22,41 @@ Project Lighthouse - +
- +
-@RenderBody() +
+
+ @RenderBody() +
-