TAB3:
- renaming css colore mese
This commit is contained in:
@@ -311,8 +311,9 @@ namespace MP_TAB3.Components
|
||||
ListDTO = TabDServ.InsManDayDto(ListPeriod);
|
||||
DateCheck = new Dictionary<DateTime, string>();
|
||||
DateCFF = new Dictionary<DateTime, string>();
|
||||
string cssOkComm = "bg-success text-light rounded-circle p-2";
|
||||
string cssOkLav = "bg-warning text-light rounded-circle p-2";
|
||||
string cssImport = "bg-success text-light rounded-circle p-2";
|
||||
string cssOkDay = "bg-success bg-opacity-50 text-light rounded-circle p-2";
|
||||
string cssHasData = "bg-warning text-light rounded-circle p-2";
|
||||
string cssToday = "bg-info text-dark rounded-circle p-2";
|
||||
string cssFest = "bg-danger text-warning rounded-pill2 px-0 opacity-50";
|
||||
string cssChius = "bg-warning text-dark rounded-pill2 px-0 opacity-50";
|
||||
@@ -322,11 +323,11 @@ namespace MP_TAB3.Components
|
||||
string currCss = "";
|
||||
foreach (var item in ListDTO)
|
||||
{
|
||||
currCss = item.MinProdTot == 0 ? "" : cssOkLav;
|
||||
currCss = item.MinProdTot == 0 ? "" : cssHasData;
|
||||
// controllo minuti dichiarati...
|
||||
if (IsTimeInfoOk(item.DataRif.Date, true))
|
||||
{
|
||||
currCss = cssOkComm;
|
||||
currCss = cssOkDay;
|
||||
}
|
||||
else if (item.DataRif == DateTime.Today)
|
||||
{
|
||||
@@ -334,7 +335,7 @@ namespace MP_TAB3.Components
|
||||
}
|
||||
else if (item.RatioImport == 1)
|
||||
{
|
||||
currCss = cssOkComm;
|
||||
currCss = cssOkDay;
|
||||
}
|
||||
DateCheck.Add(item.DataRif, currCss);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user