Gestione componente CardFill
This commit is contained in:
@@ -696,7 +696,8 @@
|
||||
else
|
||||
{
|
||||
Fill item = FillList[currFill];
|
||||
<div class="container">
|
||||
<CardFill CurrIndex="currFill" CurrItem="item" FillList="m_FillList" SashList="m_SashList" SplittedList="m_SplittedList" EC_ChangeAllType="ChangeAllFill" EC_ChangeType="ChangeOneFill"></CardFill>
|
||||
@* <div class="container">
|
||||
<div class="row">
|
||||
<div class="text-start p-1 display-4 ">
|
||||
<div class="row">
|
||||
@@ -740,44 +741,14 @@
|
||||
{
|
||||
@if (currSplitted.AreaList[0].Equals(item))
|
||||
{
|
||||
@* <div class="border mb-2 shadow-sm rounded">
|
||||
<div class="card-body py-2">
|
||||
<div class="row my-2">
|
||||
<div class="col-sm-4 justify-content-center">
|
||||
@if (SplittedList.Count > 1)
|
||||
{
|
||||
<h3 class="card-title text-center">Area split @(SplittedList.IndexOf(currSplitted) + 1)</h3>
|
||||
}
|
||||
else
|
||||
{
|
||||
<h3 class="card-title text-center">Area split</h3>
|
||||
}
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<div class="input-group mb-2 justify-content-center">
|
||||
<button class="btn btn-outline-secondary btn-sm" @onclick="() => currSplitted.AddFirstSash()">Add sash</button>
|
||||
</div>
|
||||
</div>
|
||||
@foreach (var Index in SashList)
|
||||
{
|
||||
<div class="col-4">
|
||||
<div class="input-group mb-2 justify-content-center">
|
||||
<button class="btn btn-outline-secondary btn-sm" @onclick="() => CopySash(currSplitted, SashList.IndexOf(Index))">Copy sash @(SashList.Count == 1 ? "" : (SashList.IndexOf(Index) + 1))</button>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div> *@
|
||||
<AreaSplit CurrSashList="SashList" CurrSplittedList="SplittedList" CurrSplitted="currSplitted" ></AreaSplit>
|
||||
@* <AreaSplit CurrSashList="SashList" CurrSplittedList="SplittedList" CurrSplitted="currSplitted" EC_CopySash="() => CopySash()"></AreaSplit> *@
|
||||
}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> *@
|
||||
}
|
||||
}
|
||||
else if (currStep == CompileStep.General)
|
||||
|
||||
Reference in New Issue
Block a user