72 lines
2.8 KiB
Plaintext
72 lines
2.8 KiB
Plaintext
|
|
|
|
<div class="d-flex justify-content-between border border-dark border-top-0 border-left-0 border-right-0">
|
|
<div class="p-1" style="width: 3rem;">
|
|
@if (IsTitle)
|
|
{
|
|
<b>DAY</b>
|
|
}
|
|
else
|
|
{
|
|
<div class="text-uppercase"><b>@DayDTO.DtRif.ToString("ddd")</b></div>
|
|
<div class="small">@DayDTO.DtRif.ToString("dd.MM")</div>
|
|
}
|
|
</div>
|
|
<div class="p-1 py-0 flex-fill text-left">
|
|
@if (IsTitle)
|
|
{
|
|
<div class="d-flex justify-content-between text-center">
|
|
@for (int i = StartHour; i <= EndHour; i++)
|
|
{
|
|
<div class="px-1 py-0" style="font-size: 1.2em;">
|
|
<b>@i.ToString("00")</b>
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<!-- Timbrature -->
|
|
<div class="d-flex justify-content-between text-center">
|
|
@if (@DayDTO != null && @DayDTO.ListTimbr != null)
|
|
{
|
|
@foreach (var item in ListTimb())
|
|
{
|
|
<PeriodoLav Periodo="periodo" CurrPeriodo="item" ItemSelected="PeriodoSelected"></PeriodoLav>
|
|
}
|
|
}
|
|
</div>
|
|
<!-- RegAtt -->
|
|
<div class="d-flex justify-content-between text-center">
|
|
@if (@noData)
|
|
{
|
|
<AddRA NewItemCreated="ReportSelected" InizioPer="@FirstTimb" IdxDip="@IdxDipSel" EnableAction="@EnableActionMenu"></AddRA>
|
|
}
|
|
else if (@DayDTO != null && @DayDTO.ListRA != null)
|
|
{
|
|
@foreach (var item in ListRegAtt())
|
|
{
|
|
<RegAtt CurrData="item" Periodo="periodo" ListFasi="@ListFasi" IdxDipSel="@IdxDipSel" ItemCloned="ReportCloned" ItemSelected="ReportSelected" ItemUpdated="ReportUpdated" EnableActionMenu="@EnableActionMenu"></RegAtt>
|
|
}
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="p-1 text-right" style="width: 5.0rem;">
|
|
@if (IsTitle)
|
|
{
|
|
<div class="small"><b>Timb</b> <i class="far fa-calendar-alt"></i></div>
|
|
<div class="small"><b>Lavo</b> <i class="far fa-hourglass"></i></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="btn btn-sm btn-block btn-dark px-1 py-0" @onclick="SelTimbrature"><b>@TotLav</b> <i class="far fa-calendar-alt"></i></div>
|
|
<div class="btn btn-sm btn-block @cssBadgeLav px-1 py-0 mt-1"><b>@TotComm</b> <i class="far fa-hourglass"></i></div>
|
|
<div class="btn btn-sm btn-block btn-light border border-dark px-1 py-0 mt-1" @onclick="SelTemperature"><i class="fas fa-thermometer-half @cssThermo"></i> <i class="fas fa-certificate @cssCheck"></i></div>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|