Files
mapo-core/MP.INVE/Components/CmpTop.razor
T
2022-11-16 10:17:31 +01:00

31 lines
920 B
Plaintext

@using MP.INVE.Components
@using MP.INVE.Data
@using System.Security.Claims
@using Microsoft.AspNetCore.Components.Authorization
@inject AuthenticationStateProvider AuthenticationStateProvider
<div class="d-flex w-100 justify-content-between">
<div class="px-2 py-1">
<i class="fas fa-user-alt"></i> <b>@userName</b>
@if (userName != "0")
{
<button class="btn btn-primary btn-sm mx-1" @onclick="() => LogOut()" title="Forza Refresh Dati correnti"> LogOut </button>
}
</div>
<div class="pe-2">
<button class="btn btn-primary" @onclick="() => flushCache()" title="Forza Refresh Dati correnti"> Force Reload </button>
</div>
@* <div class="px-2 flex-grow-1 text-end">
<span class="text-secondary">@TipoSearch</span>
</div>
<div class="px-2 text-end">
@if (ShowSearch)
{
<SearchMod></SearchMod>
}
</div>*@
</div>