Correzione struttura select

This commit is contained in:
Annamaria Sassi
2025-10-27 14:40:15 +01:00
parent c7a151e530
commit f187bbe5c5
8 changed files with 42 additions and 35 deletions
+4 -4
View File
@@ -3,8 +3,8 @@
<h6 class="fw-bold">Sash @(CurrSashGroup.SashList.Count == 1 ? "" : (IndexSash + 1))</h6>
</div>
<div class="input-group mb-2">
<label class="input-group-text" for="OpeningSash@(IndexSash + 1)">Tipology</label>
<select class="form-select" id="OpeningSash@(IndexSash + 1)" @bind="@CurrSashDim.SelOpeningTypeIndex">
<label class="input-group-text">Tipology</label>
<select class="form-select" @bind="@CurrSashDim.SelOpeningTypeIndex">
<option value="0">A bandiera sinistra</option>
<option value="1">A bandiera destra</option>
<option value="2">Ad anta-ribalta sinistra</option>
@@ -26,10 +26,10 @@
</div>
<div class="d-flex justify-content-start fs-5 mb-2">
<div class="px-1">
<input class="form-check-input ml-auto" type="checkbox" name="Handle" id="HandleSashLabel@(IndexSash + 1)" checked="@CurrSashDim.bHasHandle" @onclick="() => RaiseChangeHandle(CurrSashDim, CurrSashGroup)">
<input class="form-check-input ml-auto" type="checkbox" name="Handle" checked="@CurrSashDim.bHasHandle" @onclick="() => RaiseChangeHandle(CurrSashDim, CurrSashGroup)">
</div>
<div class="px-2">
<label class="form-check-label fs-6 text-dark" for="HandleSashLabel@(IndexSash + 1)">Handle</label>
<label class="form-check-label fs-6 text-dark">Handle</label>
</div>
</div>
@if (!(CurrAnta.AreaList[0] is Split))
+5 -5
View File
@@ -15,8 +15,8 @@
<div class="row">
<div class="col-sm-6">
<div class="input-group my-2">
<label class="input-group-text" for="FrameShape">Shape</label>
<select class="form-select" id="FrameShape" @bind="@SelShapeIndex">
<label class="input-group-text">Shape</label>
<select class="form-select" @bind="@SelShapeIndex">
<option value="0">Rectangle</option>
<option value="1">Right Chamfer</option>
<option value="2">Left Chamfer</option>
@@ -45,8 +45,8 @@
<h6 class="fw-bold">Threshold</h6>
</div>
<div class="input-group mb-2">
<label class="input-group-text" for="Threshold">Tipology</label>
<select class="form-select" id="Threshold">
<label class="input-group-text">Tipology</label>
<select class="form-select">
<option value="0">Soglia</option>
<option value="1">Sgocciolatoio</option>
</select>
@@ -91,7 +91,7 @@
</div>
<div class="row">
<div class="input-group mb-2">
<span class="input-group-text" id="BottomRailQty">Quantity</span>
<span class="input-group-text">Quantity</span>
<input type="number" class="form-control" @bind="@FrameWindow.BottomRailQty">
</div>
</div>
+10 -10
View File
@@ -32,8 +32,8 @@
<div class="row">
<div class="col-sm-6">
<div class="input-group mb-2">
<label class="input-group-text" for="ShapeSplit@(SplitList.IndexOf(CurrItem) + 1)">Shape</label>
<select class="form-select" id="ShapeSplit@(SplitList.IndexOf(CurrItem) + 1)" @bind="@CurrItem.SelSplitShapeIndex">
<label class="input-group-text">Shape</label>
<select class="form-select" @bind="@CurrItem.SelSplitShapeIndex">
<option value="0">Vertical</option>
<option value="1">Horizontal</option>
<option value="2">Grid</option>
@@ -47,7 +47,7 @@
{
<div class="col-sm-6">
<div class="input-group mb-2">
<span class="input-group-text" id="SplitQty@(SplitList.IndexOf(CurrItem) + 1)">QtyVert</span>
<span class="input-group-text">QtyVert</span>
<input type="number" class="form-control" @bind="@CurrItem.nSplitQtyVert">
</div>
</div>
@@ -56,7 +56,7 @@
{
<div class="col-sm-6">
<div class="input-group mb-2">
<span class="input-group-text" id="SplitQty@(SplitList.IndexOf(CurrItem) + 1)">QtyHoriz</span>
<span class="input-group-text">QtyHoriz</span>
<input type="number" class="form-control" @bind="@CurrItem.nSplitQtyHoriz">
</div>
</div>
@@ -69,7 +69,7 @@
@foreach (var dim in CurrItem.SplitVertList)
{
<div class="input-group mb-2">
<span class="input-group-text" id="SplitDimension@(CurrItem.SplitVertList.IndexOf(dim) + 1)">Width</span>
<span class="input-group-text">Width</span>
<input type="number" class="form-control" @bind="@dim.dDimension">
<span class="input-group-text">%</span>
</div>
@@ -79,7 +79,7 @@
@foreach (var dim in CurrItem.SplitHorizList)
{
<div class="input-group mb-2">
<span class="input-group-text" id="SplitDimension@(CurrItem.SplitHorizList.IndexOf(dim) + 1)">Height</span>
<span class="input-group-text">Height</span>
<input type="number" class="form-control" @bind="@dim.dDimension">
<span class="input-group-text">%</span>
</div>
@@ -92,7 +92,7 @@
{
<div class="col-sm-6">
<div class="input-group mb-2">
<span class="input-group-text" id="SplitDimension@(CurrItem.SplitHorizList.IndexOf(dim) + 1)">Height</span>
<span class="input-group-text">Height</span>
<input type="number" class="form-control" @bind="@dim.dDimension">
<span class="input-group-text">%</span>
</div>
@@ -105,7 +105,7 @@
{
<div class="col-sm-6">
<div class="input-group mb-2">
<span class="input-group-text" id="SplitDimension@(CurrItem.SplitVertList.IndexOf(dim) + 1)">Width</span>
<span class="input-group-text">Width</span>
<input type="number" class="form-control" @bind="@dim.dDimension">
<span class="input-group-text">%</span>
</div>
@@ -119,10 +119,10 @@
<div class="col-sm-6">
<div class="d-flex justify-content-start fs-5 mb-2">
<div class="px-1">
<input class="form-check-input ml-auto" type="checkbox" name="SplitStartVert" id="SplitStartVert@(SplitList.IndexOf(CurrItem) + 1)" checked="@CurrItem.bSplitStartVert" @oninput="(ChangeEventArgs e) => ChangeStartVert(e, CurrItem)">
<input class="form-check-input ml-auto" type="checkbox" name="SplitStartVert" checked="@CurrItem.bSplitStartVert" @oninput="(ChangeEventArgs e) => ChangeStartVert(e, CurrItem)">
</div>
<div class="px-2">
<label class="form-check-label fs-6 text-dark" for="SplitStartVert@(SplitList.IndexOf(CurrItem) + 1)">StartVert</label>
<label class="form-check-label fs-6 text-dark">StartVert</label>
</div>
</div>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<div class="input-group mb-2">
<span class="input-group-text" id="NameDimFrame@(CurrRec.nIndex)">@CurrRec.sName</span>
<span class="input-group-text">@CurrRec.sName</span>
<input type="number" class="form-control" @bind="@CurrVal">
<span class="input-group-text">mm</span>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
@using static WebWindowComplex.LayoutConst
<div class="input-group mb-2">
<label class="input-group-text" for="IndexJoint@(CurrRec.nIndex)">@((PositionJoints)(CurrRec.nIndex - 1))</label>
<label class="input-group-text">@((PositionJoints)(CurrRec.nIndex - 1))</label>
<select class="form-select" @bind="@CurrVal">
<option value="0">Angled</option>
<option value="1">Full H</option>
+12 -12
View File
@@ -14,8 +14,8 @@
<div class="row">
<div class="col-sm-6">
<div class="input-group mb-2 justify-content-center">
<label class="input-group-text" for="MaterialWindow">Material</label>
<select class="form-select @(cssValid("Material"))" id="MaterialWindow" @bind="CurrMaterial">
<label class="input-group-text">Material</label>
<select class="form-select @(cssValid("Material"))" @bind="CurrMaterial">
@foreach (var item in ListPayload.Material)
{
<option value="@item">@item</option>
@@ -23,8 +23,8 @@
</select>
</div>
<div class="input-group mb-2">
<label class="input-group-text" for="ProfileWindow">Profile</label>
<select class="form-select @(cssValid("Profile"))" id="ProfileWindow" @bind="@CurrProfile">
<label class="input-group-text">Profile</label>
<select class="form-select @(cssValid("Profile"))" @bind="@CurrProfile">
@foreach (string profile in ListPayload.Profile)
{
<option value="@profile">@profile</option>
@@ -41,8 +41,8 @@
</div>
<div class="row">
<div class="input-group mb-2">
<label class="input-group-text" for="GlassWindow">Glass</label>
<select class="form-select @(cssValid("Glass"))" id="GlassWindow" @bind="@CurrGlass">
<label class="input-group-text">Glass</label>
<select class="form-select @(cssValid("Glass"))" @bind="@CurrGlass">
@foreach (string glass in ListPayload.Glass)
{
<option value="@glass">@glass</option>
@@ -50,8 +50,8 @@
</select>
</div>
<div class="input-group mb-2">
<label class="input-group-text" for="PanelWindow">Pannello</label>
<select class="form-select" id="PanelWindow">
<label class="input-group-text">Pannello</label>
<select class="form-select">
<option value="0">Liscio</option>
<option value="1">Con venatura</option>
<option value="2">Custom</option>
@@ -65,8 +65,8 @@
</div>
<div class="row">
<div class="input-group mb-2">
<label class="input-group-text" for="ColorWindow">Window</label>
<select class="form-select @(cssValid("ColorMaterial"))" id="ColorWindow" @bind="@CurrColor">
<label class="input-group-text">Window</label>
<select class="form-select @(cssValid("ColorMaterial"))" @bind="@CurrColor">
@foreach (string colorMaterial in ListPayload.ColorMaterial)
{
<option value="@colorMaterial">@colorMaterial</option>
@@ -74,8 +74,8 @@
</select>
</div>
<div class="input-group mb-2">
<label class="input-group-text" for="Trunking">Trunking</label>
<select class="form-select" id="Trunking">
<label class="input-group-text">Trunking</label>
<select class="form-select" >
<option value="0">Black</option>
<option value="1">Silver</option>
<option value="2">White</option>
+6 -1
View File
@@ -6,7 +6,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>2.7.10.2713</Version>
<Version>2.7.10.2714</Version>
<Authors>Annamaria Sassi</Authors>
<Company>Egalware</Company>
<Description>Componente gestione Configurazioni avanzate Window per LUX</Description>
@@ -146,6 +146,11 @@