From 1f5d60db652e2d038ffb7d01949fb6f8b1188f1f Mon Sep 17 00:00:00 2001 From: lebeaulato Date: Wed, 15 Jan 2025 17:30:46 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20en=20place=20d'un=20bouton=20pour=20se?= =?UTF-8?q?=20d=C3=A9connecter=20(ne=20marche=20pas=20encore)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor | 4 +++- WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor.cs | 14 +------------- WF-WebAdmin/WF-WebAdmin/wwwroot/css/site.css | 4 ++++ 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor b/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor index 95c9e55..d62d291 100644 --- a/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor +++ b/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor @@ -17,10 +17,12 @@
@if (!string.IsNullOrEmpty(uLogin.Name)) { - + + @* *@ } else { + }
diff --git a/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor.cs b/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor.cs index f7cb295..267376f 100644 --- a/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor.cs +++ b/WF-WebAdmin/WF-WebAdmin/Shared/MainLayout.razor.cs @@ -8,18 +8,6 @@ namespace WF_WebAdmin.Shared { public partial class MainLayout { - //private List usersConnexion; - - //[Inject] - //public HttpClient Http { get; set; } - - //[Inject] - //public NavigationManager NavigationManager { get; set; } - - //protected override async Task OnInitializedAsync() - //{ - - // usersConnexion = await Http.GetFromJsonAsync>($"{NavigationManager.BaseUri}fake-dataUsers.json"); - //} + } } diff --git a/WF-WebAdmin/WF-WebAdmin/wwwroot/css/site.css b/WF-WebAdmin/WF-WebAdmin/wwwroot/css/site.css index ad40277..24284a5 100644 --- a/WF-WebAdmin/WF-WebAdmin/wwwroot/css/site.css +++ b/WF-WebAdmin/WF-WebAdmin/wwwroot/css/site.css @@ -244,4 +244,8 @@ td { height: auto; width: 30px; border-radius: 45%; +} + +.buttonProfil{ + background-color:transparent; } \ No newline at end of file