fix mostra tempo ciclo + switch mappa stato

This commit is contained in:
zaccaria.majid
2023-10-27 10:36:20 +02:00
parent 30dc97b4a2
commit 4a668e196c
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ else
<div class="col-12 col-lg-6 text-nowrap text-success">
TC: @($"{item.Tcassegnato:N2}")
<div class="text-secondary textCondens">
@TCMinSec(item.Tcassegnato) (min:sec)
@TCMinSec(item.Tcassegnato) (ore:min:sec)
</div>
</div>
</div>
+1 -1
View File
@@ -93,7 +93,7 @@ namespace MP_TAB_SERV.Components
if (fatto)
{
TimeSpan ts = TimeSpan.FromMinutes(TC);
TC_MinSec = $"{ts.TotalMinutes}:{ts.Seconds:00}";
TC_MinSec = $"{ts.Hours}:{ts.Minutes}:{ts.Seconds:00}";
}
}
return TC_MinSec;
+3 -2
View File
@@ -15,10 +15,11 @@
}
else
{
<div>
<div class="d-flex justify-content-center">
<label class="form-check-label me-2" for="">Nascondi dettagli</label>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckDefault" @bind="ShowCard">
<label class="form-check-label" for="flexSwitchCheckDefault">Default switch checkbox input</label>
<label class="form-check-label" for="flexSwitchCheckDefault">Mostra dettagli</label>
</div>
</div>
@foreach (var item in ListMSE)