- Aggiornata tabella gerarchia

- Allineamento bottoni joint
This commit is contained in:
Annamaria Sassi
2026-03-16 10:39:37 +01:00
parent 36c16e58bf
commit 63c8c83143
5 changed files with 13 additions and 688 deletions
+3 -3
View File
@@ -100,13 +100,13 @@
<div class="row">
<div class="col-md-12 col-lg-6">
<div class="row justify-content-between align-items-center pb-2" style="min-height: 2.5rem;">
<div class="col-md-6 d-flex justify-content-start align-items-center">
<div class="col-md-4 d-flex justify-content-start align-items-center">
<h6 class="fw-bold">Joints</h6>
</div>
@if (!User)
{
<div class="col-md-6 d-flex justify-content-end align-items-center">
<div class="btn-group" role="group">
<div class="col-md-8 d-flex justify-content-end align-items-center">
<div class="d-flex flex-wrap gap-1" role="group">
<button type="button" class="@ButtonJointCss(Json.WindowConst.Joints.ANGLED)" @onclick="() => ChangeAllJoints(WebWindowComplex.Json.WindowConst.Joints.ANGLED)">Angled</button>
<button type="button" class="@ButtonJointCss(Json.WindowConst.Joints.FULL_H)" @onclick="() => ChangeAllJoints(WebWindowComplex.Json.WindowConst.Joints.FULL_H)">Horizontal</button>
<button type="button" class="@ButtonJointCss(Json.WindowConst.Joints.FULL_V)" @onclick="() => ChangeAllJoints(WebWindowComplex.Json.WindowConst.Joints.FULL_V)">Vertical</button>
+4 -4
View File
@@ -1,6 +1,6 @@
@using static WebWindowComplex.LayoutConst
<div class="table-responsive">
@* <div class="table-responsive"> *@
<table class="table table-responsive table-sm mx-auto table-hover align-middle table-borderless">
<colgroup>
@for (int i = 0; i < maxCol; i++)
@@ -58,10 +58,10 @@
style="font-size: 1rem;flex-basis: 80%;">
@ItemTableList[i].Desc
</button>
@if (ItemTableList[row].NumChild > 4)
@if (ItemTableList[row].NumChild > 3)
{
<button class="btn btn-sm" @onclick="() => ChangeCollapsed(ItemTableList[row].Row)"
style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem; flex-basis: 20%;">
style="bs-btn-padding-y: .25rem; bs-btn-padding-x: .5rem; bs-btn-font-size: .75rem; flex-basis: 20%;">
<i class="@hwIcon(ItemTableList[i].Row)" style="width:0.5rem;"></i>
</button>
}
@@ -137,4 +137,4 @@
}
</tbody>
</table>
</div>
@* </div> *@
+3 -4
View File
@@ -394,7 +394,7 @@ namespace WebWindowComplex
/// Richiesta chiusura SENZA salvataggio (= restore prev)
/// </summary>
/// <returns></returns>
protected Task DoClose()
protected async Task DoClose()
{
editLock = false;
Log.Info("Richiesta Chiusura");
@@ -412,9 +412,8 @@ namespace WebWindowComplex
currJwd = CurrJwd,
ForceSave = false,
};
return EC_OnClose.InvokeAsync(dataSave);
await EC_OnClose.InvokeAsync(dataSave);
}
return null;
}
/// <summary>
@@ -890,7 +889,7 @@ namespace WebWindowComplex
CreateElementTable(m_CurrWindow.AreaList.First(), 1, 1, 1, 1);
foreach (var item in ItemTableList)
{
if (item.NumChild > 4)
if (item.NumChild > 3)
{
if (!RowCollapsed.ContainsKey(item.Row))
{
+1 -305
View File
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>3.1.3.1309</Version>
<Version>3.1.3.1610</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
@@ -34,307 +34,3 @@
</Target>
</Project>