5722ad4167
- porting blazor 8.0 - riorganizzazione area components - add componenti da 6 - spostamento ver 6 a old (migrata comunque)
70 lines
2.6 KiB
Plaintext
70 lines
2.6 KiB
Plaintext
|
|
<div class="d-flex">
|
|
<div class="px-2 flex-fill">
|
|
<label class="small">Gruppo</label>
|
|
<div class="input-group" title="Gruppo">
|
|
<span class="input-group-text">
|
|
<i class="far fa-object-group"></i>
|
|
</span>
|
|
<select @bind="@gruppoSel" class="form-select" title="Gruppo">
|
|
<option value="">--- Selezionare ---</option>
|
|
@foreach (var item in gruppiList)
|
|
{
|
|
<option value="@item.Gruppo">@item.DescrGruppo</option>
|
|
}
|
|
</select>
|
|
</div>
|
|
@if (!string.IsNullOrEmpty(gruppoSel))
|
|
{
|
|
<label class="small">Progetto</label>
|
|
<div class="input-group" title="Progetto">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text" style="width:3em;">
|
|
<i class="fas fa-project-diagram"></i>
|
|
</span>
|
|
</div>
|
|
<select @bind="@idxProj" class="form-control bg-dark text-light text-start" title="Progetto">
|
|
@foreach (var item in projList)
|
|
{
|
|
<option value="@item.IdxProgetto">@item.ClienteNav.RagSociale | @item.NomeProj</option>
|
|
}
|
|
</select>
|
|
</div>
|
|
}
|
|
@if (idxProj > 0)
|
|
{
|
|
<label class="small">Fase</label>
|
|
<div class="input-group" title="Fase">
|
|
<div class="input-group-prepend">
|
|
<span class="input-group-text" style="width:3em;">
|
|
<i class="fas fa-tasks"></i>
|
|
</span>
|
|
</div>
|
|
<select @bind="@idxFase" class="form-control bg-primary text-light text-start" title="Fase">
|
|
@foreach (var item in fasiList)
|
|
{
|
|
if (@item.EnableTime)
|
|
{
|
|
<option value="@item.IdxFase">@item.NomeFase</option>
|
|
}
|
|
else
|
|
{
|
|
<option value="@item.IdxFase" disabled="disabled" class="text-warning">[@item.NomeFase]</option>
|
|
}
|
|
}
|
|
</select>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="d-flex mt-2 flex-row-reverse">
|
|
<div class="px-2">
|
|
@if (idxFase > 0)
|
|
{
|
|
<button @onclick="() => SelectRecord()" class="btn btn-lg w-100 btn-success">Selezione Fase <i class="fas fa-arrow-alt-circle-right"></i></button>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|