LiManUI:
- Aggiunto comportamento refresh su azioni client - Modifiche minori visualizzazione
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>License Manager</i>
|
||||
<h4>Versione: 2.1.2501.0710</h4>
|
||||
<h4>Versione: 2.1.2501.0919</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.1.2501.0710
|
||||
2.1.2501.0919
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>2.1.2501.0710</version>
|
||||
<version>2.1.2501.0919</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.UI.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
else if (SelRecord != null)
|
||||
{
|
||||
<div class="row mx-1">
|
||||
<div class="col-6">
|
||||
<div class="col-7">
|
||||
<div class="card shadow shadow-lg m-2">
|
||||
<div class="card-header text-center">
|
||||
<h3>@($"{SelRecord.Passcode:00 00 00 00}")</h3>
|
||||
@@ -22,13 +22,16 @@ else if (SelRecord != null)
|
||||
</li>
|
||||
@foreach (var kvp in SelRecord.DictAttrib)
|
||||
{
|
||||
<li class="list-group-item">@kvp.Key : <b>@kvp.Value</b></li>
|
||||
<li class="list-group-item d-flex justify-content-between">
|
||||
<div class="px-0 small">@kvp.Key:</div>
|
||||
<div class="px-0"><b>@kvp.Value</b></div>
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="col-5">
|
||||
@if (ShowAddLic)
|
||||
{
|
||||
<div class="modal fade show" tabindex="-1" style="display:block; background-color: rgba(10,10,10,.6);" aria-modal="true" role="dialog" data-keyboard="true">
|
||||
@@ -197,7 +200,7 @@ else
|
||||
@foreach (var kvp in item.DictAttribShort(nShort))
|
||||
{
|
||||
<li class="list-group-item d-flex justify-content-between">
|
||||
<div class="px-0">@kvp.Key:</div>
|
||||
<div class="px-0 small">@kvp.Key:</div>
|
||||
<div class="px-0"><b>@kvp.Value</b></div>
|
||||
</li>
|
||||
}
|
||||
|
||||
@@ -82,6 +82,7 @@ namespace LiMan.UI.Components
|
||||
// aggiungo chiave calcolata
|
||||
newLic.Chiave = newLic.ChiaveCalc;
|
||||
await LMDService.LicenzeNextUpdate(newLic);
|
||||
LMDService.EnrollMessPipe.sendMessage("LicAdded");
|
||||
ShowAddLic = false;
|
||||
ShowEditLic = false;
|
||||
await ReloadLicData();
|
||||
@@ -102,6 +103,7 @@ namespace LiMan.UI.Components
|
||||
// aggiorno chiave calcolata
|
||||
currLic.Chiave = currLic.ChiaveCalc;
|
||||
await LMDService.LicenzeNextUpdate(currLic);
|
||||
LMDService.EnrollMessPipe.sendMessage("LicUpdated");
|
||||
ShowAddLic = false;
|
||||
ShowEditLic = false;
|
||||
await ReloadLicData();
|
||||
@@ -123,6 +125,7 @@ namespace LiMan.UI.Components
|
||||
SelRecord.UserAppr = user.Identity.Name;
|
||||
SelRecord.IdxLic = SelIdxLic;
|
||||
await LMDService.EnrollReqUpsert(SelRecord);
|
||||
LMDService.EnrollMessPipe.sendMessage("AppApproved");
|
||||
SelRecord = null;
|
||||
await ReloadData();
|
||||
}
|
||||
@@ -188,7 +191,7 @@ namespace LiMan.UI.Components
|
||||
/// <summary>
|
||||
/// num max di dettagli KVP da mostrare
|
||||
/// </summary>
|
||||
private int nShort = 2;
|
||||
private int nShort = 3;
|
||||
|
||||
private List<int> PageList = new List<int>() { 4, 8, 12, 16, 24, 48 };
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ namespace LiMan.UI.Components
|
||||
{
|
||||
await LMDService.EnrollReqPurgeInvalid();
|
||||
await LMDService.FlushEnrollCache();
|
||||
LMDService.EnrollMessPipe.sendMessage("PurgedOld");
|
||||
searchVal = "";
|
||||
}
|
||||
|
||||
|
||||
@@ -737,6 +737,8 @@ namespace LiMan.UI.Data
|
||||
public async Task<bool> FlushEnrollCache()
|
||||
{
|
||||
bool fatto = await FlushRedisCachePattern("Enroll");
|
||||
// invio segnale rilettura...
|
||||
|
||||
return fatto;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Version>2.1.2501.0710</Version>
|
||||
<Version>2.1.2501.0919</Version>
|
||||
<RootNamespace>LiMan.UI</RootNamespace>
|
||||
<AssemblyName>LiMan.UI</AssemblyName>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>License Manager</i>
|
||||
<h4>Versione: 2.1.2501.0710</h4>
|
||||
<h4>Versione: 2.1.2501.0919</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
2.1.2501.0710
|
||||
2.1.2501.0919
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>2.1.2501.0710</version>
|
||||
<version>2.1.2501.0919</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.UI.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user