Aggiunta componente indipendente per Area Split
This commit is contained in:
@@ -737,12 +737,10 @@
|
||||
</div>
|
||||
</div>
|
||||
@foreach (var currSplitted in SplittedList)
|
||||
@* @for (int i = 0; i < SplittedList.Count; i++) *@
|
||||
{
|
||||
@* Splitted currSplitted = SplittedList[i]; *@
|
||||
@if (currSplitted.AreaList[0].Equals(item))
|
||||
{
|
||||
<div class="border mb-2 shadow-sm rounded">
|
||||
@* <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">
|
||||
@@ -761,9 +759,7 @@
|
||||
</div>
|
||||
</div>
|
||||
@foreach (var Index in SashList)
|
||||
@* @for (int j = 0; j < SashList.Count; j++) *@
|
||||
{
|
||||
@* int Index = j; *@
|
||||
<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>
|
||||
@@ -772,7 +768,8 @@
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> *@
|
||||
<AreaSplit CurrSashList="SashList" CurrSplittedList="SplittedList" CurrSplitted="currSplitted" EC_CopySash="() => CopySash()"></AreaSplit>
|
||||
}
|
||||
}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user