diff --git a/GPW_Smart/Content/Site.css b/GPW_Smart/Content/Site.css index ea12d84..79d5b8a 100644 --- a/GPW_Smart/Content/Site.css +++ b/GPW_Smart/Content/Site.css @@ -18,6 +18,7 @@ textarea { } .bg-abstract { background-image: url("../images/AbstractDownload.jpg"); + /*border-image-repeat:stretch;*/ } /* Responsive: Portrait tablets and up */ @media screen and (min-width: 768px) { diff --git a/GPW_Smart/Content/Site.less b/GPW_Smart/Content/Site.less index fe10bfe..1cfea1b 100644 --- a/GPW_Smart/Content/Site.less +++ b/GPW_Smart/Content/Site.less @@ -21,6 +21,7 @@ textarea { .bg-abstract { background-image: url("../images/AbstractDownload.jpg"); + /*border-image-repeat:stretch;*/ } /* Responsive: Portrait tablets and up */ diff --git a/GPW_Smart/WebUserControls/cmp_info.ascx b/GPW_Smart/WebUserControls/cmp_info.ascx index a99e174..ea149a9 100644 --- a/GPW_Smart/WebUserControls/cmp_info.ascx +++ b/GPW_Smart/WebUserControls/cmp_info.ascx @@ -1,30 +1,74 @@ <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_info.ascx.cs" Inherits="GPW_Smart.WebUserControls.cmp_info" %> -
-
-
-
-
-
-
-
-
<%: cognomeNome %>
-
<%: email %>
-
<%: IP %>
-
-
- -
+
+
+
+
+
-
-
- INFORMAZIONI applicativo -
-
    -
  • <%: versione %>
  • -
  • © <%: copyRight %> 2006-<%: DateTime.Now.Year %>
  • -
-
+
+
<%: cognomeNome %>
+
<%: email %>
+
<%: IP %>
+
+
+ +
+
+
+
+ INFORMAZIONI applicativo +
+
    +
  • <%: versione %>
  • +
  • © <%: copyRight %> 2006-<%: DateTime.Now.Year %>
  • +
+
+
+ INFORMAZIONI installazione +
+
    +
  • Cliente: + +
  • +
  • Applicazione: + +
  • +
  • Licenze indicate: + +
  • +
  • Scadenza Licenze: +
    +
  • +
+ Auth Key: + +
+
+
+
+
+
+
+
+
+ Sede Operativa
+ via Nazionale, 93
+ 24068 Seriate - BG
+ P: + 035.290178
+ P: + 035.460560 +
+
+
+
+ Sede Legale
+ via Briolo Fuori, 27
+ 24015 San Giovanni Bianco + Bergamo - ITALY
+ VAT:03274190168 +
diff --git a/GPW_Smart/WebUserControls/cmp_info.ascx.cs b/GPW_Smart/WebUserControls/cmp_info.ascx.cs index 734a2a1..618bcb5 100644 --- a/GPW_Smart/WebUserControls/cmp_info.ascx.cs +++ b/GPW_Smart/WebUserControls/cmp_info.ascx.cs @@ -1,11 +1,8 @@ -using SteamWare; +using GPW_data; +using SteamWare; using System; -using System.Collections.Generic; using System.Configuration; -using System.Linq; -using System.Web; using System.Web.UI; -using System.Web.UI.WebControls; namespace GPW_Smart.WebUserControls { @@ -13,7 +10,32 @@ namespace GPW_Smart.WebUserControls { protected void Page_Load(object sender, EventArgs e) { + if (!Page.IsPostBack) + { + lblInstallation.Text = licenzeGPW.installazione; + lblApplication.Text = licenzeGPW.applicazione; + lblNumLic.Text = string.Format("{1} ({0} disp)", licenzeGPW.licenzeAttive, licenzeGPW.licenzeDb); + lblNumLic.ToolTip = "licenze valide (licenze su db)"; + lblExpiryDate.Text = licenzeGPW.scadenzaLicenza.ToShortDateString(); + lblAuthKey.Text = licenzeGPW.authKey; + } + } + public string cssCheckClass + { + get + { + string answ = ""; + if (licenzeGPW.scadenzaLicenza >= DateTime.Now) + { + answ = "table-success"; + } + else + { + answ = "table-danger"; + } + return answ; + } } public string hashEmail @@ -59,5 +81,8 @@ namespace GPW_Smart.WebUserControls return string.Format("{0}", ConfigurationManager.AppSettings.Get("copyRight")); } } + + + } } \ No newline at end of file diff --git a/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs b/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs index 50e1a98..aa4cde6 100644 --- a/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs +++ b/GPW_Smart/WebUserControls/cmp_info.ascx.designer.cs @@ -11,5 +11,50 @@ namespace GPW_Smart.WebUserControls { public partial class cmp_info { + + /// + /// Controllo lblInstallation. + /// + /// + /// 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 lblInstallation; + + /// + /// Controllo lblApplication. + /// + /// + /// 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 lblApplication; + + /// + /// Controllo lblNumLic. + /// + /// + /// 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 lblNumLic; + + /// + /// Controllo lblExpiryDate. + /// + /// + /// 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 lblExpiryDate; + + /// + /// Controllo lblAuthKey. + /// + /// + /// 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 lblAuthKey; } } diff --git a/HOME/Views/Home/Contact.cshtml b/HOME/Views/Home/Contact.cshtml index ee36744..7ebc020 100644 --- a/HOME/Views/Home/Contact.cshtml +++ b/HOME/Views/Home/Contact.cshtml @@ -9,7 +9,7 @@

Sede Operativa

Steamware s.r.l.
- via Dante Alighieri, 16
+ via Nazionale, 93
24068 Seriate - BG
P: 035.290178