Completata inclusione codice, compresa area A1 + pagine in root...
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GPW.AdminArea.Default" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<h1>
|
||||
Admin</h1>
|
||||
<p>
|
||||
Default page</p>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GPW.AdminArea
|
||||
{
|
||||
public partial class Default : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
memLayer.ML.setSessionVal("preUrlString", "A1", true);
|
||||
memLayer.ML.setSessionVal("nextPage", "menu.aspx");
|
||||
Response.Redirect("login.aspx");
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.AdminArea
|
||||
{
|
||||
|
||||
|
||||
public partial class Default
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportCommesse.aspx.cs" Inherits="GPW.A1.ExportCommesse" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataSourceID="ods">
|
||||
<Columns>
|
||||
<asp:BoundField DataField="RagSociale" HeaderText="RagSociale" SortExpression="RagSociale" />
|
||||
<asp:BoundField DataField="nomeProj" HeaderText="nomeProj" SortExpression="nomeProj" />
|
||||
<asp:BoundField DataField="nomeFase" HeaderText="nomeFase" SortExpression="nomeFase" />
|
||||
<asp:BoundField DataField="CognomeNome" HeaderText="CognomeNome" SortExpression="CognomeNome" />
|
||||
<asp:BoundField DataField="inizio" HeaderText="inizio" SortExpression="inizio" />
|
||||
<asp:BoundField DataField="fine" HeaderText="fine" SortExpression="fine" />
|
||||
<asp:BoundField DataField="descrizione" HeaderText="descrizione" ReadOnly="True" SortExpression="descrizione" />
|
||||
<asp:BoundField DataField="oreTot" HeaderText="oreTot" ReadOnly="True" SortExpression="oreTot" />
|
||||
<asp:BoundField DataField="importo" HeaderText="importo" SortExpression="importo" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="GPW_data.DS_exportTableAdapters.RegAtt_pivotTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:SessionParameter DefaultValue="0" Name="idxDipendente" SessionField="idxDip_sel" Type="Int32" />
|
||||
<asp:SessionParameter DefaultValue="" Name="dataFrom" SessionField="_inizio" Type="DateTime" />
|
||||
<asp:SessionParameter Name="dataTo" SessionField="_fine" Type="DateTime" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,132 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class ExportCommesse : System.Web.UI.Page
|
||||
{
|
||||
public override void VerifyRenderingInServerForm(Control control)
|
||||
{
|
||||
// Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// inizio report
|
||||
/// </summary>
|
||||
protected DateTime inizio
|
||||
{
|
||||
get
|
||||
{
|
||||
return Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio"));
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// fine report
|
||||
/// </summary>
|
||||
protected DateTime fine
|
||||
{
|
||||
get
|
||||
{
|
||||
return Convert.ToDateTime(memLayer.ML.objSessionObj("_fine"));
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
aggiornamento();
|
||||
doExport();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// update controlli
|
||||
/// </summary>
|
||||
public void aggiornamento()
|
||||
{
|
||||
grView.AllowPaging = false;
|
||||
//gvEventi.PageSize = _numRighe;
|
||||
ods.DataBind();
|
||||
}
|
||||
/// <summary>
|
||||
/// export html pagina
|
||||
/// </summary>
|
||||
private void doExport()
|
||||
{
|
||||
Response.Clear();
|
||||
Response.AddHeader("content-disposition", string.Format("attachment; filename=ExportCommesse_{0:dd-MM-yyyy}_{1:dd-MM-yyyy}.xls", inizio, fine));
|
||||
Response.Charset = "";
|
||||
// If you want the option to open the Excel file without saving than
|
||||
// comment out the line below
|
||||
Response.Cache.SetCacheability(HttpCacheability.NoCache);
|
||||
Response.ContentType = "application/vnd.xls";
|
||||
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
|
||||
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
|
||||
grView.RenderControl(htmlWrite);
|
||||
Response.Write(stringWrite.ToString());
|
||||
Response.End();
|
||||
}
|
||||
/// <summary>
|
||||
/// traduce gli header delle colonne
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void grView_DataBound(object sender, EventArgs e)
|
||||
{
|
||||
if (grView.Rows.Count > 0)
|
||||
{
|
||||
LinkButton lb;
|
||||
// aggiorno gli headers
|
||||
foreach (TableCell cella in grView.HeaderRow.Cells)
|
||||
{
|
||||
try
|
||||
{
|
||||
lb = (LinkButton)cella.Controls[0];
|
||||
lb.Text = traduci(lb.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// restituisce info se utente sia admin (vedi web.config x ruolo...)
|
||||
/// </summary>
|
||||
public bool userIsAdmin
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
string adminRole = memLayer.ML.confReadString("adminRole");
|
||||
answ = user_std.UtSn.userHasRight(adminRole);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+42
@@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class ExportCommesse {
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// grView control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// ods control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportTimbZucchetti.aspx.cs" Inherits="GPW.A1.ExportTimbZucchetti" Culture="it-IT" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Text;
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class ExportTimbZucchetti : System.Web.UI.Page
|
||||
{
|
||||
protected DateTime inizio;
|
||||
protected DateTime fine;
|
||||
protected int idxDipendente;
|
||||
string codTimbra;
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
aggiornamento();
|
||||
doExport();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// update controlli
|
||||
/// </summary>
|
||||
public void aggiornamento()
|
||||
{
|
||||
// carico dati inizio/fine periodo richiesti
|
||||
inizio = Convert.ToDateTime(memLayer.ML.objSessionObj("_inizio"));
|
||||
fine = Convert.ToDateTime(memLayer.ML.objSessionObj("_fine"));
|
||||
idxDipendente = memLayer.ML.IntSessionObj("idxDip_sel");
|
||||
if (idxDipendente == -1) idxDipendente = 0;
|
||||
codTimbra = memLayer.ML.confReadString("codTimbra");
|
||||
if (codTimbra == "")
|
||||
{
|
||||
codTimbra = "90"; // timbratrice 90: da web.config
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// export html pagina
|
||||
/// </summary>
|
||||
private void doExport()
|
||||
{
|
||||
string attachment = "attachment; filename=Timbrature.txt";
|
||||
Response.Clear();
|
||||
Response.ClearHeaders();
|
||||
Response.ClearContent();
|
||||
Response.AddHeader("content-disposition", attachment);
|
||||
Response.Charset = "";
|
||||
// If you want the option to open the Excel file without saving than
|
||||
// comment out the line below
|
||||
Response.Cache.SetCacheability(HttpCacheability.NoCache);
|
||||
Response.ContentType = "text/csv";
|
||||
Response.AddHeader("Pragma", "public");
|
||||
// scrivo le righe dell'output!
|
||||
DS_export.TimbratureZucchettiDataTable tabTimb = DataProxy.DP.taExpZucc.GetData(inizio, fine, idxDipendente, codTimbra);
|
||||
foreach (DS_export.TimbratureZucchettiRow riga in tabTimb)
|
||||
{
|
||||
Response.Write(riga.campoExport);
|
||||
Response.Write(Environment.NewLine);
|
||||
}
|
||||
//System.IO.StringWriter stringWrite = new System.IO.StringWriter();
|
||||
//System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
|
||||
//grView.RenderControl(htmlWrite);
|
||||
//Response.Write(stringWrite.ToString());
|
||||
Response.End();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
|
||||
|
||||
public partial class ExportTimbZucchetti
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="approvTimbrature.aspx.cs" Inherits="GPW.A1.approvTimbrature" %>
|
||||
<%@ Register src="../WebUserControls/mod_approvaTimbr.ascx" tagname="mod_approvaTimbr" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_approvaTimbr ID="mod_approvaTimbr1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class approvTimbrature : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class approvTimbrature {
|
||||
|
||||
/// <summary>
|
||||
/// mod_approvaTimbr1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_approvaTimbr mod_approvaTimbr1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MasterAjax.master" AutoEventWireup="true" CodeBehind="chLang.aspx.cs"
|
||||
Inherits="GPW.A1.chLang" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<h2>Errore</h2>
|
||||
<i>Modulo multilingue non disponibile / non installato</i>
|
||||
<div class="logo">
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class chLang : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
|
||||
|
||||
public partial class chLang
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="clienti.aspx.cs" Inherits="GPW.A1.clienti" %>
|
||||
|
||||
<%@ Register Src="../WebUserControls/mod_adminClienti.ascx" TagName="mod_adminClienti" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_adminClienti ID="mod_adminClienti1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class clienti : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class clienti {
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminClienti1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminClienti mod_adminClienti1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="dipendenti.aspx.cs" Inherits="GPW.A1.dipendenti" %>
|
||||
<%@ Register src="../WebUserControls/mod_adminDipendenti.ascx" tagname="mod_adminDipendenti" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_adminDipendenti ID="mod_adminDipendenti1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class dipendenti : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class dipendenti {
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminDipendenti1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminDipendenti mod_adminDipendenti1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="fasi.aspx.cs" Inherits="GPW.A1.fasi" %>
|
||||
<%@ Register src="../WebUserControls/mod_adminFasi.ascx" tagname="mod_adminFasi" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div class="clearDiv">
|
||||
<uc1:mod_adminFasi ID="mod_adminFasi1" runat="server" changeSelCliEnabled="false" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class fasi : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// imposto fasi selezionate!
|
||||
mod_adminFasi1.idxProgetto = memLayer.ML.IntSessionObj("idxProgetto_sel");
|
||||
mod_adminFasi1.idxCliente = memLayer.ML.IntSessionObj("idxCli_sel");
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class fasi {
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminFasi1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminFasi mod_adminFasi1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="gestOrario.aspx.cs" Inherits="GPW.A1.gestOrario" %>
|
||||
<%@ Register src="../WebUserControls/mod_adminOrario.ascx" tagname="mod_adminOrario" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_adminOrario ID="mod_adminOrario1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class gestOrario : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class gestOrario {
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminOrario1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminOrario mod_adminOrario1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="GPW.A1.login" %>
|
||||
<%@ Register src="../WebUserControls/mod_login.ascx" tagname="mod_login" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_login ID="mod_login1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class login : System.Web.UI.Page
|
||||
{
|
||||
protected string _nextPage
|
||||
{
|
||||
get
|
||||
{
|
||||
string pagina = SteamWare.memLayer.ML.StringSessionObj("nextPage");
|
||||
if (pagina == "")
|
||||
{
|
||||
pagina = "menu.aspx";
|
||||
}
|
||||
return pagina;
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_login1.modoLogin = SteamWare.loginMode.normale;
|
||||
}
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
mod_login1.Login_ok += new EventHandler(Mod_login1_Login_ok);
|
||||
mod_login1.Login_Error += new EventHandler(Mod_login1_Login_Error);
|
||||
}
|
||||
|
||||
void Mod_login1_Login_Error(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect("unauthorized.aspx");
|
||||
}
|
||||
|
||||
void Mod_login1_Login_ok(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect(_nextPage);
|
||||
}
|
||||
protected override void OnUnload(EventArgs e)
|
||||
{
|
||||
base.OnUnload(e);
|
||||
mod_login1.Login_ok -= new EventHandler(Mod_login1_Login_ok);
|
||||
mod_login1.Login_Error -= new EventHandler(Mod_login1_Login_Error);
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class login {
|
||||
|
||||
/// <summary>
|
||||
/// mod_login1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_login mod_login1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MasterAjax.master" AutoEventWireup="true" CodeBehind="menu.aspx.cs"
|
||||
Inherits="GPW.A1.menu" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div class="logo">
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class menu : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
|
||||
|
||||
public partial class menu
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="progetti.aspx.cs"
|
||||
Inherits="GPW.A1.progetti" %>
|
||||
|
||||
<%@ Register Src="../WebUserControls/mod_adminProgetti.ascx" TagName="mod_adminProgetti" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div class="clearDiv divSx" style="width: 100%;">
|
||||
<uc1:mod_adminProgetti ID="mod_adminProgetti1" runat="server" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class progetti : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class progetti {
|
||||
|
||||
/// <summary>
|
||||
/// mod_adminProgetti1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminProgetti mod_adminProgetti1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="reportProgetti.aspx.cs"
|
||||
Inherits="GPW.A1.reportProgetti" %>
|
||||
|
||||
<%@ Register Src="../WebUserControls/mod_reportPrj.ascx" TagName="mod_reportPrj" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_reportPrj ID="mod_reportPrj1" runat="server" editFase="true" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class reportProgetti : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class reportProgetti {
|
||||
|
||||
/// <summary>
|
||||
/// mod_reportPrj1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_reportPrj mod_reportPrj1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="reviewTimbrature.aspx.cs" Inherits="GPW.A1.reviewTimbrature" %>
|
||||
<%@ Register src="../WebUserControls/mod_reviewTimbrature.ascx" tagname="mod_reviewTimbrature" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_reviewTimbrature ID="mod_reviewTimbrature1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class reviewTimbrature : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class reviewTimbrature {
|
||||
|
||||
/// <summary>
|
||||
/// mod_reviewTimbrature1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_reviewTimbrature mod_reviewTimbrature1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="spostaFasi.aspx.cs"
|
||||
Inherits="GPW.A1.spostaFasi" %>
|
||||
|
||||
<%@ Register Src="../WebUserControls/mod_adminFasi.ascx" TagName="mod_adminFasi" TagPrefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div style="background-color: #cdcdcd; padding: 2px;height:100%; min-height:400px; display:block; ">
|
||||
<div style="background-color: #EFEFEF;">
|
||||
<div class="divCenter" style="padding: .4em;">
|
||||
<asp:Button runat="server" ID="btnSposta" Text="→" CssClass="btnGrigio ui-corner-all shadowBox" Height="1.3em" Width="12em"
|
||||
Font-Size="24pt" Font-Bold="true" ToolTip="Sposta" OnClick="btnSposta_Click" />
|
||||
<asp:Button runat="server" ID="btnClona" Text="→" CssClass="btnGrigio ui-corner-all shadowBox" Height="1.3em" Width="12em"
|
||||
Font-Size="24pt" Font-Bold="true" ToolTip="Clona" onclick="btnClona_Click" />
|
||||
</div>
|
||||
<div>
|
||||
<div class="divSx gradBlu ui-corner-all shadowBox" style="min-width: 400px; width: 48%; padding: 8px;">
|
||||
<h2>
|
||||
Origine</h2>
|
||||
<uc1:mod_adminFasi ID="fasiFrom" runat="server" changeSelCliEnabled="true" enableShowRA="true" />
|
||||
</div>
|
||||
<div class="divDx gradVerde ui-corner-all shadowBox" style="min-width: 400px; width: 48%; padding: 8px;">
|
||||
<h2>
|
||||
Destinazione</h2>
|
||||
<uc1:mod_adminFasi ID="fasiTo" runat="server" changeSelCliEnabled="true" enableShowRA="false"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,243 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using GPW_data;
|
||||
using SteamWare;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class spostaFasi : System.Web.UI.Page
|
||||
{
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(string lemma)
|
||||
{
|
||||
return user_std.UtSn.Traduci(lemma);
|
||||
}
|
||||
/// <summary>
|
||||
/// caricamento pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
fasiFrom.eh_faseSel += new EventHandler(fasiFrom_eh_faseSel);
|
||||
fasiFrom.eh_resetSelezione += new EventHandler(fasiFrom_eh_resetSelezione);
|
||||
fasiTo.eh_faseSel += new EventHandler(fasiTo_eh_faseSel);
|
||||
fasiTo.eh_resetSelezione += new EventHandler(fasiTo_eh_resetSelezione);
|
||||
fixBtnFunc();
|
||||
}
|
||||
|
||||
void fasiTo_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
fixBtnFunc();
|
||||
}
|
||||
|
||||
void fasiTo_eh_faseSel(object sender, EventArgs e)
|
||||
{
|
||||
fixBtnFunc();
|
||||
}
|
||||
|
||||
void fasiFrom_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
fixBtnFunc();
|
||||
}
|
||||
|
||||
void fasiFrom_eh_faseSel(object sender, EventArgs e)
|
||||
{
|
||||
fixBtnFunc();
|
||||
}
|
||||
/// <summary>
|
||||
/// sistema abilitazione del button spostamenti
|
||||
/// </summary>
|
||||
protected void fixBtnFunc()
|
||||
{
|
||||
/* **************************************************
|
||||
* controllo selezione fasi:
|
||||
* - se seleziona 1 fase "top" a sx e nessuna a dx ok
|
||||
* - se seleziona 1 fase "child" a sx ed 1 fase ""top" a dx ok
|
||||
* **************************************************/
|
||||
bool enableBtnSposta = false;
|
||||
bool enableBtnClona = false;
|
||||
string testoBtn = traduci("noAction");
|
||||
string testoBtnClona = traduci("noAction");
|
||||
string cssBtn = "btnGrigio ui-corner-all shadowBox";
|
||||
string cssBtnClona = "btnGrigio ui-corner-all shadowBox";
|
||||
switch (moveEnabled(fasiFrom.idxFase, fasiTo.idxFase))
|
||||
{
|
||||
case tipoSpostamento.chgProj:
|
||||
enableBtnSposta = true;
|
||||
enableBtnClona = true;
|
||||
testoBtn = traduci("chgProj");
|
||||
testoBtnClona = traduci("clonaFase");
|
||||
cssBtn = "btnBlu ui-corner-all shadowBox btnEditBig";
|
||||
cssBtnClona = "btnVerde ui-corner-all shadowBox btnClonaBig";
|
||||
break;
|
||||
case tipoSpostamento.chgAncest:
|
||||
enableBtnSposta = true;
|
||||
enableBtnClona = true;
|
||||
testoBtn = traduci("chgAncest");
|
||||
testoBtnClona = traduci("clonaSottoFase");
|
||||
cssBtn = "btnBlu ui-corner-all shadowBox btnEditBig";
|
||||
cssBtnClona = "btnVerde ui-corner-all shadowBox btnClonaBig";
|
||||
break;
|
||||
case tipoSpostamento.moveRA:
|
||||
//enableBtnSposta = true;
|
||||
//testoBtn = traduci("moveRA");
|
||||
//cssBtn = "btnBlu ui-corner-all shadowBox btnEditBig";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// fix sposta
|
||||
btnSposta.Enabled = enableBtnSposta;
|
||||
btnSposta.Text = testoBtn;
|
||||
btnSposta.CssClass = cssBtn;
|
||||
// fix clona
|
||||
btnClona.Enabled = enableBtnClona;
|
||||
btnClona.Text = testoBtnClona;
|
||||
btnClona.CssClass = cssBtnClona;
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua spostamento fasi seconda dei casi...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSposta_Click(object sender, EventArgs e)
|
||||
{
|
||||
switch (moveEnabled(fasiFrom.idxFase, fasiTo.idxFase))
|
||||
{
|
||||
case tipoSpostamento.none:
|
||||
// non faccio nulla
|
||||
break;
|
||||
case tipoSpostamento.chgProj:
|
||||
// sposto fase ANCESTOR selezionata nel progetto di destinazione
|
||||
if (fasiTo.idxProgetto > 0 && fasiFrom.idxFase > 0)
|
||||
{
|
||||
DataProxy.DP.taAF.updateProgetto(fasiTo.idxProgetto, fasiFrom.idxFase);
|
||||
}
|
||||
break;
|
||||
case tipoSpostamento.chgAncest:
|
||||
// sposto sottofase in una differente fase ancestor
|
||||
if (fasiTo.idxProgetto > 0 && fasiFrom.idxFase > 0)
|
||||
{
|
||||
DataProxy.DP.taAF.updateFaseAncest(fasiTo.idxFase, fasiFrom.idxFase);
|
||||
}
|
||||
break;
|
||||
case tipoSpostamento.moveRA:
|
||||
break;
|
||||
default:
|
||||
// non faccio nulla
|
||||
break;
|
||||
}
|
||||
fasiFrom.resetSelezione();
|
||||
fasiTo.resetSelezione();
|
||||
}
|
||||
/// <summary>
|
||||
/// fornisce il tipo di spostamento concesso secondo valori selezionati
|
||||
/// </summary>
|
||||
/// <param name="idxFaseFrom"></param>
|
||||
/// <param name="idxFaseTo"></param>
|
||||
/// <returns></returns>
|
||||
protected tipoSpostamento moveEnabled(int idxFaseFrom, int idxFaseTo)
|
||||
{
|
||||
tipoSpostamento answ = tipoSpostamento.none;
|
||||
bool faseSxTop = false;
|
||||
bool faseDxTop = false;
|
||||
// se non ho nulla selezioanto a sx non faccio nulla...
|
||||
if (idxFaseFrom > 0)
|
||||
{
|
||||
// carico info su tipo fase sx/dx...
|
||||
try
|
||||
{
|
||||
faseSxTop = (DataProxy.DP.taAF.getByIdx(idxFaseFrom)[0].idxFaseAncest == 0);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
if (fasiTo.idxFase > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
faseDxTop = (DataProxy.DP.taAF.getByIdx(idxFaseTo)[0].idxFaseAncest == 0);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
if (faseSxTop && fasiTo.idxFase == 0)
|
||||
{
|
||||
answ = tipoSpostamento.chgProj;
|
||||
}
|
||||
else if (!faseSxTop && faseDxTop)
|
||||
{
|
||||
answ = tipoSpostamento.chgAncest;
|
||||
}
|
||||
else if (fasiTo.idxFase > 0)
|
||||
{
|
||||
answ = tipoSpostamento.moveRA;
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
/// clona la macrofase (e le sottofasi) dal primo progetot al secondo
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnClona_Click(object sender, EventArgs e)
|
||||
{
|
||||
switch (moveEnabled(fasiFrom.idxFase, fasiTo.idxFase))
|
||||
{
|
||||
case tipoSpostamento.none:
|
||||
// non faccio nulla
|
||||
break;
|
||||
case tipoSpostamento.chgProj:
|
||||
// sposto fase ANCESTOR selezionata nel progetto di destinazione
|
||||
if (fasiTo.idxProgetto > 0 && fasiFrom.idxFase > 0)
|
||||
{
|
||||
DataProxy.DP.taAF.clonaFaseAnc(fasiTo.idxProgetto, fasiFrom.idxFase);
|
||||
}
|
||||
break;
|
||||
case tipoSpostamento.chgAncest:
|
||||
// sposto sottofase in una differente fase ancestor
|
||||
if (fasiTo.idxProgetto > 0 && fasiFrom.idxFase > 0)
|
||||
{
|
||||
DataProxy.DP.taAF.clonaFase(fasiTo.idxFase, fasiFrom.idxFase);
|
||||
}
|
||||
break;
|
||||
case tipoSpostamento.moveRA:
|
||||
break;
|
||||
default:
|
||||
// non faccio nulla
|
||||
break;
|
||||
}
|
||||
fasiFrom.resetSelezione();
|
||||
fasiTo.resetSelezione();
|
||||
}
|
||||
}
|
||||
|
||||
public enum tipoSpostamento
|
||||
{
|
||||
/// <summary>
|
||||
/// nessuno spsotamento consentito
|
||||
/// </summary>
|
||||
none,
|
||||
/// <summary>
|
||||
/// spostamento fase ancestor tra progetti
|
||||
/// </summary>
|
||||
chgProj,
|
||||
/// <summary>
|
||||
/// spostamento sottofase in altra fase ancestor
|
||||
/// </summary>
|
||||
chgAncest,
|
||||
/// <summary>
|
||||
/// sposta i record assegnati ad una fase (micro o macro) ad un altra fase (micro o macro)
|
||||
/// </summary>
|
||||
moveRA
|
||||
}
|
||||
}
|
||||
Generated
+51
@@ -0,0 +1,51 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class spostaFasi {
|
||||
|
||||
/// <summary>
|
||||
/// btnSposta control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnSposta;
|
||||
|
||||
/// <summary>
|
||||
/// btnClona control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnClona;
|
||||
|
||||
/// <summary>
|
||||
/// fasiFrom control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminFasi fasiFrom;
|
||||
|
||||
/// <summary>
|
||||
/// fasiTo control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_adminFasi fasiTo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSearch.master" AutoEventWireup="true" CodeBehind="spostaOre.aspx.cs" Inherits="GPW.A1.spostaOre" %>
|
||||
<%@ Register src="../WebUserControls/mod_spostaOre.ascx" tagname="mod_spostaOre" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_spostaOre ID="mod_spostaOre1" runat="server" editFase="true" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class spostaOre : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class spostaOre {
|
||||
|
||||
/// <summary>
|
||||
/// mod_spostaOre1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_spostaOre mod_spostaOre1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxTitle.master" AutoEventWireup="true" CodeBehind="timbratureMensili.aspx.cs" Inherits="GPW.A1.timbratureMensili" %>
|
||||
<%@ Register src="../WebUserControls/mod_timbrMensili.ascx" tagname="mod_timbrMensili" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_timbrMensili ID="mod_timbrMensili1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class timbratureMensili : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class timbratureMensili {
|
||||
|
||||
/// <summary>
|
||||
/// mod_timbrMensili1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::GPW.WebUserControls.mod_timbrMensili mod_timbrMensili1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="unauthorized.aspx.cs" Inherits="GPW.A1.unauthorized1" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_unauthorized.ascx" TagPrefix="uc1" TagName="mod_unauthorized" %>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<uc1:mod_unauthorized runat="server" ID="mod_unauthorized" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class unauthorized1 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+33
@@ -0,0 +1,33 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class unauthorized1 {
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_unauthorized control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_unauthorized mod_unauthorized;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,19 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" CodeBehind="unauthorized.aspx.cs" Inherits="GPW.A1.unauthorized" %>
|
||||
<%@ Register src="../WebUserControls/mod_unauthorized.ascx" tagname="mod_unauthorized" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_unauthorized ID="mod_unauthorized1" runat="server" />
|
||||
</asp:Content>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="unauthorized.aspx.cs" Inherits="GPW.A4.unauthorized" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_unauthorized.ascx" TagPrefix="uc1" TagName="mod_unauthorized" %>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<uc1:mod_unauthorized runat="server" ID="mod_unauthorized" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -5,13 +5,12 @@ using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
namespace GPW.A4
|
||||
{
|
||||
public partial class unauthorized : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+12
-3
@@ -7,18 +7,27 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
namespace GPW.A4 {
|
||||
|
||||
|
||||
public partial class unauthorized {
|
||||
|
||||
/// <summary>
|
||||
/// mod_unauthorized1 control.
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_unauthorized mod_unauthorized1;
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// mod_unauthorized control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_unauthorized mod_unauthorized;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
A new HTTP handler has been configured in your application for consulting the
|
||||
error log and its feeds. It is reachable at elmah.axd under your application
|
||||
root. If, for example, your application is deployed at http://www.example.com,
|
||||
the URL for ELMAH would be http://www.example.com/elmah.axd. You can, of
|
||||
course, change this path in your application's configuration file.
|
||||
|
||||
ELMAH is also set up to be secure such that it can only be accessed locally.
|
||||
You can enable remote access but then it is paramount that you secure access
|
||||
to authorized users or/and roles only. This can be done using standard
|
||||
authorization rules and configuration already built into ASP.NET. For more
|
||||
information, see http://code.google.com/p/elmah/wiki/SecuringErrorLogPages on
|
||||
the project site.
|
||||
|
||||
Please review the commented out authorization section under
|
||||
<location path="elmah.axd"> and make the appropriate changes.
|
||||
@@ -0,0 +1,16 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckAnomalie.aspx.cs" Inherits="GPW.CheckAnomalie" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using GPW_data;
|
||||
|
||||
namespace GPW
|
||||
{
|
||||
public partial class CheckAnomalie : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
utils.mng.checkAnomalie();
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW
|
||||
{
|
||||
|
||||
|
||||
public partial class CheckAnomalie
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
}
|
||||
+253
@@ -121,6 +121,33 @@
|
||||
<Folder Include="App_Data\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="A1\approvTimbrature.aspx" />
|
||||
<Content Include="A1\chLang.aspx" />
|
||||
<Content Include="A1\clienti.aspx" />
|
||||
<Content Include="A1\Default.aspx" />
|
||||
<Content Include="A1\dipendenti.aspx" />
|
||||
<Content Include="A1\ExportCommesse.aspx" />
|
||||
<Content Include="A1\ExportTimbZucchetti.aspx" />
|
||||
<Content Include="A1\fasi.aspx" />
|
||||
<Content Include="A1\gestOrario.aspx" />
|
||||
<Content Include="A1\login.aspx" />
|
||||
<Content Include="A1\menu.aspx" />
|
||||
<Content Include="A1\progetti.aspx" />
|
||||
<Content Include="A1\reportProgetti.aspx" />
|
||||
<Content Include="A1\reviewTimbrature.aspx" />
|
||||
<Content Include="A1\spostaFasi.aspx" />
|
||||
<Content Include="A1\spostaOre.aspx" />
|
||||
<Content Include="A1\timbratureMensili.aspx" />
|
||||
<Content Include="A1\unauthorized.aspx" />
|
||||
<Content Include="A2\Barcode.aspx" />
|
||||
<Content Include="A2\Default.aspx" />
|
||||
<Content Include="A3\Admin.aspx" />
|
||||
<Content Include="A3\attivitaIns.aspx" />
|
||||
<Content Include="A3\Default.aspx" />
|
||||
<Content Include="A3\mancataTimbr.aspx" />
|
||||
<Content Include="A3\Progetti.aspx" />
|
||||
<Content Include="A3\regNewDevice.aspx" />
|
||||
<Content Include="A3\Timbrature.aspx" />
|
||||
<Content Include="A4\attivita.aspx" />
|
||||
<Content Include="A4\attivitaIns.aspx" />
|
||||
<Content Include="A4\commesseUtente.aspx" />
|
||||
@@ -129,6 +156,10 @@
|
||||
<Content Include="A4\login.aspx" />
|
||||
<Content Include="A4\panelUtente.aspx" />
|
||||
<Content Include="A4\unauthorized.aspx" />
|
||||
<Content Include="CheckAnomalie.aspx" />
|
||||
<Content Include="infoPage.aspx" />
|
||||
<Content Include="jumper.aspx" />
|
||||
<Content Include="unauthorized.aspx" />
|
||||
<Content Include="About.aspx" />
|
||||
<Content Include="App_Readme\Elmah.txt" />
|
||||
<Content Include="Contact.aspx" />
|
||||
@@ -184,6 +215,7 @@
|
||||
<Content Include="WebUserControls\mod_timbrMensili.ascx" />
|
||||
<Content Include="WebUserControls\mod_title.ascx" />
|
||||
<Content Include="WebUserControls\mod_unauthorized.ascx" />
|
||||
<Content Include="WS\autoComplete.asmx" />
|
||||
<None Include="compilerconfig.json" />
|
||||
<None Include="compilerconfig.json.defaults">
|
||||
<DependentUpon>compilerconfig.json</DependentUpon>
|
||||
@@ -372,6 +404,195 @@
|
||||
<Compile Include="..\VersGen\GPW.cs">
|
||||
<Link>GPW.cs</Link>
|
||||
</Compile>
|
||||
<Compile Include="A1\approvTimbrature.aspx.cs">
|
||||
<DependentUpon>approvTimbrature.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\approvTimbrature.aspx.designer.cs">
|
||||
<DependentUpon>approvTimbrature.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\chLang.aspx.cs">
|
||||
<DependentUpon>chLang.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\chLang.aspx.designer.cs">
|
||||
<DependentUpon>chLang.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\clienti.aspx.cs">
|
||||
<DependentUpon>clienti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\clienti.aspx.designer.cs">
|
||||
<DependentUpon>clienti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\dipendenti.aspx.cs">
|
||||
<DependentUpon>dipendenti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\dipendenti.aspx.designer.cs">
|
||||
<DependentUpon>dipendenti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\ExportCommesse.aspx.cs">
|
||||
<DependentUpon>ExportCommesse.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\ExportCommesse.aspx.designer.cs">
|
||||
<DependentUpon>ExportCommesse.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\ExportTimbZucchetti.aspx.cs">
|
||||
<DependentUpon>ExportTimbZucchetti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\ExportTimbZucchetti.aspx.designer.cs">
|
||||
<DependentUpon>ExportTimbZucchetti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\fasi.aspx.cs">
|
||||
<DependentUpon>fasi.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\fasi.aspx.designer.cs">
|
||||
<DependentUpon>fasi.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\gestOrario.aspx.cs">
|
||||
<DependentUpon>gestOrario.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\gestOrario.aspx.designer.cs">
|
||||
<DependentUpon>gestOrario.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\login.aspx.cs">
|
||||
<DependentUpon>login.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\login.aspx.designer.cs">
|
||||
<DependentUpon>login.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\menu.aspx.cs">
|
||||
<DependentUpon>menu.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\menu.aspx.designer.cs">
|
||||
<DependentUpon>menu.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\progetti.aspx.cs">
|
||||
<DependentUpon>progetti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\progetti.aspx.designer.cs">
|
||||
<DependentUpon>progetti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\reportProgetti.aspx.cs">
|
||||
<DependentUpon>reportProgetti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\reportProgetti.aspx.designer.cs">
|
||||
<DependentUpon>reportProgetti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\reviewTimbrature.aspx.cs">
|
||||
<DependentUpon>reviewTimbrature.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\reviewTimbrature.aspx.designer.cs">
|
||||
<DependentUpon>reviewTimbrature.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\spostaFasi.aspx.cs">
|
||||
<DependentUpon>spostaFasi.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\spostaFasi.aspx.designer.cs">
|
||||
<DependentUpon>spostaFasi.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\spostaOre.aspx.cs">
|
||||
<DependentUpon>spostaOre.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\spostaOre.aspx.designer.cs">
|
||||
<DependentUpon>spostaOre.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\timbratureMensili.aspx.cs">
|
||||
<DependentUpon>timbratureMensili.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\timbratureMensili.aspx.designer.cs">
|
||||
<DependentUpon>timbratureMensili.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A1\unauthorized.aspx.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A1\unauthorized.aspx.designer.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A2\Barcode.aspx.cs">
|
||||
<DependentUpon>Barcode.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A2\Barcode.aspx.designer.cs">
|
||||
<DependentUpon>Barcode.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A2\Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A2\Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\Admin.aspx.cs">
|
||||
<DependentUpon>Admin.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\Admin.aspx.designer.cs">
|
||||
<DependentUpon>Admin.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\attivitaIns.aspx.cs">
|
||||
<DependentUpon>attivitaIns.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\attivitaIns.aspx.designer.cs">
|
||||
<DependentUpon>attivitaIns.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\Default.aspx.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\Default.aspx.designer.cs">
|
||||
<DependentUpon>Default.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\mancataTimbr.aspx.cs">
|
||||
<DependentUpon>mancataTimbr.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\mancataTimbr.aspx.designer.cs">
|
||||
<DependentUpon>mancataTimbr.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\Progetti.aspx.cs">
|
||||
<DependentUpon>Progetti.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\Progetti.aspx.designer.cs">
|
||||
<DependentUpon>Progetti.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\regNewDevice.aspx.cs">
|
||||
<DependentUpon>regNewDevice.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\regNewDevice.aspx.designer.cs">
|
||||
<DependentUpon>regNewDevice.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A3\Timbrature.aspx.cs">
|
||||
<DependentUpon>Timbrature.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="A3\Timbrature.aspx.designer.cs">
|
||||
<DependentUpon>Timbrature.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="A4\attivita.aspx.cs">
|
||||
<DependentUpon>attivita.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -428,6 +649,34 @@
|
||||
<Compile Include="A4\unauthorized.aspx.designer.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="CheckAnomalie.aspx.cs">
|
||||
<DependentUpon>CheckAnomalie.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="CheckAnomalie.aspx.designer.cs">
|
||||
<DependentUpon>CheckAnomalie.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="infoPage.aspx.cs">
|
||||
<DependentUpon>infoPage.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="infoPage.aspx.designer.cs">
|
||||
<DependentUpon>infoPage.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="jumper.aspx.cs">
|
||||
<DependentUpon>jumper.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="jumper.aspx.designer.cs">
|
||||
<DependentUpon>jumper.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="unauthorized.aspx.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="unauthorized.aspx.designer.cs">
|
||||
<DependentUpon>unauthorized.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="App_Start\BundleConfig.cs" />
|
||||
<Compile Include="About.aspx.cs">
|
||||
<DependentUpon>About.aspx</DependentUpon>
|
||||
@@ -894,6 +1143,10 @@
|
||||
<Compile Include="WebUserControls\mod_unauthorized.ascx.designer.cs">
|
||||
<DependentUpon>mod_unauthorized.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WS\autoComplete.asmx.cs">
|
||||
<DependentUpon>autoComplete.asmx</DependentUpon>
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\GPW_Data\GPW_Data.csproj">
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<%@ WebService Language="C#" CodeBehind="autoComplete.asmx.cs" Class="GPW.WS.autoComplete" %>
|
||||
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Services;
|
||||
using System.Collections;
|
||||
using System.Collections.Specialized;
|
||||
using System.Web.Services.Protocols;
|
||||
using AjaxControlToolkit;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using GPW_data;
|
||||
|
||||
namespace GPW.WS
|
||||
{
|
||||
/// <summary>
|
||||
/// autoComplete per metodi jscript/ajax
|
||||
/// </summary>
|
||||
[WebService(Namespace = "http://www.steamware.net/")]
|
||||
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
|
||||
[System.ComponentModel.ToolboxItem(false)]
|
||||
[System.Web.Script.Services.ScriptService]
|
||||
public class autoComplete : System.Web.Services.WebService
|
||||
{
|
||||
|
||||
public autoComplete()
|
||||
{
|
||||
//Uncomment the following line if using designed components
|
||||
//InitializeComponent();
|
||||
}
|
||||
|
||||
|
||||
[WebMethod]
|
||||
public CascadingDropDownNameValue[] GetClienti(string knownCategoryValues, string category)
|
||||
{
|
||||
DS_Applicazione.AnagClientiDataTable tabCli = DataProxy.DP.taAnCli.GetData();
|
||||
List<CascadingDropDownNameValue> values = new List<CascadingDropDownNameValue>();
|
||||
foreach (DataRow dr in tabCli)
|
||||
{
|
||||
string label = (string)dr["RagSociale"];
|
||||
int value = (int)dr["idxCliente"];
|
||||
values.Add(new CascadingDropDownNameValue(label, value.ToString()));
|
||||
}
|
||||
return values.ToArray();
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public CascadingDropDownNameValue[] GetProgettiByCli(string knownCategoryValues, string category)
|
||||
{
|
||||
StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
|
||||
int idxCliente;
|
||||
if (!kv.ContainsKey("clienti") || !Int32.TryParse(kv["clienti"], out idxCliente))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
DS_Applicazione.AnagProgettiDataTable tabProj = DataProxy.DP.taAP.getByIdxCli(idxCliente, false, false);
|
||||
List<CascadingDropDownNameValue> values = new List<CascadingDropDownNameValue>();
|
||||
foreach (DataRow dr in tabProj)
|
||||
{
|
||||
string label = (string)dr["nomeProj"];
|
||||
int value = (int)dr["idxProgetto"];
|
||||
values.Add(new CascadingDropDownNameValue(label, value.ToString()));
|
||||
}
|
||||
return values.ToArray();
|
||||
}
|
||||
[WebMethod]
|
||||
public CascadingDropDownNameValue[] GetFasiByProgetti(string knownCategoryValues, string category)
|
||||
{
|
||||
StringDictionary kv = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
|
||||
int idxCliente;
|
||||
if (!kv.ContainsKey("clienti") || !Int32.TryParse(kv["clienti"], out idxCliente))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
DS_Applicazione.AnagProgettiDataTable tabProj = DataProxy.DP.taAP.getByIdxCli(idxCliente, false, false);
|
||||
List<CascadingDropDownNameValue> values = new List<CascadingDropDownNameValue>();
|
||||
foreach (DataRow dr in tabProj)
|
||||
{
|
||||
string label = (string)dr["nomeProj"];
|
||||
int value = (int)dr["idxProgetto"];
|
||||
values.Add(new CascadingDropDownNameValue(label, value.ToString()));
|
||||
}
|
||||
return values.ToArray();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
.reportPivot {
|
||||
background: #EFEFEF;
|
||||
background-image: url(../images/PivotData.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top;
|
||||
background-position: left;
|
||||
min-height: 250px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reportOre {
|
||||
background: #EFEFEF;
|
||||
background-image: url(../images/ReportGerarchico.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top;
|
||||
background-position: left;
|
||||
min-height: 250px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reportFolders {
|
||||
background: #EFEFEF;
|
||||
background-image: url(../images/ReportFolders.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top;
|
||||
background-position: left;
|
||||
min-height: 250px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.reportBadge {
|
||||
background: #EFEFEF;
|
||||
background-image: url(../images/Barcode.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: top;
|
||||
background-position: left;
|
||||
min-height: 250px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Text position */
|
||||
.areaTesto {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 50%;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0 20px;
|
||||
min-height: 25%;
|
||||
line-height: 1.5;
|
||||
color: White;
|
||||
background: #333;
|
||||
background: rgba(50,50,50,.9);
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border-bottom-left-radius: inherit;
|
||||
border-bottom-right-radius: inherit;
|
||||
}
|
||||
|
||||
/* versioni small */
|
||||
.areaTestoSmall {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 50%;
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
padding: 0 3px;
|
||||
min-height: 50%;
|
||||
line-height: 1.5;
|
||||
font-size: 7pt;
|
||||
color: White;
|
||||
background: #999;
|
||||
background: rgba(160,160,160,.9);
|
||||
-webkit-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border-bottom-left-radius: inherit;
|
||||
border-bottom-right-radius: inherit;
|
||||
}
|
||||
|
||||
.reportFoldersSmall {
|
||||
background: #EFEFEF;
|
||||
background-image: url(../images/ReportGerarchico.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left top;
|
||||
background-size: 60px 60px;
|
||||
min-height: 36px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,129 @@
|
||||
/* floating window */
|
||||
.ui-dialog-sw
|
||||
{
|
||||
padding: .2em;
|
||||
overflow: hidden;
|
||||
-moz-box-shadow: 0px 5px 10px rgba(0,0,0,0.8);
|
||||
-webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.8);
|
||||
box-shadow: 0px 5px 10px rgba(0,0,0,0.8);
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar
|
||||
{
|
||||
padding: .5em 1em .3em;
|
||||
position: relative;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-title
|
||||
{
|
||||
float: left;
|
||||
margin: .1em 16px .2em 0;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar-close
|
||||
{
|
||||
position: absolute;
|
||||
right: .3em;
|
||||
top: 50%;
|
||||
width: 19px;
|
||||
margin: -10px 0 0 0;
|
||||
padding: 1px;
|
||||
height: 18px;
|
||||
-moz-border-radius: 10px;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar-close span
|
||||
{
|
||||
display: block;
|
||||
margin: 1px;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar-close:hover, .ui-dialog-sw .ui-dialog-sw-titlebar-close:focus
|
||||
{
|
||||
padding: 0;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-content
|
||||
{
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: none;
|
||||
overflow: auto;
|
||||
zoom: 1;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-buttonpane
|
||||
{
|
||||
text-align: left;
|
||||
border-width: 1px 0 0 0;
|
||||
background-image: none;
|
||||
margin: .5em 0 0 0;
|
||||
padding: .3em 1em .5em .4em;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-buttonpane .ui-dialog-sw-buttonset
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
.ui-dialog-sw .ui-dialog-sw-buttonpane button
|
||||
{
|
||||
margin: .5em .4em .5em 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ui-dialog-sw .ui-resizable-se
|
||||
{
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
right: 3px;
|
||||
bottom: 3px;
|
||||
}
|
||||
.ui-draggable .ui-dialog-sw-titlebar
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.ui-dialog-sw
|
||||
{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar
|
||||
{
|
||||
border-top: none;
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.ui-dialog-sw .ui-dialog-sw-titlebar-close
|
||||
{
|
||||
}
|
||||
|
||||
.ui-widget-sw
|
||||
{
|
||||
font-family: Arial,sans-serif;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.ui-widget-sw .ui-widget-sw
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget-sw input, .ui-widget-sw select, .ui-widget-sw textarea, .ui-widget-sw button
|
||||
{
|
||||
font-family: Arial,sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget-sw-content
|
||||
{
|
||||
border: 1px solid #a8a8a8;
|
||||
background: #ffffff;
|
||||
color: #4f4f4f;
|
||||
}
|
||||
.ui-widget-sw-header
|
||||
{
|
||||
border: 1px solid #a8a8a8;
|
||||
background: #c0c0c0 url(../../images/ui-bg_highlight-soft_100_c0c0c0_1x100.png) repeat-x 50% top;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
text-shadow: 0px 1px 0px rgba(255,255,255,0.7);
|
||||
}
|
||||
.ui-widget-sw-header a
|
||||
{
|
||||
color: #4f4f4f;
|
||||
}
|
||||
/* END floating window */
|
||||
@@ -0,0 +1,26 @@
|
||||
|
||||
.container {width: 100%; margin: 0 auto; overflow: hidden;}
|
||||
|
||||
.clock {width:100%; margin:0 auto; padding:5px; color:#ABCDEF; }
|
||||
|
||||
#Date { font-family: Arial, Helvetica, sans-serif; font-size:24px; text-align:center; }
|
||||
|
||||
.clock ul { width:800px; margin:0 auto; padding:0px; list-style:none; text-align:center; }
|
||||
.clock ul li { display:inline; font-size:4em; text-align:center; font-family:'BebasNeueRegular', Arial, Helvetica, sans-serif; }
|
||||
|
||||
/*#point { position:relative; -moz-animation:mymove 1s ease infinite; -webkit-animation:mymove 1s ease infinite; padding-left:5px; padding-right:5px; }*/
|
||||
|
||||
/* Simple Animation */
|
||||
/*@-webkit-keyframes mymove
|
||||
{
|
||||
0% {opacity:1.0; text-shadow:0 0 20px #00c6ff;}
|
||||
50% {opacity:0; text-shadow:none; }
|
||||
100% {opacity:1.0; text-shadow:0 0 20px #00c6ff; }
|
||||
}*/
|
||||
|
||||
/*@-moz-keyframes mymove
|
||||
{
|
||||
0% {opacity:1.0; text-shadow:0 0 20px #00c6ff;}
|
||||
50% {opacity:0; text-shadow:none; }
|
||||
100% {opacity:1.0; text-shadow:0 0 20px #00c6ff; }
|
||||
}*/
|
||||
@@ -0,0 +1,203 @@
|
||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td
|
||||
{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-family: Verdana, Arial;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* remember to define focus styles! */
|
||||
:focus
|
||||
{
|
||||
outline: 0;
|
||||
}
|
||||
body
|
||||
{
|
||||
line-height: 1;
|
||||
color: black;
|
||||
background: white;
|
||||
}
|
||||
ol, ul
|
||||
{
|
||||
list-style: none;
|
||||
}
|
||||
/* tables still need 'cellspacing="0"' in the markup */
|
||||
table
|
||||
{
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
caption, th, td
|
||||
{
|
||||
font-weight: normal;
|
||||
}
|
||||
blockquote:before, blockquote:after, q:before, q:after
|
||||
{
|
||||
content: "";
|
||||
}
|
||||
blockquote, q
|
||||
{
|
||||
quotes: "" "";
|
||||
}
|
||||
|
||||
|
||||
.fullscreen
|
||||
{
|
||||
display: block; /*set the div in the top-left corner of the screen*/ /*position: absolute;*/ /* COMMENTATA per iExplorer */
|
||||
top: 0;
|
||||
left: 0; /*set the width and height to 100% of the screen*/
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.bottomWrite
|
||||
{
|
||||
vertical-align: bottom;
|
||||
border-top: #0D0083 1px solid;
|
||||
margin-top: 2px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
.smallText
|
||||
{
|
||||
font-size: 8pt;
|
||||
}
|
||||
|
||||
/* area menù top */
|
||||
.topMenu
|
||||
{
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.topTitle
|
||||
{
|
||||
color: #663300;
|
||||
font-family: Verdana, Arial;
|
||||
font-size: 26px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
background-repeat: repeat-x;
|
||||
background-position: 0% 0%;
|
||||
background-attachment: scroll;
|
||||
background-image: url(../images/orangeGrad32.png);
|
||||
}
|
||||
.barraTitolo
|
||||
{
|
||||
background-color: #FF7A00; /* #4C90FF; */
|
||||
vertical-align: middle;
|
||||
height: 20pt;
|
||||
text-align: center;
|
||||
}
|
||||
.formatTableGeneral
|
||||
{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
border-bottom-width: 0px;
|
||||
}
|
||||
.dxButtonClass
|
||||
{
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
font-weight: bold;
|
||||
font-size: 9pt;
|
||||
padding-bottom: 2px;
|
||||
vertical-align: middle;
|
||||
color: Yellow;
|
||||
padding-top: 2px;
|
||||
font-family: Verdana, Arial;
|
||||
text-align: justify;
|
||||
}
|
||||
.smallTimeClock
|
||||
{
|
||||
padding-right: 4px;
|
||||
padding-left: 4px;
|
||||
font-weight: bold;
|
||||
font-size: 7pt;
|
||||
padding-bottom: 2px;
|
||||
vertical-align: middle;
|
||||
color: Yellow;
|
||||
padding-top: 2px;
|
||||
font-family: Verdana, Arial;
|
||||
text-align: justify;
|
||||
}
|
||||
.userClass
|
||||
{
|
||||
padding-right: 8px;
|
||||
padding-left: 8px;
|
||||
font-weight: bold;
|
||||
font-size: 9pt;
|
||||
padding-bottom: 2px;
|
||||
vertical-align: bottom;
|
||||
color: white;
|
||||
padding-top: 2px;
|
||||
font-family: Verdana, Arial;
|
||||
text-align: justify;
|
||||
}
|
||||
.topMenuMess
|
||||
{
|
||||
font-size: 9pt;
|
||||
text-align: left;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
margin-top: 0px;
|
||||
}
|
||||
.topMenuMessEn
|
||||
{
|
||||
font-size: 9pt;
|
||||
text-align: left;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
margin-top: 0px;
|
||||
}
|
||||
/* end menu */
|
||||
|
||||
/* area controlli standard in master pages */
|
||||
.topContrDx
|
||||
{
|
||||
text-align: center;
|
||||
background-color: white;
|
||||
text-align: left;
|
||||
font-size: 9pt;
|
||||
}
|
||||
.topContrSx
|
||||
{
|
||||
padding: 6px 3px 6px 3px;
|
||||
text-align: center;
|
||||
background-color: #DEE8F5;
|
||||
border-top: solid 2px silver;
|
||||
border-left: solid 2px silver;
|
||||
border-right: solid 2px silver;
|
||||
font-weight: bold;
|
||||
font-size: 12pt;
|
||||
}
|
||||
.boxShadowDark
|
||||
{
|
||||
-webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
-moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
}
|
||||
.tableContenuto
|
||||
{
|
||||
padding: 0px;
|
||||
margin: 2px; /* con questo Table va a full screen */
|
||||
width: 99%;
|
||||
}
|
||||
.menuSx
|
||||
{
|
||||
font-size: 8pt;
|
||||
width: 180px;
|
||||
vertical-align: top;
|
||||
min-height: 530px;
|
||||
height: 100%;
|
||||
background: #DEE8F5;
|
||||
-webkit-box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
-moz-box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
box-shadow: 3px 3px 6px rgba(0,0,0,.3);
|
||||
}
|
||||
/* end */
|
||||
@@ -0,0 +1,123 @@
|
||||
@import url("MasterPage.css");
|
||||
@import url("BuildBlocks.css");
|
||||
@import url("ExtraComp.css");
|
||||
@import url("BtnReport.css");
|
||||
@import url("JQClock.css");
|
||||
|
||||
.logo
|
||||
{
|
||||
background-image: url(../images/logo_sw.png);
|
||||
-khtml-opacity: .50;
|
||||
-moz-opacity: .50;
|
||||
-ms-filter: "alpha(opacity=50)";
|
||||
filter: alpha(opacity=50);
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5);
|
||||
opacity: .50;
|
||||
width: 800px;
|
||||
height: 300px;
|
||||
margin: 50px auto 50px auto;
|
||||
vertical-align:middle;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.logo:hover
|
||||
{
|
||||
background-image: url(../images/logo_sw.png);
|
||||
-khtml-opacity: 1.0;
|
||||
-moz-opacity: 1.0;
|
||||
-ms-filter: "alpha(opacity=100)";
|
||||
filter: alpha(opacity=100);
|
||||
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=1.0);
|
||||
opacity: 1.0;
|
||||
width: 800px;
|
||||
height: 300px;
|
||||
margin: 50px auto 50px auto;
|
||||
vertical-align:middle;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.bodyMainCenter
|
||||
{
|
||||
/* background-image: url(../images/logo_sw.png); -khtml-opacity: .50; -moz-opacity: .50; -ms-filter: "alpha(opacity=50)"; filter: alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5); opacity: .50; */
|
||||
vertical-align: middle;
|
||||
border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-position: center;
|
||||
background-attachment: scroll;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.bodyCenter
|
||||
{
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.centerMenu
|
||||
{
|
||||
background-color: White;
|
||||
text-align: center;
|
||||
border-width: thin;
|
||||
border-style: groove;
|
||||
border-color: Blue;
|
||||
}
|
||||
A:hover
|
||||
{
|
||||
color: red;
|
||||
}
|
||||
|
||||
.bodyMain
|
||||
{
|
||||
/* background-image: url(../images/logo_sw.png); -khtml-opacity: .50; -moz-opacity: .50; -ms-filter: "alpha(opacity=50)"; filter: alpha(opacity=50); filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0.5); opacity: .50; */
|
||||
vertical-align: top;
|
||||
border-left: #0D0083 1px solid; /*border-top: #0D0083 1px solid;*/
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-position: center; /*was topleft*/
|
||||
background-attachment: scroll;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.bodyMainEmpty
|
||||
{
|
||||
vertical-align: top;
|
||||
border-left: maroon 1px solid;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bodyMainWhite
|
||||
{
|
||||
vertical-align: top;
|
||||
border-left: maroon 1px solid;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-position: center;
|
||||
background-attachment: scroll;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.bodyMainWhite a:hover
|
||||
{
|
||||
color: white;
|
||||
}
|
||||
|
||||
.bodyMainNoLogo
|
||||
{
|
||||
vertical-align: top;
|
||||
border-left: maroon 1px solid;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bodyMainLogoPiccolo
|
||||
{
|
||||
background-image: url(../images/sfondoMedio.png);
|
||||
background-position: 97% 210px;
|
||||
vertical-align: top;
|
||||
border-left: maroon 1px solid;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-attachment: scroll;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimpleFull.master" AutoEventWireup="true" CodeBehind="infoPage.aspx.cs"
|
||||
Inherits="GPW.infoPage" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<div style="width: 100%;" class="divCenter placardSteamware">
|
||||
<div class="divCenter clearDiv">
|
||||
<div class="divDx" style="padding: 20px; width: 45%; min-width: 250px;">
|
||||
|
||||
<asp:Panel Width="500px" runat="server" ID="pnlCheck">
|
||||
<h2>
|
||||
Info installazione</h2>
|
||||
Cliente: <b>
|
||||
<asp:Label runat="server" ID="lblInstallation" /></b><br />
|
||||
Applicazione: <b>
|
||||
<asp:Label runat="server" ID="lblApplication" /></b><br />
|
||||
Licenze indicate: <b>
|
||||
<asp:Label runat="server" ID="lblNumLic" /></b><br />
|
||||
Scadenza Licenze: <b>
|
||||
<asp:Label runat="server" ID="lblExpiryDate" /></b><br />
|
||||
<asp:Label runat="server" ID="lblAuthKey" Font-Size="7pt" />
|
||||
</asp:Panel>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using GPW_data;
|
||||
|
||||
namespace GPW
|
||||
{
|
||||
public partial class infoPage : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (licenzeGPW.modApp == "runtime")
|
||||
{
|
||||
setupPanels(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
setupPanels(false);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// mostr ai pannelli setup/dati install
|
||||
/// </summary>
|
||||
/// <param name="showInstall"></param>
|
||||
private void setupPanels(bool showInstall)
|
||||
{
|
||||
if (showInstall)
|
||||
{
|
||||
if (licenzeGPW.scadenzaLicenza >= DateTime.Now)
|
||||
{
|
||||
pnlCheck.CssClass = "btnVerdeGrad ui-corner-all shadowBox";
|
||||
}
|
||||
else
|
||||
{
|
||||
pnlCheck.CssClass = "btnRossoGrad ui-corner-all shadowBox";
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+69
@@ -0,0 +1,69 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW {
|
||||
|
||||
|
||||
public partial class infoPage {
|
||||
|
||||
/// <summary>
|
||||
/// pnlCheck control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Panel pnlCheck;
|
||||
|
||||
/// <summary>
|
||||
/// lblInstallation control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblInstallation;
|
||||
|
||||
/// <summary>
|
||||
/// lblApplication control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblApplication;
|
||||
|
||||
/// <summary>
|
||||
/// lblNumLic control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblNumLic;
|
||||
|
||||
/// <summary>
|
||||
/// lblExpiryDate control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblExpiryDate;
|
||||
|
||||
/// <summary>
|
||||
/// lblAuthKey control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblAuthKey;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/jQueryMobileNoCookie.Master" AutoEventWireup="true" CodeBehind="jumper.aspx.cs" Inherits="GPW.jumper" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW
|
||||
{
|
||||
public partial class jumper : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
// cerco un insieme di parametri in URL (get)...
|
||||
string UserAuthkey = "";
|
||||
string idxDipendente = "";
|
||||
try
|
||||
{
|
||||
UserAuthkey = Request["UserAuthkey"];
|
||||
idxDipendente = Request["idxDipendente"];
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// ... li inserisco in sessione ...
|
||||
Session["UserAuthkey"] = UserAuthkey;
|
||||
Session["idxDipendente"] = idxDipendente;
|
||||
// ...infine rimando a pagina di login...
|
||||
Response.Redirect("~/A3/regNewDevice.aspx");
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+17
@@ -0,0 +1,17 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW
|
||||
{
|
||||
|
||||
|
||||
public partial class jumper
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
15:48:05 0782 [LEMMA] - AccessFail
|
||||
15:48:05 1132 [LEMMA] - UsrNotAuth
|
||||
15:48:05 1222 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:48:30 7399 [LEMMA] - AccessFail
|
||||
15:48:30 7459 [LEMMA] - UsrNotAuth
|
||||
15:48:30 7499 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:48:45 4300 [LEMMA] - AccessFail
|
||||
15:48:45 4365 [LEMMA] - UsrNotAuth
|
||||
15:48:45 4405 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:48:56 2515 [LEMMA] - AccessFail
|
||||
15:48:56 2570 [LEMMA] - UsrNotAuth
|
||||
15:48:56 2620 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:49:48 0991 [LEMMA] - NonDisponibile
|
||||
15:49:48 1061 [LEMMA] - NonAuth
|
||||
15:51:39 3393 [LEMMA] - NonDisponibile
|
||||
15:51:39 3458 [LEMMA] - NonAuth
|
||||
15:52:39 5586 [INFO] - Richiesto Check Daily Duties
|
||||
15:53:09 1055 [LEMMA] - AccessFail
|
||||
15:53:09 1105 [LEMMA] - UsrNotAuth
|
||||
15:53:09 1155 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:53:09 1570 [LEMMA] - NonDisponibile
|
||||
15:53:09 1630 [LEMMA] - NonAuth
|
||||
15:53:24 7392 [INFO] - Richiesto Check Daily Duties
|
||||
15:53:24 8997 [LEMMA] - NonDisponibile
|
||||
15:53:24 9067 [LEMMA] - NonAuth
|
||||
15:54:05 8709 [INFO] - Richiesto Check Daily Duties
|
||||
15:54:09 7169 [INFO] - Richiesto Check Daily Duties
|
||||
15:54:10 1555 [LEMMA] - NonDisponibile
|
||||
15:54:10 1630 [LEMMA] - NonAuth
|
||||
15:54:10 1835 [EXCEPTION] - Errore recupero chiave installazione da AKV: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
|
||||
in GPW_data.DS_UtilityTableAdapters.AnagKeyValueTableAdapter.getByKey(String nomeVar) in C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Data\DS_Utility.Designer.cs:riga 9918
|
||||
in GPW_data.licenzeGPW.get_installazione() in C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Data\licenzeGPW.cs:riga 89
|
||||
15:54:10 1935 [EXCEPTION] - Errore recupero chiave installazione da AKV: System.InvalidOperationException: A Command è già associato un DataReader aperto, che deve essere chiuso.
|
||||
in System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command)
|
||||
in System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
|
||||
in System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
|
||||
in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
in System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
in System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
in System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
in System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
in System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
in System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
in System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
in GPW_data.DS_UtilityTableAdapters.AnagKeyValueTableAdapter.getByKey(String nomeVar) in C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Data\DS_Utility.Designer.cs:riga 9921
|
||||
in GPW_data.licenzeGPW.get_installazione() in C:\Users\samuele.STEAMWAREWIN\Documents\VisualStudioProjects\GPW\GPW_Data\licenzeGPW.cs:riga 89
|
||||
15:54:10 2295 [WARNING] - WARNING licenze: utenti attivi 3 / licenziati 10
|
||||
15:54:14 1482 [INFO] - Richiesto Check Daily Duties
|
||||
15:55:12 1597 [INFO] - Richiesto Check Daily Duties
|
||||
15:55:17 8465 [INFO] - Richiesto Check Daily Duties
|
||||
15:56:31 7835 [LEMMA] - AccessFail
|
||||
15:56:31 8036 [LEMMA] - UsrNotAuth
|
||||
15:56:31 8246 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:56:32 2181 [INFO] - Richiesto Check Daily Duties
|
||||
15:56:33 0077 [LEMMA] - AccessFail
|
||||
15:56:33 0307 [LEMMA] - UsrNotAuth
|
||||
15:56:33 0487 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:56:41 3246 [LEMMA] - AccessFail
|
||||
15:56:41 3401 [LEMMA] - UsrNotAuth
|
||||
15:56:41 3556 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:57:33 8089 [INFO] - Richiesto Check Daily Duties
|
||||
15:58:13 6866 [INFO] - Richiesto Check Daily Duties
|
||||
15:58:53 7092 [INFO] - Richiesto Check Daily Duties
|
||||
15:58:55 3534 [LEMMA] - AccessFail
|
||||
15:58:55 3804 [LEMMA] - UsrNotAuth
|
||||
15:58:55 4134 [WARNING] - Accesso fallito, utente non autenticato
|
||||
15:58:55 8665 [LEMMA] - AccessFail
|
||||
15:58:55 8900 [LEMMA] - UsrNotAuth
|
||||
15:58:55 9125 [WARNING] - Accesso fallito, utente non autenticato
|
||||
16:03:30 1353 [LEMMA] - NonDisponibile
|
||||
16:03:30 1533 [LEMMA] - NonAuth
|
||||
16:03:41 9661 [LEMMA] - NonDisponibile
|
||||
16:03:41 9811 [LEMMA] - NonAuth
|
||||
16:03:51 2428 [LEMMA] - AccessFail
|
||||
16:03:51 2618 [LEMMA] - UsrNotAuth
|
||||
16:03:51 2768 [WARNING] - Accesso fallito, utente non autenticato
|
||||
16:03:51 3128 [LEMMA] - NonDisponibile
|
||||
16:03:51 3288 [LEMMA] - NonAuth
|
||||
16:07:41 5769 [LEMMA] - NonDisponibile
|
||||
16:07:41 5939 [LEMMA] - NonAuth
|
||||
16:07:48 6444 [LEMMA] - NonDisponibile
|
||||
16:07:48 6674 [LEMMA] - NonAuth
|
||||
16:07:52 9277 [LEMMA] - NonDisponibile
|
||||
16:07:52 9477 [LEMMA] - NonAuth
|
||||
16:07:52 9867 [LEMMA] - NonDisponibile
|
||||
16:07:53 0157 [LEMMA] - NonAuth
|
||||
16:08:01 2433 [LEMMA] - AccessFail
|
||||
16:08:01 2593 [LEMMA] - UsrNotAuth
|
||||
16:08:01 2743 [WARNING] - Accesso fallito, utente non autenticato
|
||||
16:08:01 3003 [LEMMA] - NonDisponibile
|
||||
16:08:01 3183 [LEMMA] - NonAuth
|
||||
16:09:07 9084 [INFO] - Richiesto Check Daily Duties
|
||||
16:09:10 7176 [LEMMA] - NonDisponibile
|
||||
16:09:10 7396 [LEMMA] - NonAuth
|
||||
16:09:44 8672 [LEMMA] - NonDisponibile
|
||||
16:09:44 8812 [LEMMA] - NonAuth
|
||||
16:09:50 7206 [LEMMA] - AccessFail
|
||||
16:09:50 7346 [LEMMA] - UsrNotAuth
|
||||
16:09:50 7486 [WARNING] - Accesso fallito, utente non autenticato
|
||||
16:09:50 7746 [LEMMA] - NonDisponibile
|
||||
16:09:50 7886 [LEMMA] - NonAuth
|
||||
16:10:08 2870 [INFO] - Richiesto controllo anomalie!
|
||||
16:10:08 3050 [INFO] - Trovate anomalie mancate approvazioni, invio email ad admin
|
||||
16:10:08 3170 [STARTUP] - [Modulo gestEmail]: avviato con parametro smtp 10.74.82.254
|
||||
16:10:08 3270 [STARTUP] - [Modulo gestEmail]: avviato con parametro smtp 10.74.82.254
|
||||
@@ -0,0 +1,5 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/AjaxSimple.master" AutoEventWireup="true" CodeBehind="unauthorized.aspx.cs" Inherits="GPW.A1.unauthorized" %>
|
||||
<%@ Register src="../WebUserControls/mod_unauthorized.ascx" tagname="mod_unauthorized" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="server">
|
||||
<uc1:mod_unauthorized ID="mod_unauthorized1" runat="server" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace GPW.A1
|
||||
{
|
||||
public partial class unauthorized : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+24
@@ -0,0 +1,24 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace GPW.A1 {
|
||||
|
||||
|
||||
public partial class unauthorized {
|
||||
|
||||
/// <summary>
|
||||
/// mod_unauthorized1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::mod_unauthorized mod_unauthorized1;
|
||||
}
|
||||
}
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
A new HTTP handler has been configured in your application for consulting the
|
||||
error log and its feeds. It is reachable at elmah.axd under your application
|
||||
root. If, for example, your application is deployed at http://www.example.com,
|
||||
the URL for ELMAH would be http://www.example.com/elmah.axd. You can, of
|
||||
course, change this path in your application's configuration file.
|
||||
|
||||
ELMAH is also set up to be secure such that it can only be accessed locally.
|
||||
You can enable remote access but then it is paramount that you secure access
|
||||
to authorized users or/and roles only. This can be done using standard
|
||||
authorization rules and configuration already built into ASP.NET. For more
|
||||
information, see http://code.google.com/p/elmah/wiki/SecuringErrorLogPages on
|
||||
the project site.
|
||||
|
||||
Please review the commented out authorization section under
|
||||
<location path="elmah.axd"> and make the appropriate changes.
|
||||
@@ -0,0 +1,15 @@
|
||||
A new HTTP handler has been configured in your application for consulting the
|
||||
error log and its feeds. It is reachable at elmah.axd under your application
|
||||
root. If, for example, your application is deployed at http://www.example.com,
|
||||
the URL for ELMAH would be http://www.example.com/elmah.axd. You can, of
|
||||
course, change this path in your application's configuration file.
|
||||
|
||||
ELMAH is also set up to be secure such that it can only be accessed locally.
|
||||
You can enable remote access but then it is paramount that you secure access
|
||||
to authorized users or/and roles only. This can be done using standard
|
||||
authorization rules and configuration already built into ASP.NET. For more
|
||||
information, see http://code.google.com/p/elmah/wiki/SecuringErrorLogPages on
|
||||
the project site.
|
||||
|
||||
Please review the commented out authorization section under
|
||||
<location path="elmah.axd"> and make the appropriate changes.
|
||||
@@ -0,0 +1,59 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<sectionGroup name="elmah">
|
||||
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
|
||||
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
|
||||
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
|
||||
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<system.web>
|
||||
<httpModules>
|
||||
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
||||
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
||||
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
|
||||
</httpModules>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules>
|
||||
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
|
||||
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
|
||||
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />
|
||||
</modules>
|
||||
</system.webServer>
|
||||
<elmah>
|
||||
<!--
|
||||
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
||||
more information on remote access and securing ELMAH.
|
||||
-->
|
||||
<security allowRemoteAccess="false" />
|
||||
</elmah>
|
||||
<location path="elmah.axd" inheritInChildApplications="false">
|
||||
<system.web>
|
||||
<httpHandlers>
|
||||
<add verb="POST,GET,HEAD"
|
||||
path="elmah.axd"
|
||||
type="Elmah.ErrorLogPageFactory, Elmah" />
|
||||
</httpHandlers>
|
||||
<!--
|
||||
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
||||
more information on using ASP.NET authorization securing ELMAH.
|
||||
|
||||
<authorization>
|
||||
<allow roles="admin" />
|
||||
<deny users="*" />
|
||||
</authorization>
|
||||
-->
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<handlers>
|
||||
<add name="ELMAH"
|
||||
verb="POST,GET,HEAD"
|
||||
path="elmah.axd"
|
||||
type="Elmah.ErrorLogPageFactory, Elmah"
|
||||
preCondition="integratedMode" />
|
||||
</handlers>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user