diff --git a/INTERFACE/WebLCP.sln b/INTERFACE/WebLCP.sln
index 14889c3..44d6db7 100644
--- a/INTERFACE/WebLCP.sln
+++ b/INTERFACE/WebLCP.sln
@@ -1,10 +1,12 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.852
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29306.81
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebLCP", "WebLCP\WebLCP.csproj", "{D8F9AF19-2B35-4AAC-8079-B1D8B5A3F96B}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\..\SteamWare\SteamWareLib\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,10 @@ Global
{D8F9AF19-2B35-4AAC-8079-B1D8B5A3F96B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8F9AF19-2B35-4AAC-8079-B1D8B5A3F96B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8F9AF19-2B35-4AAC-8079-B1D8B5A3F96B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2872DCFE-8B46-43B2-BAA0-842A816A2DD5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/INTERFACE/WebLCP/WUC/cmp_footer.ascx b/INTERFACE/WebLCP/WUC/cmp_footer.ascx
index b1c3cf2..51a5233 100644
--- a/INTERFACE/WebLCP/WUC/cmp_footer.ascx
+++ b/INTERFACE/WebLCP/WUC/cmp_footer.ascx
@@ -1,5 +1,19 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_footer.ascx.cs" Inherits="WebLCP.WUC.cmp_footer" %>
-
+
diff --git a/INTERFACE/WebLCP/WUC/cmp_footer.ascx.cs b/INTERFACE/WebLCP/WUC/cmp_footer.ascx.cs
index b13a528..11aab86 100644
--- a/INTERFACE/WebLCP/WUC/cmp_footer.ascx.cs
+++ b/INTERFACE/WebLCP/WUC/cmp_footer.ascx.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.UI;
@@ -9,9 +10,37 @@ namespace WebLCP.WUC
{
public partial class cmp_footer : System.Web.UI.UserControl
{
+ public event EventHandler eh_doRefresh;
protected void Page_Load(object sender, EventArgs e)
{
+ // sistemo le stringhe...
+ lblApp.Text = string.Format("{0} v.{1}", ConfigurationManager.AppSettings.Get("appName"), System.Reflection.Assembly.GetExecutingAssembly().GetName().Version);
+ lblCopyRight.Text = string.Format("{0}-{1}", ConfigurationManager.AppSettings.Get("copyRight"), DateTime.Now.Year);
+ setTimer();
+ setClock();
+ }
+ ///
+ /// imposta il tempo di scadenza del timer x il refresh della pagina (della parte top) per evitare che la sessione sul server scada
+ ///
+ private void setTimer()
+ {
+ Timer1.Interval = SteamWare.memLayer.ML.confReadInt("intUpdatePagina_ms");
+ }
+ protected void Timer1_Tick(object sender, EventArgs e)
+ {
+ setClock();
+ // se qualcuno ascolta sollevo evento nuovo valore...
+ if (eh_doRefresh != null)
+ {
+ eh_doRefresh(this, new EventArgs());
+ }
+ }
+ private void setClock()
+ {
+ lblDateTime.Text = DateTime.Now.ToString("ddd dd.MM.yyyy, HH:mm:ss");
+ string userEmail = "test@user.it";
+ lblCurrUser.Text = $"Current user: {userEmail}"; //$"{AppData.DataLayer.man.CodSoggCurrUser} - {AppData.DataLayer.man.CognNomeCurrUser}";
}
}
}
\ No newline at end of file
diff --git a/INTERFACE/WebLCP/WUC/cmp_footer.ascx.designer.cs b/INTERFACE/WebLCP/WUC/cmp_footer.ascx.designer.cs
index 9d5a939..ca37127 100644
--- a/INTERFACE/WebLCP/WUC/cmp_footer.ascx.designer.cs
+++ b/INTERFACE/WebLCP/WUC/cmp_footer.ascx.designer.cs
@@ -11,5 +11,50 @@ namespace WebLCP.WUC {
public partial class cmp_footer {
+
+ ///
+ /// Controllo lblDateTime.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblDateTime;
+
+ ///
+ /// Controllo lblCurrUser.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblCurrUser;
+
+ ///
+ /// Controllo lblApp.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblApp;
+
+ ///
+ /// Controllo lblCopyRight.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblCopyRight;
+
+ ///
+ /// Controllo Timer1.
+ ///
+ ///
+ /// Campo generato automaticamente.
+ /// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
+ ///
+ protected global::System.Web.UI.Timer Timer1;
}
}
diff --git a/INTERFACE/WebLCP/WUC/mod_home.ascx b/INTERFACE/WebLCP/WUC/mod_home.ascx
index b82e24a..944cadd 100644
--- a/INTERFACE/WebLCP/WUC/mod_home.ascx
+++ b/INTERFACE/WebLCP/WUC/mod_home.ascx
@@ -1,6 +1,13 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_home.ascx.cs" Inherits="WebLCP.WUC.mod_home" %>
-
Progetto di ricerca
+
Progetto di ricerca admodelling.org
Qui andrebbe detto qualcosa del sito (e volendo anche in generale progetto di ricerca?)
-
E qui una sezione approfondimento verso altro link»
+
L'idea è di poter spiegare brevemente
+
+ - Scopo GENERALE del progetto
+ - Funzione del sito
+ - Le regole del gioco (es: dati restano anonimi BY DESIGN all'origine, noi teniamo in cache risultati 2 settimane poi eliminiamo)
+ - Modalità operativa sul sito (qui aiuteremo noi, ma di base iscrizione con email, upload csv, ricezione email x download risultati>
+
+
Eventuale altro link al sito progetto »
diff --git a/INTERFACE/WebLCP/Web.config b/INTERFACE/WebLCP/Web.config
index 097fa2e..0306daa 100644
--- a/INTERFACE/WebLCP/Web.config
+++ b/INTERFACE/WebLCP/Web.config
@@ -16,6 +16,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/INTERFACE/WebLCP/WebLCP.csproj b/INTERFACE/WebLCP/WebLCP.csproj
index c53a6fb..556d2c5 100644
--- a/INTERFACE/WebLCP/WebLCP.csproj
+++ b/INTERFACE/WebLCP/WebLCP.csproj
@@ -292,6 +292,12 @@
+
+
+ {2872dcfe-8b46-43b2-baa0-842a816a2dd5}
+ SteamWare
+
+
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)