Aggiunto componente x fix ODL

This commit is contained in:
Samuele Locatelli
2023-10-31 12:31:14 +01:00
parent 0eaf6f9c83
commit a0165fd23e
7 changed files with 62 additions and 5 deletions
+21
View File
@@ -0,0 +1,21 @@
<button class="btn btn-warning w-100" @onclick="toggleFixOdl"><i class="fa fa-check"></i> @txtBtnFixOdl</button>
@if (forceOdl)
{
<div class="row">
<div class="col-12">
<h1>Riassegnazione ODL</h1>
</div>
<div class="col-12">
<h4>Ultimi ODL lavorati:</h4>
...tabella...
</div>
<div class="col-8">
cerca/selezione ODL (miei/tutti)
</div>
<div class="col-4">
<button calss="btn btn-lg btn-warning"><i class="fa-solid fa-plus"></i> Imposta ODL</button>
</div>
</div>
}
+36
View File
@@ -0,0 +1,36 @@
using Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
namespace MP_TAB_SERV.Components
{
public partial class FixOdl
{
#region Public Properties
[Parameter]
public MappaStatoExpl? RecMSE { get; set; } = null;
#endregion Public Properties
#region Protected Properties
protected string txtBtnFixOdl { get => forceOdl ? "Fix ODL" : "Nascondi Fix"; }
#endregion Protected Properties
#region Protected Methods
protected void toggleFixOdl()
{
forceOdl = !forceOdl;
}
#endregion Protected Methods
#region Private Fields
private bool forceOdl = false;
#endregion Private Fields
}
}
+1 -1
View File
@@ -12,7 +12,7 @@
@if (!odlOk)
{
<div class="col-12">
<button class="btn btn-warning w-100"><i class="fa fa-check"></i> Fix ODL</button>
<FixOdl RecMSE="RecMSE"></FixOdl>
</div>
}
}
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2310.3111</Version>
<Version>6.16.2310.3112</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB_SERV</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2310.3111</h4>
<h4>Versione: 6.16.2310.3112</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2310.3111
6.16.2310.3112
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2310.3111</version>
<version>6.16.2310.3112</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>