From 0a8a58ee17d2fc89e0df93a0d24de5878511ab90 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Wed, 17 May 2023 13:17:53 +0200 Subject: [PATCH] chore: moved TheManager, moved login button Signed-off-by: limited_dev --- .../Moderation/BoardManagementPage.razor | 1 + .../Shared/Components/Board.razor | 6 ++-- .../Shared/Components/Comment.razor | 1 + .../Shared/Components/Forms/PostForm.razor | 10 ++---- .../Shared/Components/Post.razor | 1 + ImageBoardServerApp/Shared/NavMenu.razor | 31 ++++++++++--------- ImageBoardServerApp/Util/TheManager.cs | 3 +- 7 files changed, 26 insertions(+), 27 deletions(-) diff --git a/ImageBoardServerApp/Pages/Moderation/BoardManagementPage.razor b/ImageBoardServerApp/Pages/Moderation/BoardManagementPage.razor index 0cbd7f5..a623616 100644 --- a/ImageBoardServerApp/Pages/Moderation/BoardManagementPage.razor +++ b/ImageBoardServerApp/Pages/Moderation/BoardManagementPage.razor @@ -1,5 +1,6 @@ @page "/sys/modmenu/boards" @using ImageBoardServerApp.Data.Repository +@using ImageBoardServerApp.Util

Boards

diff --git a/ImageBoardServerApp/Shared/Components/Board.razor b/ImageBoardServerApp/Shared/Components/Board.razor index e7feb3a..c489980 100644 --- a/ImageBoardServerApp/Shared/Components/Board.razor +++ b/ImageBoardServerApp/Shared/Components/Board.razor @@ -1,7 +1,5 @@ -@using System.ComponentModel.DataAnnotations -@using ImageBoardServerApp.Data -@using ImageBoardServerApp.Data.Repository - +@using ImageBoardServerApp.Util +@using System.ComponentModel.DataAnnotations /@board.Tag/ - @board.Topic - BulletBoard diff --git a/ImageBoardServerApp/Shared/Components/Comment.razor b/ImageBoardServerApp/Shared/Components/Comment.razor index 644688c..9aa8f77 100644 --- a/ImageBoardServerApp/Shared/Components/Comment.razor +++ b/ImageBoardServerApp/Shared/Components/Comment.razor @@ -1,5 +1,6 @@ @using ImageBoardServerApp.Auth @using ImageBoardServerApp.Data.Repository +@using ImageBoardServerApp.Util @using System.Text.RegularExpressions @using System.ComponentModel.DataAnnotations @inject AuthenticationStateProvider authStateProvider diff --git a/ImageBoardServerApp/Shared/Components/Forms/PostForm.razor b/ImageBoardServerApp/Shared/Components/Forms/PostForm.razor index e83c84d..eb149db 100644 --- a/ImageBoardServerApp/Shared/Components/Forms/PostForm.razor +++ b/ImageBoardServerApp/Shared/Components/Forms/PostForm.razor @@ -1,13 +1,7 @@ -@using Radzen -@using System.ComponentModel.DataAnnotations -@using System.IO.Pipelines -@using System.Net.Mime -@using System.Reflection -@using System.Runtime.CompilerServices +@using System.ComponentModel.DataAnnotations @using ImageBoardServerApp.Auth -@using ImageBoardServerApp.Data @using ImageBoardServerApp.Data.Repository - +@using ImageBoardServerApp.Util @inject NavigationManager NavigationManager @inject IWebHostEnvironment env @inject AuthenticationStateProvider authStateProvider diff --git a/ImageBoardServerApp/Shared/Components/Post.razor b/ImageBoardServerApp/Shared/Components/Post.razor index c5f81b3..aa07b3e 100644 --- a/ImageBoardServerApp/Shared/Components/Post.razor +++ b/ImageBoardServerApp/Shared/Components/Post.razor @@ -1,4 +1,5 @@ @using ImageBoardServerApp.Data.Repository +@using ImageBoardServerApp.Util @using ImageBoardServerApp.Auth @using System.ComponentModel.DataAnnotations @using System.Text.RegularExpressions diff --git a/ImageBoardServerApp/Shared/NavMenu.razor b/ImageBoardServerApp/Shared/NavMenu.razor index 160144b..ff5e9ab 100644 --- a/ImageBoardServerApp/Shared/NavMenu.razor +++ b/ImageBoardServerApp/Shared/NavMenu.razor @@ -5,15 +5,7 @@