Mise en place d'un bouton pour se déconnecter (ne marche pas encore)

ComposantComplexe
lebeaulato 5 months ago
parent ae05689214
commit 1f5d60db65

@ -17,10 +17,12 @@
<div class="top-row px-4"> <div class="top-row px-4">
@if (!string.IsNullOrEmpty(uLogin.Name)) @if (!string.IsNullOrEmpty(uLogin.Name))
{ {
<img class="imageProfil" src="@uLogin.Image" /> <button class="buttonProfil" type="button"> <img class="imageProfil" src="@uLogin.Image" height="90" width="480" /></button>
@* <img class="imageProfil" src="@uLogin.Image" /> *@
} }
else else
{ {
<img class="imageProfil" src="https://cdn-icons-png.flaticon.com/512/61/61205.png"/> <img class="imageProfil" src="https://cdn-icons-png.flaticon.com/512/61/61205.png"/>
} }
</div> </div>

@ -8,18 +8,6 @@ namespace WF_WebAdmin.Shared
{ {
public partial class MainLayout public partial class MainLayout
{ {
//private List<User> usersConnexion;
//[Inject]
//public HttpClient Http { get; set; }
//[Inject]
//public NavigationManager NavigationManager { get; set; }
//protected override async Task OnInitializedAsync()
//{
// usersConnexion = await Http.GetFromJsonAsync<List<User>>($"{NavigationManager.BaseUri}fake-dataUsers.json");
//}
} }
} }

@ -244,4 +244,8 @@ td {
height: auto; height: auto;
width: 30px; width: 30px;
border-radius: 45%; border-radius: 45%;
}
.buttonProfil{
background-color:transparent;
} }
Loading…
Cancel
Save