Files
mapo-core/MP-TAB-SERV/Components/NotesMan.razor
T
Samuele Locatelli 2522d6f6a5 fix spazi vert
2023-10-09 09:05:59 +02:00

64 lines
3.3 KiB
Plaintext

<NotesEditor CanSave="true" Title="Nuovo Commento" RecMSE="@RecMSE" E_Updated="DoUpdate"></NotesEditor>
<div class="row">
<div class="col-9">
<LongStopList></LongStopList>
</div>
<div class="col-3">
<div class="input-group my-1">
<span class="input-group-text" id="basic-addon1"># commenti</span>
<input type="number" class="form-control" @bind="@NumComm">
</div>
@if (RecordList == null)
{
<EgwCoreLib.Razor.LoadingData></EgwCoreLib.Razor.LoadingData>
}
else if (RecordList.Count == 0)
{
<div class="alert alert-warning">Nessun record trovato</div>
}
else
{
foreach (var item in RecordList)
{
<div class="my-1 w-100">
<div class="card text-white bg-dark rCAll w-100">
<div class="card-title py-0 px-2 mb-0 rCTop bg-dark fs-3">
<b>@item.Operatore</b>
</div>
<div class="card-text p-1 d-flex align-items-end">
@item.Value
</div>
<div class="card-text p-1 d-flex align-items-end">
<div class="labelBottom text-start">
@* <asp:LinkButton runat="server" ID="lbtEdit" CommandArgument='<%# Eval("InizioStato","{0:dd/MM/yyyy HH:mm:ss.fff}") %>' OnClick="lbtEdit_Click" Visible='<%# enableEdit %>' CssClass="btn btn-sm w-100 btn-info py-0"><i class="fa fa-edit"></i></asp:LinkButton> *@
<button class="btn btn-sm w-100 btn-info py-0"><i class="fa fa-edit"></i></button>
</div>
<div class="labelBottom text-end">
@* <asp:LinkButton runat="server" ID="lbtDel" CommandArgument='<%# Eval("InizioStato","{0:dd/MM/yyyy HH:mm:ss.fff}") %>' OnClick="lbtDel_Click" Visible='<%# enableEdit %>' CssClass="btn btn-sm w-100 btn-danger py-0" OnClientClick='<%# SteamWare.jsUtils.getCBE("confermaDel") %>'><i class="fa fa-trash"></i></asp:LinkButton> *@
<button class="btn btn-sm w-100 btn-danger py-0"><i class="fa fa-trash"></i></button>
</div>
</div>
<div class="card-text p-1 d-flex align-items-end rCBot" style="font-size: 0.8em; border-top: 1px solid #ACACAC; color: #ACACAC">
<div class="labelBottom text-start p-0">
@($"{item.InizioStato:yyyy/MM/dd HH:mm:ss}")
</div>
<div class="labelBottom text-end p-0">
@item.CodArticolo
@($"ODL{item.IdxODL:000000000}")
@* <asp:Label runat="server" ID="Label1" Text='<%# Eval("CodArticolo") %>' Font-Bold="false" />
<asp:Label runat="server" ID="Label2" Text='<%# Eval("idxODL","ODL{0}") %>' Font-Bold="false" /> *@
</div>
</div>
</div>
</div>
}
}
</div>
</div>