ok fix grafici
This commit is contained in:
@@ -45,16 +45,19 @@
|
||||
</div>
|
||||
<div class="d-flex justify-content-between my-2">
|
||||
<div class="col-4 text-center">
|
||||
@if (ListType != null)
|
||||
{
|
||||
<select @bind="@TypeSel" class="form-select">
|
||||
<option value="*">-- All Types --</option>
|
||||
@foreach (var item in ListType)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
<div class="input-group mb-3">
|
||||
<span class="input-group-text" id="basic-addon1">SELECT COMPO TYPE</span>
|
||||
@if (ListType != null)
|
||||
{
|
||||
<select @bind="@TypeSel" class="form-select">
|
||||
<option value="*">-- All Types --</option>
|
||||
@foreach (var item in ListType)
|
||||
{
|
||||
<option value="@item">@item</option>
|
||||
}
|
||||
</select>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4 text-center">
|
||||
</div>
|
||||
@@ -62,7 +65,7 @@
|
||||
@if (searchRecords != null && searchRecords.Count() > 0)
|
||||
{
|
||||
<div class="text-nowrap">
|
||||
<div class="btn-group" role="group">
|
||||
<div class="btn-group w-50" role="group">
|
||||
<button type="button" class="btn btn-sm col-3 btn-secondary" disabled>FILTER BY: </button>
|
||||
<button type="button" class="btn btn-sm col-3 @filtBtnAddCss()" @onclick="()=>filtBtnSet(Core.Enum.fileStatus.add)">Add</button>
|
||||
<button type="button" class="btn btn-sm col-3 @filtBtnUpdCss()" @onclick="()=>filtBtnSet(Core.Enum.fileStatus.mod)">Update</button>
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace WebDoorCreator.UI.Components.FilesMan
|
||||
|
||||
protected bool _showAdd { get; set; } = true;
|
||||
|
||||
protected bool _showDel { get; set; } = true;
|
||||
protected bool _showDel { get; set; } = false;
|
||||
|
||||
protected bool _showUpd { get; set; } = true;
|
||||
|
||||
@@ -260,7 +260,6 @@ namespace WebDoorCreator.UI.Components.FilesMan
|
||||
searchRecords = searchRecords.Where(x => x.Value.status > 0).ToDictionary(x => x.Key, x => x.Value);
|
||||
stats2show.Add(Core.Enum.fileStatus.add);
|
||||
stats2show.Add(Core.Enum.fileStatus.mod);
|
||||
stats2show.Add(Core.Enum.fileStatus.rem);
|
||||
await ReloadData();
|
||||
sendDataVal = 100;
|
||||
isLoading = false;
|
||||
@@ -401,7 +400,7 @@ namespace WebDoorCreator.UI.Components.FilesMan
|
||||
}
|
||||
}
|
||||
}
|
||||
private string _typeSel { get; set; } = "";
|
||||
private string _typeSel { get; set; } = "*";
|
||||
|
||||
protected List<string> ListType { get; set; } = new List<string>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user