31 lines
1.3 KiB
Plaintext
31 lines
1.3 KiB
Plaintext
<div class="card shadow-sm rounded">
|
|
<div class="card-body py-2">
|
|
<div class="d-flex justify-content-between align-items-center">
|
|
<div class="col d-flex justify-content-center">
|
|
@if (CurrSplittedList.Count > 1)
|
|
{
|
|
<h6>Area split @(CurrSplittedList.IndexOf(CurrSplitted) + 1)</h6>
|
|
}
|
|
else
|
|
{
|
|
<h6>Area split</h6>
|
|
}
|
|
</div>
|
|
<div class="col d-flex justify-content-center">
|
|
<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>
|
|
<div class="col d-flex justify-content-center">
|
|
@for (int j = 0; j < CurrSashList.Count; j++)
|
|
{
|
|
int Index = j;
|
|
<div class="input-group mb-2 justify-content-center">
|
|
<button class="btn btn-outline-secondary btn-sm" @onclick="() => RaiseCopySash(CurrSplitted,Index)">Copy Sash @(CurrSashList.Count == 1 ? "" : (Index + 1))</button>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|