Merge branch 'release/RilascioLicGpwWRKLOG'

This commit is contained in:
Samuele Locatelli
2021-11-10 12:24:10 +01:00
15 changed files with 2893 additions and 2553 deletions
+8
View File
@@ -495,6 +495,7 @@
<Content Include="test01.aspx" />
<Content Include="WebMasterPages\AjaxSimpleFull.Master" />
<Content Include="WebUserControls\cmp_chart.ascx" />
<Content Include="WebUserControls\cmp_dailyCheck.ascx" />
<Content Include="WebUserControls\cmp_rilTemp.ascx" />
<Content Include="WebUserControls\cmp_toggle.ascx" />
<Content Include="WebUserControls\mod_autocomplete.ascx" />
@@ -684,6 +685,13 @@
<Compile Include="WebUserControls\cmp_chart.ascx.designer.cs">
<DependentUpon>cmp_chart.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_dailyCheck.ascx.cs">
<DependentUpon>cmp_dailyCheck.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\cmp_dailyCheck.ascx.designer.cs">
<DependentUpon>cmp_dailyCheck.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\cmp_rilTemp.ascx.cs">
<DependentUpon>cmp_rilTemp.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -0,0 +1,27 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_dailyCheck.ascx.cs" Inherits="GPW_Commesse.WebUserControls.cmp_dailyCheck" %>
<asp:HiddenField runat="server" ID="hfDataFrom" />
<asp:HiddenField runat="server" ID="hfDataTo" />
<div class="row ">
<div class="col-8">
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="IdxCheckVc19" DataSourceID="ods" CssClass="table table-sm table-striped textCondens small">
<Columns>
<asp:BoundField DataField="dtCheck" HeaderText="Check" SortExpression="dtCheck" />
<%--<asp:BoundField DataField="payload" HeaderText="payload" SortExpression="payload" />--%>
<asp:BoundField DataField="Cognome" HeaderText="Cognome" SortExpression="Cognome" />
<asp:BoundField DataField="Nome" HeaderText="Nome" SortExpression="Nome" />
<asp:BoundField DataField="dataNascita" HeaderText="dataNascita" SortExpression="dataNascita" DataFormatString="{0:yyyy-MM-dd}" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByDipData" TypeName="GPW_data.DS_ApplicazioneTableAdapters.CheckVC19TableAdapter" >
<SelectParameters>
<asp:SessionParameter DefaultValue="-1" Name="idxDipendente" SessionField="idxDipendente" Type="Int32" />
<asp:ControlParameter ControlID="hfDataFrom" Name="dataFrom" PropertyName="Value" Type="DateTime" />
<asp:ControlParameter ControlID="hfDataTo" Name="dataTo" PropertyName="Value" Type="DateTime" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-4">
<asp:LinkButton runat="server" ID="lbtCancel" CssClass="btn btn-block btn-info" OnClick="lbtCancel_Click"><i class="fa fa-ban" aria-hidden="true"></i> Chiudi dettaglio</asp:LinkButton>
</div>
</div>
@@ -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_Commesse.WebUserControls
{
public partial class cmp_dailyCheck : BaseUserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void lbtCancel_Click(object sender, EventArgs e)
{
// evento chiusura
raiseCancel();
}
public DateTime dataFrom
{
get
{
DateTime answ = DateTime.Today;
DateTime.TryParse(hfDataFrom.Value, out answ);
return answ;
}
set
{
hfDataFrom.Value = value.ToString();
}
}
public DateTime dataTo
{
get
{
DateTime answ = DateTime.Today;
DateTime.TryParse(hfDataTo.Value, out answ);
return answ;
}
set
{
hfDataTo.Value = value.ToString();
}
}
}
}
@@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <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_Commesse.WebUserControls
{
public partial class cmp_dailyCheck
{
/// <summary>
/// hfDataFrom 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.HiddenField hfDataFrom;
/// <summary>
/// hfDataTo 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.HiddenField hfDataTo;
/// <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;
/// <summary>
/// lbtCancel 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.LinkButton lbtCancel;
}
}
@@ -8,6 +8,8 @@
<%@ Register Src="~/WebUserControls/cmp_toggle.ascx" TagPrefix="uc2" TagName="cmp_toggle" %>
<%@ Register Src="~/WebUserControls/cmp_rilTemp.ascx" TagPrefix="uc2" TagName="cmp_rilTemp" %>
<%@ Register Src="~/WebUserControls/cmp_chart.ascx" TagPrefix="uc2" TagName="cmp_chart" %>
<%@ Register Src="~/WebUserControls/cmp_dailyCheck.ascx" TagPrefix="uc2" TagName="cmp_dailyCheck" %>
<script>
</script>
@@ -21,7 +23,10 @@
<uc2:mod_periodoAnalisi ID="mod_periodoAnalisi1" runat="server" realtimeUpdate="true" />
</div>
<div class="p-2 small">
<asp:HiddenField runat="server" ID="hfShowCheck" />
<asp:HiddenField runat="server" ID="hfTempVisible" />
<asp:HiddenField runat="server" ID="hfDataFrom" />
<asp:HiddenField runat="server" ID="hfDataTo" />
Sel globale:
<uc2:cmp_toggle runat="server" ID="cmp_toggle" classOn="text-dark" classOff="text-secondary" />
</div>
@@ -67,8 +72,11 @@
<uc2:cmp_chart runat="server" ID="cmp_chart" />
</div>
</div>
<asp:HiddenField runat="server" ID="hfDataFrom" />
<asp:HiddenField runat="server" ID="hfDataTo" />
<div class="row">
<div class="col">
<uc2:cmp_dailyCheck runat="server" id="cmp_dailyCheck" />
</div>
</div>
<div class="row">
<div runat="server" id="divSx" visible="false">
<asp:Panel ID="pnlEditOre" runat="server" Height="100%" Visible="false" CssClass="table-secondary">
@@ -121,13 +129,33 @@
</asp:TemplateField>
<asp:TemplateField ItemStyle-CssClass="text-nowrap">
<HeaderTemplate>
<div class="text-center">
<div class="text-center" title="Verifica registrazione temperatura">
<i runat="server" class="fa fa-thermometer-empty text-secondary" aria-hidden="true"></i><i class="fa fa-user-o" aria-hidden="true"></i>
</div>
</HeaderTemplate>
<ItemTemplate>
<div class="text-center">
<asp:LinkButton runat="server" ID="lbShowTemp" CausesValidation="False" CommandName="Select" CommandArgument='<%# Eval("Data") %>' CssClass="btn btn-outline-secondary btn-sm" OnClick="lbShowTemp_Click"> <i runat="server" visible='<%# !gtZero(Eval("tempRil")) %>' class="fa fa-thermometer-empty text-danger" aria-hidden="true"></i><i runat="server" visible='<%# gtZero(Eval("tempRil")) %>' class="fa fa-thermometer text-success" aria-hidden="true"></i><i runat="server" visible='<%# betweenVal(Eval("tempRil"),37.1, 37.5) %>' class="fa fa-exclamation-triangle text-warning" aria-hidden="true"></i><i runat="server" visible='<%# gtVal(Eval("tempRil"), 37.5) %>' class="fa fa-exclamation-triangle text-danger" aria-hidden="true"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbShowTemp" CausesValidation="False" CommandName="Select" CommandArgument='<%# Eval("Data") %>' CssClass="btn btn-outline-secondary btn-sm" OnClick="lbShowTemp_Click" Visible='<%# gtZero(Eval("h_lav")) || gtZero(Eval("h_com")) %>' ToolTip="Dettaglio registrazione temperatura">
<i runat="server" visible='<%# !gtZero(Eval("tempRil")) %>' class="fa fa-thermometer-empty text-danger" aria-hidden="true"></i>
<i runat="server" visible='<%# gtZero(Eval("tempRil")) %>' class="fa fa-thermometer text-success" aria-hidden="true"></i>
<i runat="server" visible='<%# betweenVal(Eval("tempRil"),37.1, 37.5) %>' class="fa fa-exclamation-triangle text-warning" aria-hidden="true"></i>
<i runat="server" visible='<%# gtVal(Eval("tempRil"), 37.5) %>' class="fa fa-exclamation-triangle text-danger" aria-hidden="true"></i>
</asp:LinkButton>
</div>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-CssClass="text-nowrap">
<HeaderTemplate>
<div class="text-center" title="Verifica scansione GreenPass">
<i runat="server" class="fa fa-certificate text-secondary" aria-hidden="true"></i><i class="fa fa-user-o" aria-hidden="true"></i>
</div>
</HeaderTemplate>
<ItemTemplate>
<div class="text-center">
<asp:LinkButton runat="server" ID="lbShowCheck" CausesValidation="False" CommandName="Select" CommandArgument='<%# Eval("Data") %>' CssClass="btn btn-outline-secondary btn-sm" OnClick="lbShowCheck_Click" Visible='<%# gtZero(Eval("h_lav")) || gtZero(Eval("h_com")) %>' ToolTip="Dettaglio scansione GreenPass">
<i runat="server" visible='<%# Eval("Check19").ToString() == "" %>' class="fa fa-certificate text-danger" aria-hidden="true"></i>
<i runat="server" visible='<%# Eval("Check19").ToString() != "" %>' class="fa fa-certificate text-success" aria-hidden="true"></i>
</asp:LinkButton>
</div>
</ItemTemplate>
</asp:TemplateField>
@@ -151,7 +179,7 @@
</HeaderTemplate>
<ItemTemplate>
<div class="text-right textCondens">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("Progetti") %>' CssClass='<%# cssClassProgetti %>' Style="max-width: 20em;" ToolTip='<%# Eval("Progetti") %>' />
<asp:Label ID="Label1" runat="server" Text='<%# Eval("progetti") %>' CssClass='<%# cssClassProgetti %>' Style="max-width: 20em;" ToolTip='<%# Eval("progetti") %>' />
</div>
</ItemTemplate>
<ItemStyle HorizontalAlign="Right" />
@@ -171,7 +199,7 @@
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByIdxDipDate"
TypeName="GPW_data.DS_ApplicazioneTableAdapters.v_logCommUtTableAdapter">
<SelectParameters>
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" DefaultValue="0" />
<asp:SessionParameter SessionField="idxDipendente" Name="idxDipendente" Type="Int32" DefaultValue="-1" />
<asp:ControlParameter DefaultValue="" Name="dataFrom" ControlID="hfDataFrom" PropertyName="Value" Type="DateTime" />
<asp:ControlParameter DefaultValue="" Name="dataTo" ControlID="hfDataTo" PropertyName="Value" Type="DateTime" />
<asp:SessionParameter SessionField="maxErrMin" Name="maxErrMin" Type="Int32" DefaultValue="-30" />
@@ -196,4 +224,4 @@
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
</div>
@@ -30,7 +30,12 @@ namespace GPW_Commesse.WebUserControls
/// <summary>
/// edit Rilievo Temperatura attivo
/// </summary>
editRilTemp
editRilTemp,
/// <summary>
/// display ultimi check eseguiti
/// </summary>
showCheck
}
public partial class mod_commUtLog : BaseUserControl
@@ -66,6 +71,20 @@ namespace GPW_Commesse.WebUserControls
}
}
protected bool checkVisible
{
get
{
bool answ = false;
bool.TryParse(hfShowCheck.Value, out answ);
return answ;
}
set
{
hfShowCheck.Value = $"{value}";
}
}
#endregion Protected Properties
#region Public Properties
@@ -129,6 +148,18 @@ namespace GPW_Commesse.WebUserControls
raiseEvent(ucEvType.Reset);
}
private void closeShowCheck()
{
activeMode = modoCommesse.elenco;
grView.SelectedIndex = -1;
grView.DataBind();
tempVisible = false;
checkVisible = false;
showPanels();
raiseEvent(ucEvType.Reset);
}
private void cmp_rilTemp_ehCancel(object sender, EventArgs e)
{
closeEditTemp();
@@ -175,6 +206,21 @@ namespace GPW_Commesse.WebUserControls
raiseEvent(ucEvType.ReqUpdateParent);
}
private void showCheck(string dataRif)
{
CultureInfo ita = new CultureInfo("it-IT");
cmp_dailyCheck.dataFrom = Convert.ToDateTime(dataRif, ita).AddDays(-3);
cmp_dailyCheck.dataTo = Convert.ToDateTime(dataRif, ita);
//salvo in sessione dati x detail timbrature
memLayer.ML.setSessionVal("idxDip_det", DataProxy.idxDipendente);
// imposto modalità
checkVisible = true;
activeMode = modoCommesse.showCheck;
showPanels();
raiseEvent(ucEvType.ReqUpdateParent);
}
private void editTimbr(string dataRif)
{
DateTime adesso = DateTime.Now;
@@ -242,6 +288,11 @@ namespace GPW_Commesse.WebUserControls
grView.DataBind();
}
/// <summary>
/// edit temperatura rilevata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbShowTemp_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
@@ -253,6 +304,23 @@ namespace GPW_Commesse.WebUserControls
}
}
/// <summary>
/// visualizzazione controlli C19
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void lbShowCheck_Click(object sender, EventArgs e)
{
string dataRif = ((LinkButton)sender).CommandArgument;
activeMode = modoCommesse.showCheck;
// verifico se dip sia attivo...
if (DataProxy.currDipIsActive && DataProxy.currDipHasPayloadActive)
{
showCheck(dataRif);
}
}
protected void lbtShowAll_Click(object sender, EventArgs e)
{
openBoth = true;
@@ -346,6 +414,12 @@ namespace GPW_Commesse.WebUserControls
cmp_toggle.ehToggle += Cmp_toggle_ehToggle;
cmp_rilTemp.ehCancel += cmp_rilTemp_ehCancel;
cmp_rilTemp.ehSave += cmp_rilTemp_ehSave;
cmp_dailyCheck.ehCancel += Cmp_dailyCheck_ehCancel;
}
private void Cmp_dailyCheck_ehCancel(object sender, EventArgs e)
{
closeShowCheck();
}
protected void showCharts(bool doShow)
@@ -370,6 +444,7 @@ namespace GPW_Commesse.WebUserControls
// imposto valori default
bool commesse = false;
bool temp = false;
bool check = false;
bool timbr = false;
divDx.Attributes.Remove("class");
divCn.Attributes.Remove("class");
@@ -391,10 +466,16 @@ namespace GPW_Commesse.WebUserControls
case modoCommesse.editRilTemp:
temp = true;
divCn.Attributes.Add("class", "col-sm-7 col-md-8 col-lg-9");
divSx.Attributes.Add("class", "col-sm-5 col-md-4 col-lg-3");
divCn.Attributes.Add("class", "col-12");
divDx.Visible = false;
divSx.Visible = true;
divSx.Visible = false;
break;
case modoCommesse.showCheck:
check = true;
divCn.Attributes.Add("class", "col-12");
divDx.Visible = false;
divSx.Visible = false;
break;
case modoCommesse.elenco:
@@ -424,6 +505,13 @@ namespace GPW_Commesse.WebUserControls
divSx.Visible = false;
break;
case modoCommesse.showCheck:
check = true;
divCn.Attributes.Add("class", "col-12");
divDx.Visible = false;
divSx.Visible = false;
break;
case modoCommesse.editRegAtt:
commesse = true;
divCn.Attributes.Add("class", "col-sm-6 col-md-7 col-lg-8");
@@ -445,6 +533,7 @@ namespace GPW_Commesse.WebUserControls
pnlEditOre.Visible = timbr;
mod_commAttivitaDesk1.Visible = commesse;
mod_commUtMancTimbr1.Visible = timbr;
cmp_dailyCheck.Visible = check;
showCharts(temp && tempVisible);
upMain.Update();
}
+29 -11
View File
@@ -32,6 +32,15 @@ namespace GPW_Commesse.WebUserControls
/// </remarks>
protected global::mod_periodoAnalisi mod_periodoAnalisi1;
/// <summary>
/// hfShowCheck 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.HiddenField hfShowCheck;
/// <summary>
/// hfTempVisible control.
/// </summary>
@@ -41,6 +50,24 @@ namespace GPW_Commesse.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hfTempVisible;
/// <summary>
/// hfDataFrom 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.HiddenField hfDataFrom;
/// <summary>
/// hfDataTo 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.HiddenField hfDataTo;
/// <summary>
/// cmp_toggle control.
/// </summary>
@@ -87,22 +114,13 @@ namespace GPW_Commesse.WebUserControls
protected global::GPW_Commesse.WebUserControls.cmp_chart cmp_chart;
/// <summary>
/// hfDataFrom control.
/// cmp_dailyCheck 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.HiddenField hfDataFrom;
/// <summary>
/// hfDataTo 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.HiddenField hfDataTo;
protected global::GPW_Commesse.WebUserControls.cmp_dailyCheck cmp_dailyCheck;
/// <summary>
/// divSx control.
+2224 -2178
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -4,12 +4,12 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-39" ViewPortY="417" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ex:showrelationlabel="False" ViewPortX="221" ViewPortY="602" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:Timbrature" ZOrder="27" X="279" Y="76" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:TimbratureExpl" ZOrder="14" X="622" Y="64" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagDevices" ZOrder="22" X="937" Y="134" Height="305" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="178" />
<Shape ID="DesignTable:Dipendenti" ZOrder="1" X="279" Y="478" Height="476" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Dipendenti" ZOrder="1" X="279" Y="478" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagClienti" ZOrder="8" X="1234" Y="528" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:AnagProgetti" ZOrder="7" X="886" Y="976" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Dipendenti2Ruoli" ZOrder="26" X="579" Y="943" Height="153" Width="276" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
@@ -90,7 +90,7 @@
</Point>
<Point>
<X>324</X>
<Y>954</Y>
<Y>859</Y>
</Point>
</RoutePoints>
</Connector>
+1 -1
View File
@@ -53,7 +53,7 @@
</asp:ScriptManager>
<uc1:cmp_menuTop runat="server" ID="cmp_menuTop" />
<div class="container-flow body-content mb-5">
<div class="container-flow mb-5">
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<asp:ContentPlaceHolder ID="MainContent" runat="server">
+20 -20
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW_Smart
@@ -15,47 +15,47 @@ namespace GPW_Smart
{
/// <summary>
/// Controllo cmp_menuTop.
/// cmp_menuTop control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_menuTop cmp_menuTop;
/// <summary>
/// Controllo updPanelPagina.
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// Controllo MainContent.
/// MainContent control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder MainContent;
/// <summary>
/// Controllo SecondContent.
/// SecondContent control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ContentPlaceHolder SecondContent;
/// <summary>
/// Controllo cmp_footer.
/// cmp_footer control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::GPW_Smart.WebUserControls.cmp_footer cmp_footer;
}
@@ -1,5 +1,5 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_timbrature.ascx.cs" Inherits="GPW.WebUserControls.mod_timbrature" %>
<div class="row my-2 mx-2">
<div class="row my-2 mx-0">
<div class="col">
<asp:LinkButton runat="server" CssClass="btn btn-primary btn-block" ID="lbtEntrata" OnClick="lbtEntrata_Click"><i class="fa fa-sign-in" aria-hidden="true"></i> Entrata</asp:LinkButton>
</div>
@@ -13,7 +13,7 @@
</div>
</div>
<div runat="server" class="row fontCond" id="divTable">
<div class="col px-2">
<div class="col">
<asp:GridView ID="grView" runat="server" AllowPaging="false" DataSourceID="ods" AutoGenerateColumns="False" DataKeyNames="dataLav,idxDipendente" CellPadding="0" GridLines="None" OnRowCreated="grView_RowCreated" OnSelectedIndexChanged="grView_SelectedIndexChanged" CssClass="table table-striped table-sm table-condensed">
<Columns>
<asp:TemplateField HeaderText="data" SortExpression="dataLav" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Left">
+23 -23
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <generato automaticamente>
// Codice generato da uno strumento.
// <auto-generated>
// This code was generated by a tool.
//
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GPW.WebUserControls
@@ -15,56 +15,56 @@ namespace GPW.WebUserControls
{
/// <summary>
/// Controllo lbtEntrata.
/// lbtEntrata control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtEntrata;
/// <summary>
/// Controllo lbtUscita.
/// lbtUscita control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtUscita;
/// <summary>
/// Controllo lblWarning.
/// lblWarning control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblWarning;
/// <summary>
/// Controllo divTable.
/// divTable control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTable;
/// <summary>
/// Controllo grView.
/// grView control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// 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>
/// Controllo ods.
/// ods control.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}