update comportamento selezione dettaglio confronto tabelle
This commit is contained in:
@@ -18,6 +18,9 @@ namespace MP.Land.Components
|
||||
[Parameter]
|
||||
public List<ConfigModel> ListConfigRem { get; set; } = new List<ConfigModel>();
|
||||
|
||||
[Parameter]
|
||||
public bool ShowDetail { get; set; } = false;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace MP.Land.Components
|
||||
[Parameter]
|
||||
public List<VocabolarioModel> ListVocabolarioRem { get; set; } = new List<VocabolarioModel>();
|
||||
|
||||
[Parameter]
|
||||
public bool ShowDetail { get; set; } = false;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RootNamespace>MP.Land</RootNamespace>
|
||||
<Version>6.16.2407.1910</Version>
|
||||
<Version>6.16.2407.1911</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -26,6 +26,14 @@
|
||||
}
|
||||
<div class="card shadow">
|
||||
<div class="card-body">
|
||||
@if(!string.IsNullOrEmpty(CompType))
|
||||
{
|
||||
<div class="d-flex justify-content-end">
|
||||
<div class="px-1">
|
||||
<button class="btn btn-primary" @onclick="doClose">Chiudi</button>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@if (isLoadingLoc)
|
||||
{
|
||||
<LoadingData Title="Loading Local..." DisplayCss="alert alert-secondary"></LoadingData>
|
||||
@@ -34,29 +42,27 @@
|
||||
{
|
||||
<LoadingData Title="Loading Remote..." DisplayCss="alert alert-primary"></LoadingData>
|
||||
}
|
||||
else if(!string.IsNullOrEmpty(CompType))
|
||||
{
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="px-1">
|
||||
@CompType
|
||||
</div>
|
||||
<div class="px-1">
|
||||
<button class="btn btn-primary" @onclick="doClose">Chiudi</button>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
{
|
||||
<div class="row text-center">
|
||||
<div class="col-12 col-sm-6 col-xl-4 my-1">
|
||||
<CompareAnagKeyVal ListAnagKeyValLoc="@listAnagKeyValLoc" ListAnagKeyValRem="@listAnagKeyValRem" EC_reqAct="DoCompare"></CompareAnagKeyVal>
|
||||
@if (string.IsNullOrEmpty(CompType) || showDetail("AnagKeyVal"))
|
||||
{
|
||||
<div class="col-12 col-sm-6 col-xl my-1">
|
||||
<CompareAnagKeyVal ListAnagKeyValLoc="@listAnagKeyValLoc" ListAnagKeyValRem="@listAnagKeyValRem" EC_reqAct="DoCompare" ShowDetail="@showDetail("AnagKeyVal")"></CompareAnagKeyVal>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-xl-4 my-1">
|
||||
<CompareConfig ListConfigLoc="@listConfigLoc" ListConfigRem="@listConfigRem" EC_reqAct="DoCompare"></CompareConfig>
|
||||
}
|
||||
@if (string.IsNullOrEmpty(CompType) || showDetail("Config"))
|
||||
{
|
||||
<div class="col-12 col-sm-6 col-xl my-1">
|
||||
<CompareConfig ListConfigLoc="@listConfigLoc" ListConfigRem="@listConfigRem" EC_reqAct="DoCompare" ShowDetail="@showDetail("Config")"></CompareConfig>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-xl-4 my-1">
|
||||
<CompareVocabolario ListVocabolarioLoc="@listVocabolarioLoc" ListVocabolarioRem="@listVocabolarioRem" EC_reqAct="DoCompare"></CompareVocabolario>
|
||||
}
|
||||
@if (string.IsNullOrEmpty(CompType) || showDetail("Vocabolario"))
|
||||
{
|
||||
<div class="col-12 col-sm-6 col-xl my-1">
|
||||
<CompareVocabolario ListVocabolarioLoc="@listVocabolarioLoc" ListVocabolarioRem="@listVocabolarioRem" EC_reqAct="DoCompare" ShowDetail="@showDetail("Vocabolario")"></CompareVocabolario>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -117,6 +117,11 @@ namespace MP.Land.Pages
|
||||
CompType = "";
|
||||
}
|
||||
|
||||
protected bool showDetail(string valReq)
|
||||
{
|
||||
return !string.IsNullOrEmpty(CompType) && CompType.Equals(valReq);
|
||||
}
|
||||
|
||||
protected async Task ReloadDataLoc()
|
||||
{
|
||||
isLoadingLoc = true;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo Tablet MAPO - DotNet6</i>
|
||||
<h4>Versione: 6.16.2407.1910</h4>
|
||||
<h4>Versione: 6.16.2407.1911</h4>
|
||||
<br />
|
||||
Note di rilascio:
|
||||
<ul>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2407.1910
|
||||
6.16.2407.1911
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2407.1910</version>
|
||||
<version>6.16.2407.1911</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user