Update x link corretto QRCode + button in home
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<Version>1.0.2201.2112</Version>
|
||||
<Version>1.0.2201.2611</Version>
|
||||
<UserSecretsId>95c9f021-52d1-4390-a670-5810b7b777b0</UserSecretsId>
|
||||
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
|
||||
+45
-18
@@ -11,17 +11,21 @@
|
||||
|
||||
@attribute [AllowAnonymous]
|
||||
|
||||
<div class="jumbotron py-4">
|
||||
<div class="jumbotron py-3">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-4">
|
||||
<div class="col-6 col-md-8 pr-0">
|
||||
<h1>GWMS</h1>
|
||||
<div>
|
||||
GAS WareHouse Management System
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-8 text-right">
|
||||
<div class="text-light h1 d-none d-md-block">
|
||||
<span class="fas fa-home" aria-hidden="true"></span> | <span class="fas fa-gas-pump" aria-hidden="true"></span> | <span class="fas fa-file-invoice" aria-hidden="true"></span> | <span class="fas fa-industry" aria-hidden="true"></span> | <span class="fas fa-truck-moving" aria-hidden="true"></span> | <span class="fas fa-wrench" aria-hidden="true"></span>
|
||||
<div class="col-6 col-md-4 text-right pl-0">
|
||||
<div class="d-flex flex-row-reverse">
|
||||
<div class="px-2 badge badge-pill badge-dark my-4">
|
||||
<div class="p-2" style="font-size: 1.5em;">
|
||||
<a class="text-light" href="https://www.egalware.com/" target="_blank">powered by EgalWare <img width="32" class="img-fluid" src="img/LogoBlu.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -32,20 +36,43 @@
|
||||
<div class="col-12 my-lg-5">
|
||||
<SetupDiagnostics></SetupDiagnostics>
|
||||
</div>
|
||||
<div class="col-12 text-center">
|
||||
<img class="img-fluid mb-3" src="./img/LogoPizzaferri.png" />
|
||||
<h4>
|
||||
Sistema di gestione e pianificazione logistica impianti distribuzione metano
|
||||
</h4>
|
||||
<div class="col-3"></div>
|
||||
<div class="col-6 text-center">
|
||||
<img class="img-fluid mb-1" src="./img/LogoPizzaferri.png" />
|
||||
</div>
|
||||
<div class="col-12 text-center mt-5">
|
||||
<div class="col-4"></div>
|
||||
<div class="col-4"></div>
|
||||
<div class="col-4 badge badge-pill badge-dark">
|
||||
<div class="px-1">
|
||||
<a class="text-light" href="https://www.egalware.com/" target="_blank">powered by EgalWare <img width="24" class="img-fluid" src="img/LogoBlu.svg" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3"></div>
|
||||
<div class="col-12 text-center">
|
||||
<b>
|
||||
Sistema di gestione e pianificazione logistica impianti distribuzione metano
|
||||
</b>
|
||||
</div>
|
||||
<div class="col-12 text-center mt-2">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6 col-md-4 col-lg-3">
|
||||
<AuthorizeView Roles="SuperAdmin, Admin, ExtTransp">
|
||||
<Authorized>
|
||||
<div class="btn btn-block btn-primary text-light py-3" title="Scheda Trasportatore">
|
||||
<NavLink class="text-light" href="Transporters">
|
||||
<i class="fas fa-2x fa-truck-moving pr-2" aria-hidden="true"></i>
|
||||
<h5>Scheda Trasportatore</h5>
|
||||
</NavLink>
|
||||
</div>
|
||||
</Authorized>
|
||||
</AuthorizeView>
|
||||
</div>
|
||||
<div class="col-6 col-md-4 col-lg-3">
|
||||
<AuthorizeView Roles="SuperAdmin, Admin, ExtUser">
|
||||
<Authorized>
|
||||
<div class="btn btn-block btn-primary text-light py-3" title="Scheda Fornitore">
|
||||
<NavLink class="text-light" href="Suppliers">
|
||||
<i class="fas fa-2x fa-industry pr-2" aria-hidden="true"></i>
|
||||
<h5>Scheda Fornitore</h5>
|
||||
</NavLink>
|
||||
</div>
|
||||
</Authorized>
|
||||
</AuthorizeView>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -380,6 +380,7 @@ namespace GWMS.UI.Pages
|
||||
|
||||
string baseUrl = Configuration["BaseUrl"];
|
||||
string baseAppPath = Configuration["BaseAppPath"];
|
||||
string redirPage = Configuration["QrRedirPage"];
|
||||
if (!string.IsNullOrEmpty(baseAppPath))
|
||||
{
|
||||
if (baseUrl.EndsWith("/"))
|
||||
@@ -388,7 +389,7 @@ namespace GWMS.UI.Pages
|
||||
}
|
||||
baseUrl = $"{baseUrl}{baseAppPath}";
|
||||
}
|
||||
qrCodeVal = $"{baseUrl}Identity/Account/LogIn?uid={user.Id}&uem={user.Email}&pag=Transporters";
|
||||
qrCodeVal = $"{baseUrl}Identity/Account/LogIn?uid={user.Id}&uem={user.Email}&pag={redirPage}";
|
||||
}
|
||||
});
|
||||
pUpd.Wait();
|
||||
|
||||
@@ -21,5 +21,6 @@
|
||||
"ZCodeUrl": "https://qrcode.steamware.net/",
|
||||
"BaseUrl": "https://gwms.egalware.com/",
|
||||
"BaseAppPath": "/pizzaferri/",
|
||||
"QrRedirPage": "/pizzaferri/",
|
||||
"jumpRedir": "~/../"
|
||||
}
|
||||
@@ -38,6 +38,7 @@
|
||||
"ChartWaitDelay": 10,
|
||||
"BaseUrl": "https://localhost:44339/",
|
||||
"BaseAppPath": "",
|
||||
"QrRedirPage": "",
|
||||
"jumpRedir": "~/../../",
|
||||
"logo": "img/LogoPizzaferri.jpg",
|
||||
"ReloadParamTimer": 15000,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>GWMS - Gas Warehouse Management System</i>
|
||||
<h4>Versione: 1.0.2201.2112</h4>
|
||||
<h4>Versione: 1.0.2201.2611</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.0.2201.2112
|
||||
1.0.2201.2611
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>1.0.2201.2112</version>
|
||||
<version>1.0.2201.2611</version>
|
||||
<url>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/GWMS.UI.zip</url>
|
||||
<changelog>http://nexus.steamware.net/repository/SWS/GWMS/stable/0/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user