62 lines
2.8 KiB
Plaintext
62 lines
2.8 KiB
Plaintext
<div class="row">
|
|
<div class="col-12 my-1">
|
|
<ol class="list-group">
|
|
<li class="list-group-item align-items-lg-start @TitleCss text-light d-flex justify-content-between">
|
|
<div class="px-0 d-flex">Coda Job @QueueType</div>
|
|
@if (QueueAll.Count > 0)
|
|
{
|
|
<div class="px-0">
|
|
<div class="input-group input-group-sm" title="ricerca">
|
|
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
|
<input type="text" class="form-control" @bind="@SearchVal">
|
|
<button class="btn @SearchCss" @onclick="ResetSearch"><i class="fas fa-ban"></i></button>
|
|
</div>
|
|
</div>
|
|
if (EnableReset || EnableClear)
|
|
{
|
|
<div class="px-0">
|
|
@if (EnableReset)
|
|
{
|
|
<button class="btn btn-sm btn-warning" @onclick="() => ResetQueue()">Reset All <i class="fa-solid fa-arrow-turn-up"></i></button>
|
|
}
|
|
else if (EnableClear)
|
|
{
|
|
<button class="btn btn-sm btn-danger" @onclick="() => ResetQueue()">Clear Queue <i class="fa-solid fa-xmark"></i></button>
|
|
}
|
|
</div>
|
|
}
|
|
}
|
|
</li>
|
|
@if (QueuePaged == null || QueuePaged?.Count() == 0)
|
|
{
|
|
<li class="list-group-item align-items-lg-start">Nessun Job trovato!</li>
|
|
}
|
|
else
|
|
{
|
|
foreach (var item in QueuePaged)
|
|
{
|
|
<li class="list-group-item align-items-lg-start">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="px-0">
|
|
@item
|
|
</div>
|
|
<div class="px-0">
|
|
@if (EnableReRun)
|
|
{
|
|
<button class="btn btn-sm btn-primary" @onclick="() => ReRunJob(item)"><i class="fa-solid fa-share-from-square" title="Riesecuzione Estimate"></i> Re-Run</button>
|
|
}
|
|
</div>
|
|
</div>
|
|
</li>
|
|
}
|
|
}
|
|
</ol>
|
|
@if (totalCount >= numRecord)
|
|
{
|
|
<nav>
|
|
<EgwCoreLib.Razor.DataPager currPage="@currPage" PageSize="@numRecord" totalCount="@totalCount" numPageChanged="SavePage" numRecordChanged="SaveNumRec"></EgwCoreLib.Razor.DataPager>
|
|
</nav>
|
|
}
|
|
</div>
|
|
</div>
|