47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
@using Components.SvgComp
|
|
|
|
<div class="containerAll row text-light" style="background-color: #34495E;">
|
|
@if (currListOrderStatus != null)
|
|
{
|
|
@foreach (var item in currListOrderStatus)
|
|
{
|
|
@*<div class=" p-0 fs-5 d-flex justify-content-between flex-wrap align-content-center" style="width: calc((100%)/7)" @onclick="()=>doChangeStep(item.Value)">
|
|
@if (int.Parse(item.Value) == CurrOrderStatus)
|
|
{
|
|
<div class="tail-left" style="--itemColor: @item.DefaultVal"></div>
|
|
<div class="button2Click flex-fill text-center d-flex flex-wrap align-content-center" style="--itemColor: @item.DefaultVal">@item.Label</div>
|
|
<div class="arrow-right" style="--itemColor: @item.DefaultVal"></div>
|
|
}
|
|
else
|
|
{
|
|
@if (int.Parse(item.Value) < CurrOrderStatus)
|
|
{
|
|
<div class="flex-fill text-center" style="--itemColor: #6c757d">@item.Label <i class="fa-solid fa-check"></i></div>
|
|
}
|
|
else
|
|
{
|
|
<div class="flex-fill text-center" style="--itemColor: #6c757d">@item.Label</div>
|
|
}
|
|
}
|
|
</div>*@
|
|
|
|
<div class="col px-0">
|
|
@if (int.Parse(item.Value) == CurrOrderStatus)
|
|
{
|
|
<WebDoorCreator.UI.Components.SvgComp.StepArrow ObjId="@int.Parse(item.Value)" StepText="@item.Label" BlockStyle="@($"fill:{item.DefaultVal};")" ObjW="650" ObjH="100"></WebDoorCreator.UI.Components.SvgComp.StepArrow>
|
|
}
|
|
else
|
|
{
|
|
@if (int.Parse(item.Value) < CurrOrderStatus)
|
|
{
|
|
<WebDoorCreator.UI.Components.SvgComp.StepArrow ObjId="@int.Parse(item.Value)" StepText="@($"{item.Label} ✓")" BlockStyle="@($"fill:{item.DefaultVal};")" ObjW="650" ObjH="100"></WebDoorCreator.UI.Components.SvgComp.StepArrow>
|
|
}
|
|
else
|
|
{
|
|
<WebDoorCreator.UI.Components.SvgComp.StepArrow ObjId="@int.Parse(item.Value)" StepText="@item.Label" BlockStyle="@($"fill:transparent;")" ObjW="650" ObjH="100"></WebDoorCreator.UI.Components.SvgComp.StepArrow>
|
|
}
|
|
}
|
|
</div>
|
|
}
|
|
}
|
|
</div> |