@if (currStep == CompileStep.Template) { @foreach (var item in IN_TemplateDTOList) { string colorClass = ""; @if (SelTemplateDTO != null && item.Index == SelTemplateDTO.Index) colorClass = "table-success"; else colorClass = ""; }
# Image Description
@item.Index @item.Description
} @if (currStep == CompileStep.Frame) {
Dimension
@foreach (FrameDimension dimension in m_Frame.DimensionList) {
@dimension.nIndex @dimension.sName
}
Joints frame
@foreach (Joint joint in m_Frame.JointList) {
}
@if (m_SashList.Count == 0) {
Bottom rail
Quantity
}
} else if (currStep == CompileStep.Split) {
@foreach (var item in SplitList) {
Number
@foreach (var dim in item.SplitPositionList) { string desc = ""; @if (item.SelSplitShape == Json.WindowConst.SplitShapes.VERTICAL) { desc = "Larghezza split "; } else { desc = "Altezza split "; }
@desc @(item.SplitPositionList.IndexOf(dim) + 1)
}
}
} else if (currStep == CompileStep.Sash) {
@foreach (var item in SashList) {
Number
Orientation
@foreach (SashDimension sash in item.SashList) {
@if (item.SashList.Count == 1) {
Opening
} else {
Sash opening @(item.SashList.IndexOf(sash) + 1)
}
Dimension
} @*
@for(int i = 0; i < item.SashList.Count; i += 2) {
@if (item.SashList.Count == 1) {
Opening
} else {
Sash opening @(i + 1)
}
Dimension
@if( i + 1 < item.SashList.Count) {
@if (item.SashList.Count == 1) {
Opening
} else {
Sash opening @(i + 2)
}
Dimension
} }
*@
Sash joints
@foreach (Joint joint in item.JointList) {
}
Bottom rail
Quantity
}
} else if (currStep == CompileStep.Fill) {
@foreach (var Fill in FillList) {
@if (FillList.Count == 1) {
Fill
} else {
Fill @(FillList.IndexOf(Fill) + 1)
}
}
}
@if(currStep != CompileStep.Template) {
@outSvg
}