5722ad4167
- porting blazor 8.0 - riorganizzazione area components - add componenti da 6 - spostamento ver 6 a old (migrata comunque)
34 lines
2.1 KiB
Plaintext
34 lines
2.1 KiB
Plaintext
@using CORE.Data.DbModels
|
|
@using WRKLOG.Data
|
|
@inject GpwDataService GDataServ
|
|
@inject MessageService AppMServ
|
|
@inject IJSRuntime JSRuntime
|
|
|
|
<div class="py-0 my-1 small flex-fill ">
|
|
<div class="d-flex shadow">
|
|
<button @onclick="() => Edit()" class="px-1 text-center border border-secondary border-top-0 border-bottom-0 border-left-0 btn btn-warning bg-opacity-25 btn-sm py-1 me-2" style="font-size: @FontSizeSmall; width: 10em;" title="Edit">
|
|
@if(ShowDate)
|
|
{
|
|
<div class="badge bg-primary w-100">@CurrData.Inizio.ToString("yyyy/MM/dd")</div>
|
|
}
|
|
<div>@CurrData.Inizio.ToString("HH:mm") - @CurrData.Fine.ToString("HH:mm")</div>
|
|
<div class="badge bg-dark p-1 w-100" style="font-size: @FontSizeSmall;">@($"{@CurrData.Durata.Hours}h {@CurrData.Durata.Minutes:00}'")</div>
|
|
</button>
|
|
<button @onclick="() => Clone()" class="px-1 text-center border border-secondary border-top-0 border-bottom-0 border-left-0 btn btn-primary btn-sm py-1" style="font-size: @FontSizeBig; width:3.4em;" title="Copy">
|
|
<i class="fas fa-paste"></i>
|
|
</button>
|
|
<div class="px-2 py-0 text-start textTrim flex-fill @blockClass" style="font-size: @FontSizeSmall;">
|
|
<div class="text-dark textTrim @cssTrim" title="@CurrData.FasiNav?.ProgettoNav?.ClienteNav?.RagSociale - @CurrData.FasiNav?.ProgettoNav?.NomeProj"><b>@(trimLine($"{CurrData.FasiNav?.ProgettoNav?.ClienteNav?.RagSociale}", MaxChar))</b> - @(trimLine($"{CurrData.FasiNav?.ProgettoNav?.NomeProj}", MaxChar))</div>
|
|
<div class="text-secondary textTrim @cssTrim" title="@CurrData.FasiNav?.DescrizioneFase">@(trimLine($"{CurrData.FasiNav?.DescrizioneFase}", 100))</div>
|
|
<div class="text-trim @cssTrim" title="@CurrData.Descrizione">@(trimLine($"{CurrData.Descrizione}", MaxChar))</div>
|
|
</div>
|
|
<button @onclick="() => Delete()" class="px-1 text-center border border-secondary border-top-0 border-bottom-0 border-left-0 btn btn-danger btn-sm py-1" style="font-size: @FontSizeBig; width:3.4em;">
|
|
<i class="fas fa-trash-alt"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|