completata colorazione condizionale

This commit is contained in:
Samuele Locatelli
2013-09-05 11:49:05 +02:00
parent ac2b3db884
commit b0806415bb
22 changed files with 206 additions and 165 deletions
+55 -15
View File
@@ -1098,29 +1098,69 @@ div > ul > li > a.selected.menuNav {
height: 30px;
border: solid 1px #777777;
}
.cLib {
background-image: url('../Images/grigioChiaro_80.png');
.cEmp {
/*background-image: url('../Images/grigio_80.png');*/
background-color: #ffffff;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cdd5c4));
background-image: -webkit-linear-gradient(#ffffff, #cdd5c4);
background-image: -moz-linear-gradient(#ffffff, #cdd5c4);
background-image: -ms-linear-gradient(#ffffff, #cdd5c4);
background-image: -o-linear-gradient(#ffffff, #cdd5c4);
background-image: linear-gradient(#ffffff, #cdd5c4);
}
.cSDet {
background-image: url('../Images/giallo_80.png');
.cS01 {
/*background-image: url('../Images/grigioChiaro_80.png');*/
background-color: #cdd5c4;
background-image: -webkit-gradient(linear, left top, left bottom, from(#cbff4e), to(#cdd5c4));
background-image: -webkit-linear-gradient(#cbff4e, #cdd5c4);
background-image: -moz-linear-gradient(#cbff4e, #cdd5c4);
background-image: -ms-linear-gradient(#cbff4e, #cdd5c4);
background-image: -o-linear-gradient(#cbff4e, #cdd5c4);
background-image: linear-gradient(#cbff4e, #cdd5c4);
}
.cOcc {
background-image: url('../Images/arancio_80.png');
.cS02 {
/*background-image: url('../Images/verde_80.png');*/
background-color: #ffff73;
background-image: -webkit-gradient(linear, left top, left bottom, from(#cbff4e), to(#ffff73));
background-image: -webkit-linear-gradient(#cbff4e, #ffff73);
background-image: -moz-linear-gradient(#cbff4e, #ffff73);
background-image: -ms-linear-gradient(#cbff4e, #ffff73);
background-image: -o-linear-gradient(#cbff4e, #ffff73);
background-image: linear-gradient(#cbff4e, #ffff73);
color: White;
}
.cPie {
background-image: url('../Images/verde_80.png');
.cS03 {
/*background-image: url('../Images/giallo_80.png');*/
background-color: #ffff73;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffd88d), to(#ffff73));
background-image: -webkit-linear-gradient(#ffd88d, #ffff73);
background-image: -moz-linear-gradient(#ffd88d, #ffff73);
background-image: -ms-linear-gradient(#ffd88d, #ffff73);
background-image: -o-linear-gradient(#ffd88d, #ffff73);
background-image: linear-gradient(#ffd88d, #ffff73);
color: White;
}
.cIna {
background-image: url('../Images/grigio_80.png');
.cS04 {
/*background-image: url('../Images/arancio_80.png');*/
background-color: #ffd88d;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ee8b8b), to(#ffd88d));
background-image: -webkit-linear-gradient(#ee8b8b, #ffd88d);
background-image: -moz-linear-gradient(#ee8b8b, #ffd88d);
background-image: -ms-linear-gradient(#ee8b8b, #ffd88d);
background-image: -o-linear-gradient(#ee8b8b, #ffd88d);
background-image: linear-gradient(#ee8b8b, #ffd88d);
color: White;
}
.cIna a {
color: White;
}
.cSAll {
background-image: url('../Images/blu_80.png');
.cOvr {
/*background-image: url('../Images/rosso_80.png');*/
background-color: #ee8b8b;
background-image: -webkit-gradient(linear, left top, left bottom, from(#d52323), to(#ee8b8b));
background-image: -webkit-linear-gradient(#d52323, #ee8b8b);
background-image: -moz-linear-gradient(#d52323, #ee8b8b);
background-image: -ms-linear-gradient(#d52323, #ee8b8b);
background-image: -o-linear-gradient(#d52323, #ee8b8b);
background-image: linear-gradient(#d52323, #ee8b8b);
}
.cBia {
text-align: center;
+61 -16
View File
@@ -1226,36 +1226,81 @@ div > ul > li > a.selected.menuNav {
height: @altezzaCella;
border: solid 1px @grigioCella;
}
.cLib
@S00: #FFF;
@S01: #cdd5c4;
@S02: #cbff4e;
@S03: #ffff73;
@S04: #ffd88d;
@S05: #ee8b8b;
@S06: #d52323;
.cEmp
{
background-image: url('../Images/grigioChiaro_80.png');
/*background-image: url('../Images/grigio_80.png');*/
background-color: @S00;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S00 ),to( @S01 ));
background-image: -webkit-linear-gradient( @S00,@S01 );
background-image: -moz-linear-gradient( @S00,@S01 );
background-image: -ms-linear-gradient( @S00,@S01 );
background-image: -o-linear-gradient( @S00,@S01 );
background-image: linear-gradient( @S00,@S01 );
}
.cSDet
.cS01
{
background-image: url('../Images/giallo_80.png');
/*background-image: url('../Images/grigioChiaro_80.png');*/
background-color: @S01;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S02 ),to( @S01 ));
background-image: -webkit-linear-gradient( @S02,@S01 );
background-image: -moz-linear-gradient( @S02,@S01 );
background-image: -ms-linear-gradient( @S02,@S01 );
background-image: -o-linear-gradient( @S02,@S01 );
background-image: linear-gradient( @S02,@S01 );
}
.cOcc
.cS02
{
background-image: url('../Images/arancio_80.png');
/*background-image: url('../Images/verde_80.png');*/
background-color: @S03;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S02 ),to( @S03 ));
background-image: -webkit-linear-gradient( @S02,@S03 );
background-image: -moz-linear-gradient( @S02,@S03 );
background-image: -ms-linear-gradient( @S02,@S03 );
background-image: -o-linear-gradient( @S02,@S03 );
background-image: linear-gradient( @S02,@S03 );
color: White;
}
.cPie
.cS03
{
background-image: url('../Images/verde_80.png');
/*background-image: url('../Images/giallo_80.png');*/
background-color: @S03;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S04 ),to( @S03 ));
background-image: -webkit-linear-gradient( @S04,@S03 );
background-image: -moz-linear-gradient( @S04,@S03 );
background-image: -ms-linear-gradient( @S04,@S03 );
background-image: -o-linear-gradient( @S04,@S03 );
background-image: linear-gradient( @S04,@S03 );
color: White;
}
.cIna
.cS04
{
background-image: url('../Images/grigio_80.png');
/*background-image: url('../Images/arancio_80.png');*/
background-color: @S04;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S05 ),to( @S04 ));
background-image: -webkit-linear-gradient( @S05,@S04 );
background-image: -moz-linear-gradient( @S05,@S04 );
background-image: -ms-linear-gradient( @S05,@S04 );
background-image: -o-linear-gradient( @S05,@S04 );
background-image: linear-gradient( @S05,@S04 );
color: White;
}
.cIna a
.cOvr
{
color: White;
}
.cSAll
{
background-image: url('../Images/blu_80.png');
/*background-image: url('../Images/rosso_80.png');*/
background-color: @S05;
background-image: -webkit-gradient(linear,left top,left bottom,from( @S06 ),to( @S05 ));
background-image: -webkit-linear-gradient( @S06,@S05 );
background-image: -moz-linear-gradient( @S06,@S05 );
background-image: -ms-linear-gradient( @S06,@S05 );
background-image: -o-linear-gradient( @S06,@S05 );
background-image: linear-gradient( @S06,@S05 );
}
.cBia
{
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 B

-14
View File
@@ -195,8 +195,6 @@
<Content Include="Images\apply_l.png" />
<Content Include="Images\apply_m.png" />
<Content Include="Images\apply_s.png" />
<Content Include="Images\arancio_20.png" />
<Content Include="Images\arancio_80.png" />
<Content Include="Images\Archive_l.png" />
<Content Include="Images\Archive_m.png" />
<Content Include="Images\Archive_s.png" />
@@ -208,8 +206,6 @@
<Content Include="Images\Bazaar.png" />
<Content Include="Images\bazaar_white.png" />
<Content Include="Images\bg-menu-main.png" />
<Content Include="Images\blu_20.png" />
<Content Include="Images\blu_80.png" />
<Content Include="Images\bullet.png" />
<Content Include="Images\calc_l.png" />
<Content Include="Images\calc_m.png" />
@@ -228,12 +224,6 @@
<Content Include="Images\EmptyImg.png" />
<Content Include="Images\fasi.png" />
<Content Include="Images\fornitori.png" />
<Content Include="Images\giallo_20.png" />
<Content Include="Images\giallo_80.png" />
<Content Include="Images\grigioChiaro_20.png" />
<Content Include="Images\grigioChiaro_80.png" />
<Content Include="Images\grigio_20.png" />
<Content Include="Images\grigio_80.png" />
<Content Include="Images\InOutArrows_l.png" />
<Content Include="Images\InOutArrows_m.png" />
<Content Include="Images\InOutArrows_s.png" />
@@ -281,8 +271,6 @@
<Content Include="Images\reload_l.png" />
<Content Include="Images\reload_m.png" />
<Content Include="Images\reload_s.png" />
<Content Include="Images\rosso_20.png" />
<Content Include="Images\rosso_80.png" />
<Content Include="Images\timeDis_l.png" />
<Content Include="Images\timeDis_m.png" />
<Content Include="Images\timeDis_s.png" />
@@ -290,8 +278,6 @@
<Content Include="Images\time_m.png" />
<Content Include="Images\time_s.png" />
<Content Include="Images\tools_white.png" />
<Content Include="Images\verde_20.png" />
<Content Include="Images\verde_80.png" />
<Content Include="Images\view_l.png" />
<Content Include="Images\view_m.png" />
<Content Include="Images\view_s.png" />
+62 -57
View File
@@ -6,54 +6,59 @@
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<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"/>
<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>
<connectionStrings>
<add name="ETS_Data.Properties.Settings.ETS_WSConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ETS_Data.Properties.Settings.ETS_AnagraficaConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ETS_Data.Properties.Settings.ETS_PROJConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ETS_Data.Properties.Settings.ETS_WSConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ETS_Data.Properties.Settings.ETS_AnagraficaConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ETS_Data.Properties.Settings.ETS_PROJConnectionString" connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<!--config base applicazione-->
<add key="CodModulo" value="PROJ-ETS"/>
<add key="_titoloPagina" value="ETS, gestione Progetti Web"/>
<add key="appName" value="PROJ-ETS"/>
<add key="SiteName" value="ETS"/>
<add key="mainRev" value="0.7"/>
<add key="minRev" value="190"/>
<add key="stdEmail" value="info@steamware.net"/>
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx"/>
<add key="CodModulo" value="PROJ-ETS" />
<add key="_titoloPagina" value="ETS, gestione Progetti Web" />
<add key="appName" value="PROJ-ETS" />
<add key="SiteName" value="ETS" />
<add key="mainRev" value="0.7" />
<add key="minRev" value="190" />
<add key="stdEmail" value="info@steamware.net" />
<add key="_safePages" value="Default.aspx#unauthorized.aspx#forceUser.aspx#login.aspx#test.aspx#Test.aspx" />
<!--area gestione auth cookie-->
<add key="enableCookie" value="true"/>
<add key="cookieDayExp" value="6"/>
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="6" />
<!--area date-->
<add key="defDayFrom" value="-3650"/>
<add key="defDayFrom" value="-3650" />
<!--area controlli grid-->
<add key="srcPageSize" value="15"/>
<add key="srcPageSize" value="15" />
<!--gestione caricamento doc da ETS-DIP-->
<add key="urlEtsDip" value="http://iis01/DIP" />
<add key="urlPage" value="getDocByProto.aspx" />
<add key="urlPageArch" value="GestioneDocumenti.aspx" />
<add key="param" value="nrProto" />
<!--update pagina-->
<add key="intUpdatePagina_ms" value="120000"/>
<add key="intUpdatePagina_ms" value="120000" />
<!--gestione creazione template commesse: cliente abilitato-->
<add key ="idxProgettoTemplate" value="2480"/>
<add key="idxProgettoTemplate" value="2480" />
<!--valori default x risorse-->
<add key ="codTipoRisorsaStd" value="DIS"/>
<add key ="oreBdgtStd" value="1"/>
<add key="codTipoRisorsaStd" value="DIS" />
<add key="oreBdgtStd" value="1" />
<!--gestione colorazione bazaar-->
<add key="soglia1" value="10" />
<add key="soglia2" value="20" />
<add key="soglia3" value="30" />
<add key="soglia4" value="40" />
<!--area conf dataset classi esterne-->
<add key="ETS_WSConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="ETS_AnagraficaConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="ETS_PROJConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer"/>
<add key="ETS_WSConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_WS;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ETS_AnagraficaConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ETS_PROJConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="UtenteCdcConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="PermessiConnectionString" value="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=ETS_PROJ;Persist Security Info=True;User ID=sa;Password=keyhammer" />
</appSettings>
<!--
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
@@ -64,61 +69,61 @@
</system.Web>
-->
<system.web>
<compilation debug="true" targetFramework="4.5"/>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime/>
<globalization uiCulture="it-IT" culture="it-IT"/>
<globalization uiCulture="it-IT" culture="it-IT" />
<pages controlRenderingCompatibilityVersion="4.0">
<namespaces>
<add namespace="System.Web.Optimization"/>
<add namespace="System.Web.Optimization" />
</namespaces>
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
</controls>
</pages>
<authentication mode="Windows">
<forms loginUrl="~/Menu" timeout="2880"/>
<forms loginUrl="~/Menu" timeout="2880" />
</authentication>
<profile defaultProvider="DefaultProfileProvider">
<providers>
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/"/>
<add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
</providers>
</profile>
<membership defaultProvider="DefaultMembershipProvider">
<providers>
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
<add name="DefaultMembershipProvider" type="System.Web.Providers.DefaultMembershipProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<roleManager defaultProvider="DefaultRoleProvider">
<providers>
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/"/>
<add name="DefaultRoleProvider" type="System.Web.Providers.DefaultRoleProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
</providers>
</roleManager>
<sessionState mode="InProc" customProvider="DefaultSessionProvider">
<providers>
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection"/>
<add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" />
</providers>
</sessionState>
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<siteMap enabled="true">
<providers>
<add name="Progetti" type="System.Web.XmlSiteMapProvider" siteMapFile="Progetti.sitemap"/>
<add name="Bazaar" type="System.Web.XmlSiteMapProvider" siteMapFile="Bazaar.sitemap"/>
<add name="Progetti" type="System.Web.XmlSiteMapProvider" siteMapFile="Progetti.sitemap" />
<add name="Bazaar" type="System.Web.XmlSiteMapProvider" siteMapFile="Bazaar.sitemap" />
</providers>
</siteMap>
</system.web>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
</entityFramework>
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<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"/>
<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>
@@ -126,13 +131,13 @@
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
more information on remote access and securing ELMAH.
-->
<security allowRemoteAccess="false"/>
<security allowRemoteAccess="false" />
<!--<errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/App_Data" />-->
</elmah>
<location path="elmah.axd" inheritInChildApplications="false">
<system.web>
<httpHandlers>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
</httpHandlers>
<!--
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
@@ -146,7 +151,7 @@
</system.web>
<system.webServer>
<handlers>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
</handlers>
</system.webServer>
</location>
@@ -162,16 +167,16 @@
-->
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0"/>
<assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780ccd10d57b246" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"/>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0"/>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
@@ -61,7 +61,6 @@ namespace PROJ_ETS.WebUserControls
public void doUpdate()
{
caricaDatiBlocco();
aggiornaCelleOccupate();
creaLabelTooltipCelle();
disegnaTabella();
}
@@ -110,6 +109,7 @@ namespace PROJ_ETS.WebUserControls
// recupero il numero di TUTTE le celle
Ds_ProjEts.BazaarRisorseRow rigaBaz;
Ds_ProjEts.DipendentiRow rigaDip;
string css = "";
try
{
// carico TUTTE le celle del bazaar...
@@ -141,7 +141,31 @@ namespace PROJ_ETS.WebUserControls
// carico valori x la singola cella
rigaBaz = (Ds_ProjEts.BazaarRisorseRow)tabBaz.Select(string.Format("idxDipendente={0} AND idxFase={1}", tabD2ATR[pos_x].idxDipendente, tabBazSingle[pos_y].idxFase))[0];
rigaDip = (Ds_ProjEts.DipendentiRow)tabDip.Select(string.Format("idxDipendente={0}", tabD2ATR[pos_x].idxDipendente))[0];
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, "LMMGV", "cTab cLib", rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
if (rigaBaz.OreTot == 0)
{
css = "cTab cEmp";
}
else if (rigaBaz.OreTot < utils.obj.confReadInt("soglia1"))
{
css = "cTab cS01";
}
else if (rigaBaz.OreTot < utils.obj.confReadInt("soglia2"))
{
css = "cTab cS02";
}
else if (rigaBaz.OreTot < utils.obj.confReadInt("soglia3"))
{
css = "cTab cS03";
}
else if (rigaBaz.OreTot < utils.obj.confReadInt("soglia4"))
{
css = "cTab cS04";
}
else
{
css = "cTab cOvr";
}
TabellaRisorse[pos_x, pos_y] = new ETS_Data.Type.BazaarRes(rigaBaz.SchemaWeek, "LMMGV", css, rigaBaz.idxDipendente, string.Format("{0} {1}", rigaDip.Nome, rigaDip.Cognome), rigaDip.SIGLA, rigaBaz.idxFase, rigaBaz.SchemaWeek, rigaBaz.OreTot);
// aggiorno totali righe/colonne (comemsse/dip)
oreTotDip[pos_x] += rigaBaz.OreTot;
oreTotComm[pos_y] += rigaBaz.OreTot;
@@ -150,65 +174,6 @@ namespace PROJ_ETS.WebUserControls
}
}
/// <summary>
/// Aggiorna la mappa con le celle occupate
/// </summary>
private void aggiornaCelleOccupate()
{
#if false
// carico il magazzino logico da visualizzare (oppure tutti...)
CodMagLogico = memLayer.ML.IntSessionObj("CodMagLogico_sel");
// carico altri dati da sessione
string ParticolareSel = memLayer.ML.StringSessionObj("Particolare_sel");
string DescStatoSel = memLayer.ML.StringSessionObj("DescStato_sel");
string EsponenteSel = memLayer.ML.StringSessionObj("Esponente_sel");
// ottengo elenco dettaglio UDC che occupano il blocco...
DS_magazzino.v_UdcDetailDataTable tabUdc = MagClass.magazzino.taDettUDC.getUdcDetailByIdxBlocco(IdxBlocco);
// SE è filtrato x mag logico utilizza altro metodo...
if (CodMagLogico != -1)
{
tabUdc = MagClass.magazzino.taDettUDC.getByIdxBloccoCodMagLog(IdxBlocco, CodMagLogico);
}
// controllo se sia un magazzino mono o multicella...
bool multicella = MagClass.magazzino.taCelle.getByIdxBlocco(IdxBlocco).Rows.Count > 1;
// SE ci sono righe aggiorno il blocco...
if (tabUdc.Rows.Count > 0)
{
// ...sovrascrivo valori di default
foreach (DS_magazzino.v_UdcDetailRow riga in tabUdc)
{
// salvo che ho 1 UDC in + nella cella...
TabellaRisorse[riga.X - 1, riga.Y - 1].NumUdc++;
// controllo se nella cella ci sia il particolare selezionato...
if (ParticolareSel == riga.Particolare && multicella)
{
// controllo se sia anche lo specifico esponente/stato
if (DescStatoSel == riga.DescStato && EsponenteSel == riga.Esponente)
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cTab cSDet";
}
else
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cTab cSAll";
}
}
else
{
// se NON C'E' alcun particolare selezionato ... controllo il blocco!
if (TabellaRisorse[riga.X - 1, riga.Y - 1].Piena)
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cTab cPie";
}
else
{
TabellaRisorse[riga.X - 1, riga.Y - 1].Css = "cTab cOcc";
}
}
TabellaRisorse[riga.X - 1, riga.Y - 1].ToolTip += string.Format("{2} - {0} {1:#}pz{3}", riga.UDC, riga.Qta, riga.Particolare, Environment.NewLine);
}
}
#endif
}
/// <summary>
/// Aggiorna la mappa celle x label e tooltip
/// </summary>
private void creaLabelTooltipCelle()
@@ -308,7 +273,7 @@ namespace PROJ_ETS.WebUserControls
else
{
rigaComm = (DS_utilsProjEts.v_selCommesseRow)tabComm.Select(string.Format("value = {0}", tabBazSingle[pos_y].idxFase))[0];
cell.Text = rigaComm.label.Substring(0,9);
cell.Text = rigaComm.label.Substring(0, 9);
cell.ToolTip = rigaComm.label;
}
riga.Cells.Add(cell);
Binary file not shown.
Binary file not shown.