- update condizioni visibilità dataPager
- update display lista valori setup
- test debug locale
This commit is contained in:
Samuele Locatelli
2025-04-03 16:29:16 +02:00
parent de390869fc
commit 8b73e7dca6
8 changed files with 44 additions and 15 deletions
@@ -107,7 +107,7 @@
</table>
</div>
<div class="card-footer py-0 align-middle">
@if (totalCount > 5)
@if (totalCount > numRecord)
{
<EgwCoreLib.Razor.DataPager PageSize="@numRecord" currPage="@currPage" numRecordChanged="SetNumRec" numPageChanged="SetPage" totalCount="@totalCount" showLoading="@isLoading"></EgwCoreLib.Razor.DataPager>
}
@@ -25,6 +25,10 @@ namespace EgwControlCenter.App.Components.Compo
{
get => Environment.UserName;
}
private string DomainName
{
get => Environment.UserDomainName;
}
public void Dispose()
{
@@ -73,7 +73,7 @@
<table class="table table-striped table-sm text-start shadow border mb-0">
<thead>
<tr class="bg-dark bg-gradient text-light">
<th class="text-center" style="width: 2rem;"></th>
<th class="align-middle px-3" style="width: 2rem;">#</th>
<th>App Type</th>
<th>Path</th>
<th class="text-end" style="width: 3rem;">Enabled</th>
@@ -83,12 +83,12 @@
@foreach (var item in ListRecords)
{
<tr>
<td class="text-center">@item.Idx</td>
<td>@item.ApplicationType</td>
<td class="align-middle px-3">@item.Idx</td>
<td class="align-middle">@item.ApplicationType</td>
<td>
<input type="text" class="form-control form-control-sm" @bind="@item.BasePath" />
<input type="text" class="form-control form-control-sm small" @bind="@item.BasePath" />
</td>
<td class="text-end">
<td class="text-end align-middle">
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" @bind="@item.IsEnabled">
</div>
@@ -108,7 +108,7 @@
</div>
}
</div>
@if (PwdOk && totalCount > 5)
@if (PwdOk && totalCount > numRecord)
{
<div class="card-footer py-0 align-middle">
<EgwCoreLib.Razor.DataPager PageSize="@numRecord" currPage="@currPage" numRecordChanged="SetNumRec" numPageChanged="SetPage" totalCount="@totalCount" showLoading="@isLoading"></EgwCoreLib.Razor.DataPager>
@@ -189,6 +189,7 @@ namespace EgwControlCenter.App.Components.Compo
{
totalCount = SearchRecords.Count;
ListRecords = SearchRecords
.OrderBy(x => x.Idx)
.Skip(numRecord * (currPage - 1))
.Take(numRecord)
.ToList();
@@ -5,8 +5,8 @@
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<Version>1.2.2503.2515</Version>
<Configurations>Debug;Release;DEBUG_Local</Configurations>
<Version>1.2.2504.0316</Version>
<Configurations>Debug;Release;DEBUG_Local;DEBUG_remote</Configurations>
</PropertyGroup>
<ItemGroup>
<Content Remove="compilerconfig.json" />
@@ -4,8 +4,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project>
<PropertyGroup>
<ApplicationRevision>2515</ApplicationRevision>
<ApplicationVersion>1.2.2503.2515</ApplicationVersion>
<ApplicationRevision>0316</ApplicationRevision>
<ApplicationVersion>1.2.2504.0316</ApplicationVersion>
<BootstrapperEnabled>True</BootstrapperEnabled>
<Configuration>Release</Configuration>
<CreateWebPageOnPublish>True</CreateWebPageOnPublish>
@@ -145,11 +145,11 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.8.0.x64">
<Install>true</Install>
<ProductName>.NET Desktop Runtime 8.0.12 (x64)</ProductName>
<ProductName>.NET Desktop Runtime 8.0.14 (x64)</ProductName>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.8.0.x86">
<Install>true</Install>
<ProductName>.NET Desktop Runtime 8.0.12 (x86)</ProductName>
<ProductName>.NET Desktop Runtime 8.0.14 (x86)</ProductName>
</BootstrapperPackage>
</ItemGroup>
</Project>
@@ -0,0 +1,17 @@
{
"profiles": {
"EgwControlCenter.App": {
"commandName": "Project",
"remoteDebugEnabled": false,
"remoteDebugMachine": "10.74.83.32",
"authenticationMode": "Windows"
},
"Remote": {
"commandName": "Project",
"workingDirectory": "C:\\Steamware\\EgwAppControlCenter\\",
"remoteDebugEnabled": true,
"remoteDebugMachine": "10.74.83.32",
"authenticationMode": "Windows"
}
}
}
+9 -2
View File
@@ -12,24 +12,31 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
DEBUG_Local|Any CPU = DEBUG_Local|Any CPU
DEBUG_remote|Any CPU = DEBUG_remote|Any CPU
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_Local|Any CPU.ActiveCfg = DEBUG_Local|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_Local|Any CPU.Build.0 = DEBUG_Local|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_Local|Any CPU.ActiveCfg = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_Local|Any CPU.Build.0 = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_remote|Any CPU.ActiveCfg = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.DEBUG_remote|Any CPU.Build.0 = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D30ACE10-49B2-4EA8-B16F-C2E8788EBA2A}.Release|Any CPU.Build.0 = Release|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.DEBUG_Local|Any CPU.ActiveCfg = DEBUG_Local|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.DEBUG_Local|Any CPU.Build.0 = DEBUG_Local|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.DEBUG_remote|Any CPU.ActiveCfg = DEBUG_remote|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.DEBUG_remote|Any CPU.Build.0 = DEBUG_remote|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1D86ABFB-F09B-4E71-9185-0E727D630816}.Release|Any CPU.Build.0 = Release|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.DEBUG_Local|Any CPU.ActiveCfg = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.DEBUG_Local|Any CPU.Build.0 = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.DEBUG_remote|Any CPU.ActiveCfg = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.DEBUG_remote|Any CPU.Build.0 = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1D8D5F82-3E02-4B25-A69E-60969C22EBD3}.Release|Any CPU.ActiveCfg = Release|Any CPU