41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
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">
|
|
@if (userName != "0")
|
|
{
|
|
<div class="input-group text-truncate">
|
|
<div class="input-group-prepend">
|
|
<a title="LogOut" class="btn btn-sm btn-danger" @onclick="() => LogOut()"><i class="fas fa-sign-out-alt"></i></a>
|
|
</div>
|
|
<a title="Gestione account @userName" class="btn btn-sm btn-outline-dark mx-0 px-1" disabled>
|
|
<i class="fas fa-user-alt"></i> <b>@userName</b>
|
|
</a>
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
|
|
}
|
|
</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>
|
|
|
|
|