- aggiornate tabella template
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<div class="alert alert-light text-center display-4">
|
||||
@if (currStep == CompileStep.General)
|
||||
{
|
||||
<table class="table">
|
||||
@* <table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
@@ -60,8 +60,8 @@
|
||||
@foreach (var item in m_TemplateList)
|
||||
{
|
||||
bool bIsInside = false;
|
||||
@* string colorClass = (item == SelTemplate) ? "table-success" : "";
|
||||
*@
|
||||
string colorClass = (item == SelTemplate) ? "table-success" : "";
|
||||
|
||||
string colorClass = "";
|
||||
@if (item == SelTemplate)
|
||||
colorClass = "table-success";
|
||||
@@ -78,6 +78,37 @@
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table> *@
|
||||
|
||||
<table class="table table-hover">
|
||||
<thead class="table-light fs-5">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Image</th>
|
||||
<th scope="col">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="table-group-divider fs-5">
|
||||
@foreach (var item in m_TemplateList)
|
||||
{
|
||||
@*bool bIsInside = false;
|
||||
string colorClass = (item == SelTemplate) ? "table-success" : ""; *@
|
||||
string colorClass = "";
|
||||
@if (item == SelTemplate)
|
||||
colorClass = "table-success";
|
||||
@* else if (item == InsideTemplate)
|
||||
colorClass = "table-info"; *@
|
||||
else
|
||||
colorClass = "";
|
||||
<tr class="@colorClass" @onclick="() => { SelTemplate = item; ReadJwd(); }">
|
||||
@* @onmouseenter="() => { InsideTemplate = item; }"
|
||||
@onmouseleave="() => { InsideTemplate = null; }" *@
|
||||
<td>@item.nIndex</td>
|
||||
<td>...</td>
|
||||
<td>@item.sDescription</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
@foreach (FrameDimension dimension in m_frame.DimensionList)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user