Compare commits
589 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4be174813f | |||
| d229cc22ae | |||
| 52fdc60ca3 | |||
| 9ccefa2aec | |||
| 2036cda148 | |||
| fc29a41522 | |||
| fee45a430a | |||
| 9620b51533 | |||
| 40bd6a3fb3 | |||
| 262d83d2c9 | |||
| 31ad6f0e13 | |||
| cdd72b51f0 | |||
| 0000a34abc | |||
| 0d92b57dae | |||
| 253fa1f808 | |||
| 1cb80de30b | |||
| b14326f2e9 | |||
| a3cf82384b | |||
| 2ca66abf2a | |||
| 0eac106e8c | |||
| dc76218c35 | |||
| c9964da83b | |||
| e24611ef1c | |||
| 5e5fd23480 | |||
| ddfc5767f6 | |||
| d333fd0c1a | |||
| c901ed9829 | |||
| bc2b6367f4 | |||
| d44b214237 | |||
| 359ed3de61 | |||
| bba1c4cb36 | |||
| 10deb2efec | |||
| eec274ff3e | |||
| b172ef09bc | |||
| 2e225d14f9 | |||
| b697bc20fa | |||
| 86d7296094 | |||
| 5e64b0355f | |||
| 63d1f43826 | |||
| 06d40eab18 | |||
| 3858969b1f | |||
| 0f4860ddf1 | |||
| b4e72bae9d | |||
| 26b8cf6f9d | |||
| 7d2cbe7e59 | |||
| 7b513329d3 | |||
| fb1413e168 | |||
| 88ce165544 | |||
| fc1e539a51 | |||
| 8dd05e7375 | |||
| f22a1830a7 | |||
| 70a404ef8b | |||
| 07fc280f01 | |||
| f788926e9b | |||
| ab2e3040bd | |||
| e4ce734306 | |||
| 9ebaa3c731 | |||
| e52775e210 | |||
| 6bc1e86b2e | |||
| f6af8daa4a | |||
| 7b3ac9bdb1 | |||
| c5855543fc | |||
| 2db671aa7b | |||
| 03508a9beb | |||
| df2b6ca400 | |||
| 24516d31d9 | |||
| a3f56546b1 | |||
| 485315bf90 | |||
| b09c626117 | |||
| 82ea977ff8 | |||
| 379c431ed8 | |||
| c48482d7d3 | |||
| da10abdf57 | |||
| a85718e05a | |||
| 7148a58176 | |||
| 5e124212b6 | |||
| 673ec4ffbe | |||
| 5ea421afe8 | |||
| 313cefc9d3 | |||
| c6ab8f2647 | |||
| 3176888042 | |||
| a47034e7c8 | |||
| deca338d2a | |||
| 5b708ff8e5 | |||
| b15847c5d0 | |||
| 9d4b54bb65 | |||
| a674372de6 | |||
| e377d88a1b | |||
| c20fa6940e | |||
| 7b279cb736 | |||
| 79107475fa | |||
| f53a23b009 | |||
| 13d4c4101e | |||
| b990558813 | |||
| 5b96ff7839 | |||
| 64070bdd33 | |||
| adfdf0ac10 | |||
| 8c4acafadb | |||
| 553343e2ae | |||
| c3cfadc8be | |||
| 241e504dba | |||
| f7a80788cc | |||
| 45e6f32541 | |||
| be6e5aeaf9 | |||
| ce67ec9c19 | |||
| 3cc6eabdff | |||
| 0c6301739a | |||
| b97664c5b7 | |||
| 3af0a646d0 | |||
| 4f67d80786 | |||
| 7ab188b900 | |||
| 144c70f8c5 | |||
| 8b7fe85c71 | |||
| 0e2e7a27a0 | |||
| 38b1d6cf13 | |||
| bb6d219216 | |||
| 5e4630e845 | |||
| de905d12d1 | |||
| 891d363eff | |||
| 22982361fd | |||
| df33a9a981 | |||
| d9a70fc5d8 | |||
| 31fb2b0909 | |||
| f459597758 | |||
| 15e1475a67 | |||
| fedd0264b8 | |||
| 10c664c2d3 | |||
| 895eafd8ac | |||
| ba168aad25 | |||
| 4a20a5ca75 | |||
| 518b24d8a0 | |||
| 400ffcdade | |||
| 62db7b81cb | |||
| 2f5a0384fd | |||
| 6d6ab58c63 | |||
| 852ab3224e | |||
| 0fad61aca3 | |||
| 86b2a79f2b | |||
| 46dee623c3 | |||
| 4af6a150ba | |||
| 2409b14258 | |||
| 15b703d04d | |||
| 809d2f2972 | |||
| 608fa1bad9 | |||
| bd70933212 | |||
| 6b43dc13ac | |||
| 99643ea88a | |||
| a32c7c6ffb | |||
| 96992db9a2 | |||
| cd9fc076fb | |||
| 3d75d63b86 | |||
| 2577812529 | |||
| b5bcc066b1 | |||
| dfe39961cd | |||
| 297f6635a4 | |||
| 0a9b07fb9a | |||
| 37a8f50b98 | |||
| a3f05ea053 | |||
| 42a6484136 | |||
| b97f1da062 | |||
| c1eaf40003 | |||
| 544f4309aa | |||
| 6fc1c831ff | |||
| 3c6c506330 | |||
| 558de1eae4 | |||
| 258d00e87c | |||
| 295d581242 | |||
| e737812e81 | |||
| 15345ddd0f | |||
| 408e5cf431 | |||
| 926e94a54e | |||
| 982eef601d | |||
| 3a41672364 | |||
| e24ca7a9dc | |||
| 2b9749253b | |||
| 9af9253aa5 | |||
| fb48cbe10e | |||
| 774d3b3002 | |||
| 0cc58431bf | |||
| 88529888b5 | |||
| a1fb3b1100 | |||
| e8488da7d0 | |||
| 7ca2967615 | |||
| b2d597e903 | |||
| 59abf7f29d | |||
| 02838336cf | |||
| 8db3676637 | |||
| b9a98c23f6 | |||
| 3395c52275 | |||
| 2151aa87fa | |||
| a8e8b97acb | |||
| 0667ec7f06 | |||
| bcdb82da1b | |||
| 2e7c455772 | |||
| 982269d7f2 | |||
| fc43568ef6 | |||
| e13eec451d | |||
| ff46190969 | |||
| 8a59e8a0cf | |||
| feedb5a168 | |||
| eb1a3e885b | |||
| 8847b8e316 | |||
| 8a7d2a8472 | |||
| 59695fb3db | |||
| ac1108a207 | |||
| 7059b75f00 | |||
| 6541aee699 | |||
| 9ffa78f4dc | |||
| da67a40750 | |||
| efdb05c638 | |||
| fbc5ba59b1 | |||
| 573f155449 | |||
| bcd7e4402a | |||
| 33a7a746ad | |||
| d6f1e05d7e | |||
| 2a60dc10e9 | |||
| a2bc0e4573 | |||
| d78c9a7cca | |||
| 42b7fc47e3 | |||
| c6eea9451d | |||
| 733d197438 | |||
| ae0a0b0dd6 | |||
| b86512380e | |||
| c5a5c480c1 | |||
| cedc18bb04 | |||
| d0c27f8e3f | |||
| b397b9b5da | |||
| 56f32e3fda | |||
| d31559f1ec | |||
| 7862ba3284 | |||
| e0a88154a2 | |||
| 132cd7a35f | |||
| 9722a19b54 | |||
| 247c5a91f2 | |||
| 04aa98427f | |||
| c9964bb61f | |||
| d9fef0bea7 | |||
| 702a3406e3 | |||
| 8afbd9330f | |||
| bc02204846 | |||
| e5b10affae | |||
| 03c9f10b01 | |||
| 19ad903da0 | |||
| 6691fb2207 | |||
| 5698a88d53 | |||
| 2dcaa77205 | |||
| 54a3e74bd1 | |||
| e1861674a1 | |||
| 2d18d5dd65 | |||
| 91ec2da52a | |||
| 10f8e6a344 | |||
| 4b1d694d77 | |||
| 8378f641db | |||
| 161f392b71 | |||
| 3d1c083a63 | |||
| 249a4e76ac | |||
| a0c89706de | |||
| 8bfbe7b2f5 | |||
| 1521ee7376 | |||
| b38ee75c7b | |||
| 3851628ba0 | |||
| b2a0649f1e | |||
| 38af19e6d0 | |||
| 16ce89bf33 | |||
| 5c4952d9ce | |||
| 9f3a8a756b | |||
| a01bfd1079 | |||
| 8c205a5849 | |||
| 0a0ab3424b | |||
| a30f1bfa23 | |||
| 6025d775db | |||
| f847eaf82c | |||
| a2402f8636 | |||
| ddf935c944 | |||
| 8e7fb2c3a8 | |||
| 19079f0b73 | |||
| 5651dd5d88 | |||
| ddd21ac607 | |||
| 0670533ef8 | |||
| d4104d4176 | |||
| 6a45034910 | |||
| 578b4a92fc | |||
| 242edd80e2 | |||
| ef912aab1d | |||
| 47dcde809f | |||
| f5f25033f3 | |||
| 7710017590 | |||
| 64b521b5ce | |||
| cf263e14f2 | |||
| c15d930b53 | |||
| 78bb99dbc8 | |||
| 9cb2fa8bd8 | |||
| 4aea6a23ca | |||
| b7780aa526 | |||
| d46a78f923 | |||
| 191d2b3887 | |||
| 54dabfada0 | |||
| c88093a2cf | |||
| 26b86f6f20 | |||
| 47ddb7498b | |||
| c05e542e5b | |||
| e00b47ffe5 | |||
| f2b6d1da5f | |||
| 7c8e35e987 | |||
| 037d673b8a | |||
| 4b56919704 | |||
| a9bacff235 | |||
| 903a541efa | |||
| f296857476 | |||
| cb0608bed4 | |||
| f794344ba4 | |||
| 9edb83e838 | |||
| 458f8c32af | |||
| dd9c6d16ee | |||
| 122b5703b6 | |||
| 1e83a56e68 | |||
| 43bc89406a | |||
| 696dc6485c | |||
| 333ccb607b | |||
| ee8519fd64 | |||
| b3f2b95013 | |||
| c451491c7c | |||
| b8415b6898 | |||
| db2b3d4f20 | |||
| fde9145884 | |||
| a4bbd6ecbd | |||
| 23216fa368 | |||
| 39f6b536c1 | |||
| 36822c2a6b | |||
| da6b36a74f | |||
| 74a3a96521 | |||
| d81b9ac459 | |||
| cac4456484 | |||
| 3f6d25fca6 | |||
| a9f4ffe968 | |||
| 252c584852 | |||
| ddd34045aa | |||
| c69aaef30f | |||
| 83c5519680 | |||
| 6f360fcd4f | |||
| ac49aab21f | |||
| 10bb217b67 | |||
| ec31963f00 | |||
| 7d3aafa9f5 | |||
| 79691ed1be | |||
| e434c067aa | |||
| 3e637184cc | |||
| 67d98513b4 | |||
| 5a0aee4ab3 | |||
| be909d0e74 | |||
| bc7d862e00 | |||
| 2d9b074acb | |||
| 442fc46c20 | |||
| f8d7530b63 | |||
| 9a101a3900 | |||
| 73b29deedf | |||
| cfc22d308f | |||
| daaa1050d0 | |||
| f912174b25 | |||
| b8fdbf3350 | |||
| caf02d66be | |||
| 00bffee3d6 | |||
| 1e8472219d | |||
| 5e5a1873f3 | |||
| 16bc49560d | |||
| 013d2499de | |||
| 3e71e13d16 | |||
| 3cfc979fe9 | |||
| 60f0664595 | |||
| 5bd4b7603c | |||
| 3ddc7fddc5 | |||
| ce3d21f84e | |||
| 086a5a1eda | |||
| 35ccf151ae | |||
| 22e4dcb641 | |||
| 8da093dd90 | |||
| 9b4293b5b6 | |||
| 2ed4b6e6f3 | |||
| 38150e3ff2 | |||
| 00d5800c94 | |||
| e11f95679b | |||
| 37f5443d46 | |||
| a72dcaf6ce | |||
| 88aa3d5032 | |||
| e88ffe2cf8 | |||
| 77c412e90e | |||
| 94c4430ae6 | |||
| cf855e5df7 | |||
| f8bc3c7799 | |||
| a5ea45b07c | |||
| a63b467c10 | |||
| b087fbabc8 | |||
| 7fd9cf717f | |||
| 587616f319 | |||
| 31184c919d | |||
| 63c764e400 | |||
| 49268123bb | |||
| 07b9cd99e4 | |||
| 9424fe273f | |||
| a3b5ba38f2 | |||
| c9893a4cbf | |||
| 1b9517df64 | |||
| 5e5faecc1b | |||
| 43b6b14c4d | |||
| 16064053e0 | |||
| e7235bd95b | |||
| 265fe0d71c | |||
| ca35b77570 | |||
| d53a170988 | |||
| 4ce6fd85c7 | |||
| 9351000cb9 | |||
| cc13a02677 | |||
| f933f3a106 | |||
| 808e90d9d5 | |||
| 43697de586 | |||
| 4ddf26fc48 | |||
| 7176c245d6 | |||
| 7166d29829 | |||
| 8786864cc0 | |||
| 37bb6236b5 | |||
| 6d8616870a | |||
| 6cfeefcfc9 | |||
| 5db36a6467 | |||
| 111067b422 | |||
| d152641627 | |||
| a97806350b | |||
| 8de2fea220 | |||
| 7752a776a0 | |||
| eb5436bfd3 | |||
| 6785688a07 | |||
| 049efb1b01 | |||
| 7db6b6f9a1 | |||
| 6817de4e5a | |||
| 65437bf191 | |||
| 8a6856fc26 | |||
| 1ec4f1b3ac | |||
| 8f40091e6c | |||
| 8a58da72f6 | |||
| fb38f15631 | |||
| 6182ee95a5 | |||
| 1ecc12e0a6 | |||
| d96853acce | |||
| 12c8c71540 | |||
| 3cf47dd92c | |||
| 0a0863c1be | |||
| b355a218cc | |||
| b5ec79c2a1 | |||
| e252f3d02e | |||
| 94f3ee4092 | |||
| 753013b5bb | |||
| 382db0c173 | |||
| daf27b6cd1 | |||
| f0776063c9 | |||
| 991e962a75 | |||
| f52fd6f1cd | |||
| fd7738a193 | |||
| 71ac1e537c | |||
| 1dfde8442b | |||
| e1452bc15b | |||
| 798df4a813 | |||
| b9829da9e5 | |||
| c212bc0cd7 | |||
| f27aa73ba9 | |||
| 3f43b50651 | |||
| 2d93c3cb25 | |||
| 1d415a2275 | |||
| eacc6860b2 | |||
| 4c32261335 | |||
| ad7f85dafd | |||
| b321400366 | |||
| 27a4ca3880 | |||
| 295e65cfd6 | |||
| 98c9b3785b | |||
| a7e670cbbd | |||
| 2dc7117dd6 | |||
| b3823ac3d8 | |||
| bcd8bca5f1 | |||
| 43539a3bda | |||
| eac27c736c | |||
| 905f51d803 | |||
| 82594084b9 | |||
| 7b5521ebf4 | |||
| 5d2a25f45c | |||
| d27373b915 | |||
| 38d7025239 | |||
| a405ddfea8 | |||
| 10138b80a0 | |||
| d2748f6ef7 | |||
| 47290a9b0a | |||
| ed3dedd0b4 | |||
| 43bd8a3dbb | |||
| a9cffdf2bd | |||
| d7579369e0 | |||
| 2662aeceaa | |||
| 2d250be96f | |||
| 1851af8258 | |||
| c1557c73ea | |||
| 4a4ce83415 | |||
| f6ffc53170 | |||
| 21d9ae3076 | |||
| 7fb05a3a0a | |||
| 9f69227a88 | |||
| 0ad97a8106 | |||
| b5bcce424b | |||
| 97169dbd03 | |||
| 4bffcd2419 | |||
| 26d900f4e9 | |||
| 9854fc2f2b | |||
| ebda7a2282 | |||
| f73553a2a2 | |||
| d970b704a9 | |||
| 4b9a4d6b2f | |||
| c106763188 | |||
| 36c3c8fbc9 | |||
| 93e3a9ca17 | |||
| 12ce7c2edd | |||
| 23a75eb5b3 | |||
| c48897e6b0 | |||
| 034fce6b98 | |||
| a31d503865 | |||
| 52933477b7 | |||
| 02a167db23 | |||
| 458ba1be2d | |||
| f478a8e061 | |||
| 5c83a5b276 | |||
| fa2bcb494f | |||
| c9f095ad68 | |||
| 04d6e3c145 | |||
| b905ce8d0a | |||
| 1a999e3340 | |||
| 9c45d61465 | |||
| 678ca03e96 | |||
| 0691218e73 | |||
| d81c477624 | |||
| 6ebed99670 | |||
| a1901b7134 | |||
| 2a4fdf6138 | |||
| f34c3929d5 | |||
| bba6907907 | |||
| 9a221c5fcd | |||
| 32bdb57b42 | |||
| 7157cdb3ed | |||
| ba297f40e8 | |||
| 4bf1d3361e | |||
| dff61a9574 | |||
| aac2695ae6 | |||
| 9bae157475 | |||
| 139e66a03a | |||
| 90b1fd2509 | |||
| b8387940b4 | |||
| c4d95e68e1 | |||
| 3dab58cb3f | |||
| 713db2661b | |||
| c848b6177e | |||
| 42944c3c1a | |||
| d5a2eade8a | |||
| 47a2eaecfe | |||
| ab32fc7a02 | |||
| 6380e7409c | |||
| ef3a8aac29 | |||
| e68a41f662 | |||
| 5384062163 | |||
| 673e3ee762 | |||
| 4e19c6879b | |||
| 5693bc7ac7 | |||
| 14f2610831 | |||
| 9609d9760e | |||
| 1c724a840b | |||
| 779c53c765 | |||
| e98132f0fa | |||
| fd26302f79 | |||
| 6cc053a40f | |||
| fd2b8ec48c | |||
| ebc2e95881 | |||
| dd6f3a6b3a | |||
| 256855a716 | |||
| 857490f8f5 | |||
| d7bae69489 | |||
| 2179953252 | |||
| e9c5ca99ce | |||
| c6d2a4d5a4 | |||
| c9d9179d68 | |||
| e0335bed77 | |||
| 3c82136ee0 | |||
| 08c5b2021c | |||
| 300fcaaf4d | |||
| 0b9bb05297 | |||
| 1bf2b07ed9 | |||
| de2f463270 |
+2
-2
@@ -30,7 +30,7 @@
|
||||
<UseGlobalApplicationHostFile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
<TypeScriptToolsVersion>3.7</TypeScriptToolsVersion>
|
||||
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@@ -141,7 +141,7 @@
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<parameters>
|
||||
<setParameter name="IIS Web Application Name" value="Default Web Site/MP/LAND" />
|
||||
<setParameter name="MoonProEntities-Web.config Connection String" value="metadata=res://*/Models.MapoModel.csdl|res://*/Models.MapoModel.ssdl|res://*/Models.MapoModel.msl;provider=System.Data.SqlClient;provider connection string="data source=localhost\sqlexpress;initial catalog=Jetco_MoonPro;persist security info=True;user id=steamware;password=viadante16;multipleactiveresultsets=True;application name=EntityFramework"" />
|
||||
<setParameter name="MoonProEntities-Web.config Connection String" value="metadata=res://*/Models.MPModel.csdl|res://*/Models.MPModel.ssdl|res://*/Models.MPModel.msl;provider=System.Data.SqlClient;provider connection string="data source=localhost\sqlexpress;initial catalog=Jetco_MoonPro;persist security info=True;user id=steamware;password=viadante16;multipleactiveresultsets=True;application name=EntityFramework"" />
|
||||
<setParameter name="MPModel-Web.config Connection String" value="data source=localhost\sqlexpress;initial catalog=Jetco_MoonPro;persist security info=True;user id=steamware;password=viadante16;MultipleActiveResultSets=True;App=EntityFramework" />
|
||||
</parameters>
|
||||
Vendored
+109
-79
@@ -5,6 +5,7 @@ pipeline {
|
||||
EMAIL_RECIPIENTS = 'samuele@steamware.net'
|
||||
enableIIS01 = 'Y'
|
||||
enableIIS02 = 'Y'
|
||||
singleProj ='ADM,IO,LAND,MAG,MON,SITE,TAB'
|
||||
}
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
@@ -12,12 +13,12 @@ pipeline {
|
||||
steps {
|
||||
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
|
||||
script {
|
||||
withEnv(['NEXT_BUILD_NUMBER=1298']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.10.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.10.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
withEnv(['NEXT_BUILD_NUMBER=1428']) {
|
||||
// env.versionNumber = VersionNumber(versionNumberString : '6.13.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
|
||||
env.versionNumber = VersionNumber(versionNumberString : '6.13.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
|
||||
env.APP_NAME = 'MAPO'
|
||||
}
|
||||
}
|
||||
}
|
||||
script {
|
||||
currentBuild.displayName = "${env.versionNumber}"
|
||||
if (env.BRANCH_NAME == "develop" || env.BRANCH_NAME.contains("DEMO")) {
|
||||
@@ -43,25 +44,32 @@ pipeline {
|
||||
bat "fart.exe VersGen\\MoonPro.cs 1.0.0.0 ${env.versionNumber} || EXIT /B 0"
|
||||
// checkout NuGet in file sorgente!!!
|
||||
fixNuget("${WORKSPACE}\\MAPO.sln")
|
||||
// bat "e:\\nuget.exe restore ${WORKSPACE}\\MAPO.sln"
|
||||
}
|
||||
script {
|
||||
/* compilo installers in base al BRANCH del cliente... */
|
||||
if (env.BRANCH_NAME == "develop") {
|
||||
parallel (
|
||||
ADM_IO_MON: {
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-ADM/MP-ADM.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-IO/MP-IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-MON/MP-MON.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
},
|
||||
LAND_SITE_TAB: {
|
||||
sleep 4
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-LAND/MP-LAND.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-SITE/MP-SITE.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
bat "\"${tool 'MSBuild-15.0'}\" MP-TAB/MP-TAB.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /m"
|
||||
ALL: {
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-ADM/MP-ADM.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-IO/MP-IO.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-SITE/MP-SITE.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
// },
|
||||
// LAND_MON_TAB: {
|
||||
// sleep 1
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-LAND/MP-LAND.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-MON/MP-MON.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-TAB/MP-TAB.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-MAG/MP-MAG.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
}
|
||||
else if ( env.singleProj.contains(env.BRANCH_NAME) ) {
|
||||
parallel (
|
||||
SINGLE: {
|
||||
bat "\"${tool 'MSBuild-16.0'}\" /p:m=8 MP-${env.BRANCH_NAME}/MP-${env.BRANCH_NAME}.csproj -target:Build /p:Configuration=Release /p:Platform=\"Any CPU\" /p:OutputPath=bin/ /verbosity:minimal /m"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else {
|
||||
echo 'Niente x Build (limitata a develop)...'
|
||||
}
|
||||
@@ -82,55 +90,60 @@ pipeline {
|
||||
/* DEPLOY condizionale: master (Ufficio Seriate) / demo_ovh (Demo Online) */
|
||||
if (env.BRANCH_NAME == "master") {
|
||||
parallel (
|
||||
ADM_IO: {
|
||||
ALL: {
|
||||
sleep 2
|
||||
if(env.enableIIS02 == "Y")
|
||||
{
|
||||
// ADM
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj /p:verbosity=minimal"
|
||||
// IO
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj /p:verbosity=minimal"
|
||||
// SITE
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj /p:verbosity=minimal"
|
||||
// }
|
||||
// },
|
||||
// LAND_MON_TAB: {
|
||||
// sleep 0
|
||||
// if(env.enableIIS02 == "Y")
|
||||
// {
|
||||
//LAND
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj /p:verbosity=minimal"
|
||||
// MON
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MON/MP-MON.csproj /p:verbosity=minimal"
|
||||
// TAB
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj /p:verbosity=minimal"
|
||||
// MAG
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MAG/MP-MAG.csproj /p:verbosity=minimal"
|
||||
}
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else if (env.BRANCH_NAME == "beta") {
|
||||
parallel (
|
||||
ALL: {
|
||||
sleep 2
|
||||
if(env.enableIIS01 == "Y")
|
||||
{
|
||||
// ADM
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj /p:verbosity=minimal"
|
||||
// IO
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj"
|
||||
}
|
||||
if(env.enableIIS02 == "Y")
|
||||
{
|
||||
// ADM
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj"
|
||||
// IO
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj"
|
||||
}
|
||||
},
|
||||
LAND_MON: {
|
||||
sleep 4
|
||||
if(env.enableIIS02 == "Y")
|
||||
{
|
||||
//LAND
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj"
|
||||
// MON
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MON/MP-MON.csproj"
|
||||
}
|
||||
if(env.enableIIS01 == "Y")
|
||||
{
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-IO/MP-IO.csproj /p:verbosity=minimal"
|
||||
// SITE
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj /p:verbosity=minimal"
|
||||
// }
|
||||
// },
|
||||
// LAND_MON_TAB: {
|
||||
// sleep 0
|
||||
// if(env.enableIIS01 == "Y")
|
||||
// {
|
||||
// LAND
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj /p:verbosity=minimal"
|
||||
// MON
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MON/MP-MON.csproj"
|
||||
}
|
||||
},
|
||||
SITE_TAB: {
|
||||
sleep 0
|
||||
if(env.enableIIS01 == "Y")
|
||||
{
|
||||
// SITE
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MON/MP-MON.csproj /p:verbosity=minimal"
|
||||
// TAB
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj"
|
||||
}
|
||||
if(env.enableIIS02 == "Y")
|
||||
{
|
||||
// SITE
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj"
|
||||
// TAB
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS02.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS02 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=IIS01 /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj /p:verbosity=minimal"
|
||||
// MAG
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-MAG/MP-MAG.csproj /p:verbosity=minimal"
|
||||
}
|
||||
},
|
||||
failFast: false)
|
||||
@@ -142,7 +155,7 @@ pipeline {
|
||||
// elimino vecchie build...
|
||||
bat "del /f /q *.nupkg"
|
||||
// BUILD!
|
||||
bat "\"${tool 'MSBuild-16.0'}\" MapoSDK\\MapoSDK.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /m"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" MapoSDK\\MapoSDK.csproj -target:Build /p:Configuration=${env.config} /p:Platform=\"Any CPU\" /p:OutputPath=bin/${env.config} /verbosity:minimal /m"
|
||||
// creo package NuGet... con version in modo da fare ANCHE le beta
|
||||
bat "e:\\nuget.exe pack ${WORKSPACE}\\MapoSDK\\MapoSDK.csproj -properties Configuration=${env.config} -Version ${env.packVers}"
|
||||
|
||||
@@ -151,6 +164,13 @@ pipeline {
|
||||
bat "e:\\nuget setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted"
|
||||
bat "e:\\nuget.exe push MapoSDK.${env.packVers}.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted"
|
||||
}
|
||||
else if ( env.singleProj.contains(env.BRANCH_NAME) ) {
|
||||
parallel (
|
||||
SINGLE: {
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /p:DeployOnBuild=true /p:Targets=Publish /p:PublishProfile=IIS01.pubxml /p:RunCodeAnalysis=false /p:Configuration=Release /p:username=jenkins /p:Password=viadante16 /p:AllowUntrustedCertificate=true /p:OutputPath=bin/ MP-${env.BRANCH_NAME}/MP-${env.BRANCH_NAME}.csproj /p:verbosity=minimal"
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
else {
|
||||
echo 'Nothing to deploy...'
|
||||
}
|
||||
@@ -174,39 +194,43 @@ pipeline {
|
||||
/* compilo installers SOLO stable / beta */
|
||||
if (env.BRANCH_NAME == "stable" || env.BRANCH_NAME.contains("beta") ) {
|
||||
parallel (
|
||||
ADM_IO: {
|
||||
sleep 2
|
||||
ALL: {
|
||||
// ADM
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/ADM.zip /p:DeployIisAppPath=\"Default Web Site/MP/ADM\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/ADM.zip /p:DeployIisAppPath=\"Default Web Site/MP/ADM\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-ADM/MP-ADM.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-ADM\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "ADM")
|
||||
|
||||
// IO
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/IO.zip /p:DeployIisAppPath=\"Default Web Site/MP/IO\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-IO/MP-IO.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/IO.zip /p:DeployIisAppPath=\"Default Web Site/MP/IO\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-IO/MP-IO.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-IO\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "IO")
|
||||
},
|
||||
LAND_MON: {
|
||||
sleep 4
|
||||
// LAND
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/LAND.zip /p:DeployIisAppPath=\"Default Web Site/MP/LAND\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-LAND\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "LAND")
|
||||
// MON
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/MON.zip /p:DeployIisAppPath=\"Default Web Site/MP/MON\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-MON/MP-MON.csproj"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-MON\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "MON")
|
||||
},
|
||||
SITE_TAB: {
|
||||
sleep 0
|
||||
|
||||
// SITE
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/SITE.zip /p:DeployIisAppPath=\"Default Web Site/MP/SITE\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/SITE.zip /p:DeployIisAppPath=\"Default Web Site/MP/SITE\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-SITE/MP-SITE.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-SITE\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "SITE")
|
||||
|
||||
// },
|
||||
// LAND_MON_TAB: {
|
||||
// LAND
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/LAND.zip /p:DeployIisAppPath=\"Default Web Site/MP/LAND\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-LAND/MP-LAND.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-LAND\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "LAND")
|
||||
|
||||
// MON
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/MON.zip /p:DeployIisAppPath=\"Default Web Site/MP/MON\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-MON/MP-MON.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-MON\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "MON")
|
||||
|
||||
// TAB
|
||||
sleep 2
|
||||
bat "\"${tool 'MSBuild-15.0'}\" \"/p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/TAB.zip /p:DeployIisAppPath=\"Default Web Site/MP/TAB\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj"
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/TAB.zip /p:DeployIisAppPath=\"Default Web Site/MP/TAB\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-TAB/MP-TAB.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-TAB\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "TAB")
|
||||
|
||||
// MAG
|
||||
bat "\"${tool 'MSBuild-16.0'}\" \"/p:m=8 /p:AspnetMergePath=C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v10.0A\\bin\\NETFX 4.6.2 Tools\" /T:Package /P:Configuration=Prod /p:PublishProfile=${env.BRANCH_NAME}.pubxml /p:RunCodeAnalysis=false /p:PackageLocation=ReleaseClienti/${env.BRANCH_NAME}/MAG.zip /p:DeployIisAppPath=\"Default Web Site/MP/MAG\" /p:PackageAsSingleFile=True /p:OutputPath=bin/ MP-MAG/MP-MAG.csproj /p:verbosity=minimal"
|
||||
// pubblico su server deploy!
|
||||
publishToDeployServer("MP-MAG\\", "c:\\inetpub\\wwwroot\\SWS\\MAPO\\", "MAG")
|
||||
},
|
||||
failFast: false)
|
||||
}
|
||||
@@ -263,6 +287,12 @@ pipeline {
|
||||
classifier: "${env.classifier}",
|
||||
file: "MP-TAB\\ReleaseClienti\\${env.BRANCH_NAME}\\TAB.zip",
|
||||
type: 'zip'
|
||||
],
|
||||
[
|
||||
artifactId: 'MP-MAG',
|
||||
classifier: "${env.classifier}",
|
||||
file: "MP-MAG\\ReleaseClienti\\${env.BRANCH_NAME}\\MAG.zip",
|
||||
type: 'zip'
|
||||
]
|
||||
],
|
||||
credentialsId: 'bc9d8e92-4302-3266-817f-7b58501d12d5',
|
||||
|
||||
@@ -27,162 +27,83 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP-SITE", "MP-SITE\MP-SITE.
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MapoSDK", "MapoSDK\MapoSDK.csproj", "{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MagData", "MagData\MagData.csproj", "{973245E4-02C0-4ED1-A81B-1727C5F4CA59}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MP-MAG", "MP-MAG\MP-MAG.csproj", "{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Donati|Any CPU = Donati|Any CPU
|
||||
IIS01|Any CPU = IIS01|Any CPU
|
||||
IIS02|Any CPU = IIS02|Any CPU
|
||||
Jetco|Any CPU = Jetco|Any CPU
|
||||
OVH-Demo|Any CPU = OVH-Demo|Any CPU
|
||||
Prod|Any CPU = Prod|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.IIS01|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.IIS01|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.IIS02|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.IIS02|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Jetco|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.OVH-Demo|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.OVH-Demo|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Prod|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Prod|Any CPU.Build.0 = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{663F7136-F470-4911-A9B6-044447F93168}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Donati|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Donati|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.IIS01|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.IIS01|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.IIS02|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.IIS02|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Jetco|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.OVH-Demo|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.OVH-Demo|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Prod|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Prod|Any CPU.Build.0 = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4617A665-D6E3-4CEB-A689-CE2EECD45713}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Jetco|Any CPU.ActiveCfg = Jetco|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Jetco|Any CPU.Build.0 = Jetco|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.OVH-Demo|Any CPU.ActiveCfg = OVH-Demo|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.OVH-Demo|Any CPU.Build.0 = OVH-Demo|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Prod|Any CPU.Build.0 = Prod|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{119EF0B4-CCE1-4F08-9ED2-D54E7775B4D9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Jetco|Any CPU.ActiveCfg = Jetco|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Jetco|Any CPU.Build.0 = Jetco|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.OVH-Demo|Any CPU.ActiveCfg = OVH-demo|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.OVH-Demo|Any CPU.Build.0 = OVH-demo|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Prod|Any CPU.Build.0 = Prod|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CE6CADA3-FA0E-41D6-AD43-8C92481DC29E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Jetco|Any CPU.ActiveCfg = Jetco|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Jetco|Any CPU.Build.0 = Jetco|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.OVH-Demo|Any CPU.ActiveCfg = OVH-demo|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.OVH-Demo|Any CPU.Build.0 = OVH-demo|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Prod|Any CPU.Build.0 = Prod|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BA8BCBB8-601C-4642-AE65-0EBF9D5FBE15}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Jetco|Any CPU.ActiveCfg = Jetco|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Jetco|Any CPU.Build.0 = Jetco|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.OVH-Demo|Any CPU.ActiveCfg = OVH-Demo|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.OVH-Demo|Any CPU.Build.0 = OVH-Demo|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Prod|Any CPU.Build.0 = Prod|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{51F720FE-7BED-4275-93B1-CDA9A9B53670}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Jetco|Any CPU.Build.0 = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.OVH-Demo|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.OVH-Demo|Any CPU.Build.0 = Prod|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Prod|Any CPU.ActiveCfg = Prod|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Prod|Any CPU.Build.0 = Prod|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E5A49351-F487-4329-8117-925A8FE662E5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Donati|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Donati|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.IIS01|Any CPU.ActiveCfg = IIS01|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.IIS01|Any CPU.Build.0 = IIS01|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.IIS02|Any CPU.ActiveCfg = IIS02|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.IIS02|Any CPU.Build.0 = IIS02|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Jetco|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.OVH-Demo|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.OVH-Demo|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Prod|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Prod|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2856BFC-7B4E-401E-932E-415DA8ECAAD6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Donati|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Donati|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.IIS01|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.IIS01|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.IIS02|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.IIS02|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Jetco|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Jetco|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.OVH-Demo|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.OVH-Demo|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Prod|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Prod|Any CPU.Build.0 = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D07211B6-CF67-4C7F-8040-5B8C3B12BB4B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Prod|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Prod|Any CPU.Build.0 = Debug|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{973245E4-02C0-4ED1-A81B-1727C5F4CA59}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Prod|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Prod|Any CPU.Build.0 = Debug|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{ECFD70CB-FE89-418C-82ED-6D0ACFDE6C07}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
[*.cs]
|
||||
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
#tab_width = 2
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
|
||||
# Default severity for analyzer diagnostics with category 'Design'
|
||||
dotnet_analyzer_diagnostic.category-Design.severity = none
|
||||
# Default severity for analyzer diagnostics with category 'Redundancy'
|
||||
dotnet_analyzer_diagnostic.category-Redundancy.severity = none
|
||||
# Default severity for analyzer diagnostics with category 'Naming'
|
||||
dotnet_analyzer_diagnostic.category-Naming.severity = none
|
||||
|
||||
# Default severity for analyzer diagnostics with category 'Globalization'
|
||||
dotnet_analyzer_diagnostic.category-Globalization.severity = none
|
||||
|
||||
# CA1805: Non eseguire inutilmente l'inizializzazione
|
||||
dotnet_diagnostic.CA1805.severity = none
|
||||
# CA2227: Le proprietà delle raccolte devono essere di sola lettura
|
||||
dotnet_diagnostic.CA2227.severity = none
|
||||
# CA1825: Evitare allocazioni di matrice di lunghezza zero.
|
||||
dotnet_diagnostic.CA1825.severity = none
|
||||
# CA5372: Usa XmlReader per XPathDocument
|
||||
dotnet_diagnostic.CA5372.severity = none
|
||||
# RCS1155: Use StringComparison when comparing strings.
|
||||
dotnet_diagnostic.RCS1155.severity = none
|
||||
@@ -7,16 +7,16 @@ namespace MP_ADM
|
||||
{
|
||||
public static void Init()
|
||||
{
|
||||
logger.lg.scriviLog("Esecuzione MyStartup.init()", tipoLog.STARTUP);
|
||||
SteamWare.Logger.Logging.LogInfo("Esecuzione MyStartup.init()");
|
||||
try
|
||||
{
|
||||
// inizializzo appConf prima di tutto il resto...
|
||||
memLayer.ML.resetAppConf();
|
||||
logger.lg.scriviLog("Completata esecuzione preliminare setup AppConf", tipoLog.STARTUP);
|
||||
SteamWare.Logger.Logging.LogInfo("Completata esecuzione preliminare setup AppConf");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
logger.lg.scriviLog($"Eccezione in fase di INIT preliminare applicazione{Environment.NewLine}{exc}", tipoLog.EXCEPTION);
|
||||
SteamWare.Logger.Logging.LogError($"Eccezione in fase di INIT preliminare applicazione{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+21
-12
@@ -5,18 +5,7 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class BCode : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmBCode_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
}
|
||||
}
|
||||
#region Private Methods
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
@@ -29,5 +18,25 @@ namespace MP_ADM
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmBCode_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
((MoonPro)this.Master).showSearch = true;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+17
-4
@@ -1,10 +1,22 @@
|
||||
using MapoDb;
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public class BasePage : System.Web.UI.Page
|
||||
{
|
||||
#region Internal Fields
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico
|
||||
/// </summary>
|
||||
internal DataLayer DataLayerObj = new DataLayer();
|
||||
|
||||
#endregion Internal Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Prox pagina da aprire
|
||||
/// </summary>
|
||||
@@ -21,10 +33,9 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico
|
||||
/// </summary>
|
||||
internal DataLayer DataLayerObj = new DataLayer();
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
@@ -45,5 +56,7 @@ namespace MP_ADM
|
||||
{
|
||||
return user_std.UtSn.TraduciEn(lemma);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
+237
-77
@@ -6,7 +6,65 @@ namespace MP_ADM
|
||||
{
|
||||
public class BaseUserControl : System.Web.UI.UserControl
|
||||
{
|
||||
#region gestione eventi
|
||||
#region Internal Fields
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico NON singleton x scalare
|
||||
/// </summary>
|
||||
internal DataLayer DataLayerObj = new DataLayer();
|
||||
|
||||
#endregion Internal Fields
|
||||
|
||||
#region Public Fields
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione Controlli periodici
|
||||
/// </summary>
|
||||
public bool enableControlli = memLayer.ML.cdvb("enableControlli");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione Disegno articolo
|
||||
/// </summary>
|
||||
public bool enableDisegno = memLayer.ML.cdvb("enableDisegno");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione grafici JScript
|
||||
/// </summary>
|
||||
public bool enableGraphJS = memLayer.ML.cdvb("enableGraphJS");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione Pezzi LAsciati in macchina
|
||||
/// </summary>
|
||||
public bool enablePzProdLasciati = memLayer.ML.cdvb("enablePzProdLasciati");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione Richieste - Promesse - ODL
|
||||
/// </summary>
|
||||
public bool enableRPO = memLayer.ML.cdvb("enableRPO");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione scarti
|
||||
/// </summary>
|
||||
public bool enableScarti = memLayer.ML.cdvb("enableScarti");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione scheda Tecnica
|
||||
/// </summary>
|
||||
public bool enableSchedaTecnica = memLayer.ML.cdvb("enableSchedaTecnica");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione SplitODL
|
||||
/// </summary>
|
||||
public bool enableSplitODL = memLayer.ML.cdvb("enableSplitODL");
|
||||
|
||||
/// <summary>
|
||||
/// Abilitazione gestione Set PZ Pallet su tablet
|
||||
/// </summary>
|
||||
public bool enableTabSetPzPallet = memLayer.ML.cdvb("enableTabSetPzPallet");
|
||||
|
||||
#endregion Public Fields
|
||||
|
||||
#region Public Events
|
||||
|
||||
public event EventHandler eh_nuovoValore;
|
||||
|
||||
@@ -14,53 +72,22 @@ namespace MP_ADM
|
||||
|
||||
public event EventHandler eh_selValore;
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento nuovo valore
|
||||
/// </summary>
|
||||
public void raiseNewVal()
|
||||
{
|
||||
// evento come nuovo...
|
||||
if (eh_nuovoValore != null)
|
||||
{
|
||||
eh_nuovoValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
#endregion Public Events
|
||||
|
||||
public void raiseSelNew()
|
||||
{
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento reset
|
||||
/// Clipboard corrente utente
|
||||
/// </summary>
|
||||
public void raiseReset()
|
||||
{
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
#endregion gestione eventi
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto datalayer specifico NON singleton x scalare
|
||||
/// </summary>
|
||||
internal DataLayer DataLayerObj = new DataLayer();
|
||||
|
||||
/// <summary>
|
||||
/// UID formattato con "_"
|
||||
/// </summary>
|
||||
public string uid
|
||||
public string clipboard
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.UniqueID.Replace("$", "_").Replace("-", "_");
|
||||
return memLayer.ML.StringSessionObj("UserClipboard");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("UserClipboard", value);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +102,174 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
#region utils
|
||||
/// <summary>
|
||||
/// UID formattato con "_"
|
||||
/// </summary>
|
||||
public string uid
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.UniqueID.Replace("$", "_").Replace("-", "_");
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se la macchina MAIN sia MASTER
|
||||
/// </summary>
|
||||
protected bool isMaster(string idxMacchina)
|
||||
{
|
||||
return DataLayerObj.isMaster(idxMacchina);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se la macchina MAIN sia MULTI (da DatiMacchina / redis...)
|
||||
/// </summary>
|
||||
protected bool isMulti(string idxMacchina)
|
||||
{
|
||||
return DataLayerObj.isMulti(idxMacchina);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se la macchina MAIN sia SLAVE
|
||||
/// </summary>
|
||||
protected bool isSlave(string idxMacchina)
|
||||
{
|
||||
return DataLayerObj.isSlave(idxMacchina);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// conversione da tempo minuti centesimali a minuti/secondi
|
||||
/// </summary>
|
||||
/// <param name="valore"></param>
|
||||
/// <returns></returns>
|
||||
protected TimeSpan minCent2Sec(decimal valore)
|
||||
{
|
||||
TimeSpan answ = new TimeSpan(0, 0, 1);
|
||||
try
|
||||
{
|
||||
answ = new TimeSpan(0, Convert.ToInt32(valore), Convert.ToInt32((valore - Convert.ToInt32(valore)) * 60));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// cambia il colore del campo secondo la due date indicata
|
||||
/// rosso: in ritardo (scaduta)
|
||||
/// verde: > 2 week
|
||||
/// giallo: altrimenti
|
||||
/// </summary>
|
||||
/// <param name="dueDate"></param>
|
||||
/// <returns></returns>
|
||||
public string cssDueDate(object dueDate)
|
||||
{
|
||||
DateTime oggi = DateTime.Today;
|
||||
DateTime dataRif = oggi.AddDays(-1);
|
||||
DateTime.TryParse(dueDate.ToString(), out dataRif);
|
||||
string answ = "text-secondary";
|
||||
if (dataRif < oggi)
|
||||
{
|
||||
answ = "text-danger";
|
||||
}
|
||||
else if (dataRif < oggi.AddDays(14))
|
||||
{
|
||||
answ = "text-warning";
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "text-success";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Conversione a bool del valore
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
/// <returns></returns>
|
||||
public bool getBool(object value)
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(value.ToString(), out answ);
|
||||
return answ;
|
||||
}
|
||||
|
||||
public string min2hour(object minutes)
|
||||
{
|
||||
string answ = "";
|
||||
double minDbl = 0;
|
||||
double.TryParse($"{minutes}", out minDbl);
|
||||
answ = $"{minDbl / 60:N2}";
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// formatta in minuti/sec partendo da min.cent
|
||||
/// </summary>
|
||||
/// <param name="minCent"></param>
|
||||
/// <returns></returns>
|
||||
public string minSec(object minCent)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = string.Format("{0:mm}:{0:ss}", minCent2Sec(Convert.ToDecimal(minCent.ToString().Replace(".", ","))));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento nuovo valore
|
||||
/// </summary>
|
||||
public void raiseNewVal()
|
||||
{
|
||||
// evento come nuovo...
|
||||
if (eh_nuovoValore != null)
|
||||
{
|
||||
eh_nuovoValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Solleva evento reset
|
||||
/// </summary>
|
||||
public void raiseReset()
|
||||
{
|
||||
if (eh_resetSelezione != null)
|
||||
{
|
||||
eh_resetSelezione(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
public void raiseSelNew()
|
||||
{
|
||||
// sollevo evento nuovo valore...
|
||||
if (eh_selValore != null)
|
||||
{
|
||||
eh_selValore(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
/// </summary>
|
||||
/// <param name="lemma"></param>
|
||||
/// <returns></returns>
|
||||
public string traduci(object lemmaRaw)
|
||||
{
|
||||
return user_std.UtSn.Traduci($"{lemmaRaw}");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// effettua traduzione del lemma
|
||||
@@ -97,40 +291,6 @@ namespace MP_ADM
|
||||
return user_std.UtSn.TraduciEn(lemma);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// formatta in minuti/sec partendo da min.cent
|
||||
/// </summary>
|
||||
/// <param name="minCent"></param>
|
||||
/// <returns></returns>
|
||||
public string minSec(object minCent)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = string.Format("{0:mm}:{0:ss}", minCent2Sec(Convert.ToDecimal(minCent.ToString().Replace(".", ","))));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// conversione da tempo minuti centesimali a minuti/secondi
|
||||
/// </summary>
|
||||
/// <param name="valore"></param>
|
||||
/// <returns></returns>
|
||||
protected TimeSpan minCent2Sec(decimal valore)
|
||||
{
|
||||
TimeSpan answ = new TimeSpan(0, 0, 1);
|
||||
try
|
||||
{
|
||||
answ = new TimeSpan(0, Convert.ToInt32(valore), Convert.ToInt32((valore - Convert.ToInt32(valore)) * 60));
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion utils
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
+22
-10
@@ -5,16 +5,7 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class CTrackBCode : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
((MoonPro)this.Master).headCssClass = "bg-secondary text-warning";
|
||||
((MoonPro)this.Master).mainCssClass = "table-secondary";
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmCTrack_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
|
||||
}
|
||||
#region Private Methods
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
@@ -27,5 +18,26 @@ namespace MP_ADM
|
||||
}
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
((MoonPro)this.Master).headCssClass = "bg-secondary text-warning";
|
||||
((MoonPro)this.Master).mainCssClass = "table-secondary";
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmCTrack_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "OPR";
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptCTrack_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptCTrack_CodGruppo");
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+1346
-1549
File diff suppressed because it is too large
Load Diff
+122
-7
@@ -2,6 +2,10 @@
|
||||
/*Import fonts!*/
|
||||
@import url('./fonts.less');
|
||||
|
||||
@lgStart: #DEDEDE;
|
||||
@lgMid: #CDCDCD;
|
||||
@lgEnd: #FAFAFA;
|
||||
|
||||
.body {
|
||||
font-family: 'Open Sans Condensed', sans-serif;
|
||||
margin-top: 0px;
|
||||
@@ -22,14 +26,125 @@ body {
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#787878', endColorstr='#DEDEDE', GradientType=0);
|
||||
}
|
||||
|
||||
.sfondoMain {
|
||||
/*background: #CDCDCD;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#787878), to(#DEDEDE));
|
||||
background-image: -webkit-linear-gradient(top, #787878, 0%, #DEDEDE, 100%);
|
||||
background-image: -moz-linear-gradient(top, #787878 0%, #DEDEDE 100%);
|
||||
background-image: linear-gradient(to bottom, #787878 0%, #DEDEDE 100%);
|
||||
.bgLightGrayUp {
|
||||
background-image: svg-gradient(to bottom, @lgStart, @lgMid);
|
||||
}
|
||||
|
||||
.bgLightGrayDown {
|
||||
background-image: svg-gradient(to bottom, @lgMid, @lgEnd);
|
||||
}
|
||||
|
||||
/*------------------------------------------------------------------
|
||||
[ Shortcuts / .shortcuts ]
|
||||
*/
|
||||
|
||||
@blSCut: 1.5rem;
|
||||
|
||||
.shortcuts {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut {
|
||||
min-width: @blSCut * 12;
|
||||
min-height: @blSCut * 5;
|
||||
display: inline-block;
|
||||
padding: @blSCut*2/3 0em @blSCut*1/6;
|
||||
margin: 0 0.2em 1.5em;
|
||||
vertical-align: top;
|
||||
text-decoration: none;
|
||||
background: #F3F3F3;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#787878', endColorstr='#DEDEDE', GradientType=0);*/
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
|
||||
border: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
border-radius: @blSCut/2;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-sm {
|
||||
min-width: @blSCut * 7.5;
|
||||
min-height: @blSCut * 3;
|
||||
display: inline-block;
|
||||
padding: @blSCut/4 0;
|
||||
margin: 0 2px 1em;
|
||||
vertical-align: top;
|
||||
text-decoration: none;
|
||||
background: #F3F3F3;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#eeeeee));
|
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #eeeeee, 100%);
|
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0);
|
||||
border: 1px solid #ddd;
|
||||
box-sizing: border-box;
|
||||
border-radius: @blSCut/2;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut .shortcut-icon {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: @blSCut*2;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-sm .shortcut-icon {
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: @blSCut*2;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut:hover {
|
||||
background: #E8E8E8;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
|
||||
background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
|
||||
background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
|
||||
background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
|
||||
border: 1px solid #0099FF;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-sm:hover {
|
||||
background: #E8E8E8;
|
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fafafa), to(#e1e1e1));
|
||||
background-image: -webkit-linear-gradient(top, #fafafa, 0%, #e1e1e1, 100%);
|
||||
background-image: -moz-linear-gradient(top, #fafafa 0%, #e1e1e1 100%);
|
||||
background-image: linear-gradient(to bottom, #fafafa 0%, #e1e1e1 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffafafa', endColorstr='#ffe1e1e1', GradientType=0);
|
||||
border: 1px solid #0099FF;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut:active {
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-sm:active {
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
||||
}
|
||||
|
||||
.shortcuts .shortcut:hover .shortcut-icon {
|
||||
color: #C93;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-sm:hover .shortcut-icon {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.shortcuts .shortcut-label {
|
||||
display: block;
|
||||
margin-top: .75em;
|
||||
font-size: @blSCut*0.75;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
border-top: 1px solid #DEDEDE;
|
||||
}
|
||||
|
||||
.table-sm > thead > tr > th, .table-sm > tbody > tr > th, .table-sm > tfoot > tr > th, .table-sm > thead > tr > td, .table-sm > tbody > tr > td, .table-sm > tfoot > tr > td {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3225
-3760
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+5
-5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+153
-159
@@ -1,331 +1,325 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 The Bootstrap Authors
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Bootstrap Reboot v4.6.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
font-family: sans-serif;
|
||||
line-height: 1.15;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 1rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #212529;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
[tabindex="-1"]:focus {
|
||||
outline: 0 !important;
|
||||
[tabindex="-1"]:focus:not(:focus-visible) {
|
||||
outline: 0 !important;
|
||||
}
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
abbr[title],
|
||||
abbr[data-original-title] {
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
text-decoration: underline;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
text-decoration: underline dotted;
|
||||
cursor: help;
|
||||
border-bottom: 0;
|
||||
-webkit-text-decoration-skip-ink: none;
|
||||
text-decoration-skip-ink: none;
|
||||
}
|
||||
|
||||
address {
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
margin-bottom: 1rem;
|
||||
font-style: normal;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
ol,
|
||||
ul,
|
||||
dl {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
ol ol,
|
||||
ul ul,
|
||||
ol ul,
|
||||
ul ol {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
font-weight: 700;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
margin-bottom: .5rem;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0 1rem;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bolder;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
sub,
|
||||
sup {
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
position: relative;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -.25em;
|
||||
bottom: -.25em;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -.5em;
|
||||
top: -.5em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
a:hover {
|
||||
color: #0056b3;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:not([href]):not([class]) {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:not([href]):not([tabindex]):focus {
|
||||
outline: 0;
|
||||
}
|
||||
a:not([href]):not([class]):hover {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
overflow: auto;
|
||||
-ms-overflow-style: scrollbar;
|
||||
}
|
||||
|
||||
figure {
|
||||
margin: 0 0 1rem;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
svg {
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
overflow: hidden;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
caption {
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
padding-top: 0.75rem;
|
||||
padding-bottom: 0.75rem;
|
||||
color: #6c757d;
|
||||
text-align: left;
|
||||
caption-side: bottom;
|
||||
}
|
||||
|
||||
th {
|
||||
text-align: inherit;
|
||||
text-align: inherit;
|
||||
text-align: -webkit-match-parent;
|
||||
}
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
display: inline-block;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
button {
|
||||
border-radius: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
button:focus {
|
||||
outline: 1px dotted;
|
||||
outline: 5px auto -webkit-focus-ring-color;
|
||||
}
|
||||
button:focus:not(:focus-visible) {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
optgroup,
|
||||
textarea {
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
[role="button"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
select {
|
||||
word-wrap: normal;
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
||||
button,
|
||||
[type="button"],
|
||||
[type="reset"],
|
||||
[type="submit"] {
|
||||
-webkit-appearance: button;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
button:not(:disabled),
|
||||
[type="button"]:not(:disabled),
|
||||
[type="reset"]:not(:disabled),
|
||||
[type="submit"]:not(:disabled) {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
button::-moz-focus-inner,
|
||||
[type="button"]::-moz-focus-inner,
|
||||
[type="reset"]::-moz-focus-inner,
|
||||
[type="submit"]::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
-webkit-appearance: listbox;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
overflow: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: .5rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: inherit;
|
||||
color: inherit;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
progress {
|
||||
vertical-align: baseline;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
[type="number"]::-webkit-inner-spin-button,
|
||||
[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
[type="search"] {
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
outline-offset: -2px;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
::-webkit-file-upload-button {
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
font: inherit;
|
||||
-webkit-appearance: button;
|
||||
}
|
||||
|
||||
output {
|
||||
display: inline-block;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
summary {
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
display: list-item;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
template {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
||||
File diff suppressed because one or more lines are too long
+5
-5
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* Bootstrap Reboot v4.3.1 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2019 The Bootstrap Authors
|
||||
* Copyright 2011-2019 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* Bootstrap Reboot v4.6.0 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2021 The Bootstrap Authors
|
||||
* Copyright 2011-2021 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)
|
||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||
*/*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus:not(:focus-visible){outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;cursor:help;border-bottom:0;-webkit-text-decoration-skip-ink:none;text-decoration-skip-ink:none}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#007bff;text-decoration:none;background-color:transparent}a:hover{color:#0056b3;text-decoration:underline}a:not([href]):not([class]){color:inherit;text-decoration:none}a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code,kbd,pre,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;font-size:1em}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0 0 1rem}img{vertical-align:middle;border-style:none}svg{overflow:hidden;vertical-align:middle}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#6c757d;text-align:left;caption-side:bottom}th{text-align:inherit;text-align:-webkit-match-parent}label{display:inline-block;margin-bottom:.5rem}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[role=button]{cursor:pointer}select{word-wrap:normal}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}
|
||||
/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
||||
File diff suppressed because one or more lines are too long
Vendored
+7860
-8394
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Vendored
+5
-5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,10 +5,7 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class DataImport : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
checkEnabled();
|
||||
}
|
||||
#region Private Methods
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
@@ -22,6 +19,10 @@ namespace MP_ADM
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Esegue import dati
|
||||
/// </summary>
|
||||
@@ -37,5 +38,16 @@ namespace MP_ADM
|
||||
DataLayerObj.taWKS.All_ImportFile_Process(null, null, null, null, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
checkEnabled();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
+39
-27
@@ -5,18 +5,7 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class GestKIT : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmKit_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "KIT";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
mod_barcode.eh_comandoRegistrato += Mod_barcode_eh_comandoRegistrato;
|
||||
mod_barcode.eh_dataRead += Mod_barcode_eh_dataRead;
|
||||
mod_gestKIT.eh_selKit += Mod_gestKIT_eh_selKit;
|
||||
}
|
||||
#region Private Methods
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
@@ -31,21 +20,6 @@ namespace MP_ADM
|
||||
}
|
||||
}
|
||||
|
||||
private void Mod_gestKIT_eh_selKit(object sender, EventArgs e)
|
||||
{
|
||||
// invio ultimo kit creato a barcode...
|
||||
mod_barcode.BCodeVal = mod_gestKIT.lastKitMade;
|
||||
mod_barcode.processInput();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
{
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
string rawInput = mod_barcode.rawInput;
|
||||
mod_gestKIT.lastInput = rawInput;
|
||||
mod_gestKIT.doUpdate();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_comandoRegistrato(object sender, EventArgs e)
|
||||
{
|
||||
// verifico input su KIT x comando completo
|
||||
@@ -63,5 +37,43 @@ namespace MP_ADM
|
||||
}
|
||||
mod_gestKIT.doUpdate();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
{
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
string rawInput = mod_barcode.rawInput;
|
||||
mod_gestKIT.lastInput = rawInput;
|
||||
mod_gestKIT.doUpdate();
|
||||
}
|
||||
|
||||
private void Mod_gestKIT_eh_selKit(object sender, EventArgs e)
|
||||
{
|
||||
// invio ultimo kit creato a barcode...
|
||||
mod_barcode.BCodeVal = mod_gestKIT.lastKitMade;
|
||||
mod_barcode.processInput();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmKit_CodPre");
|
||||
mod_barcode.codOrdPre = codPre != "" ? codPre : "KIT";
|
||||
mod_gestPromODL.codOrdPre = mod_barcode.codOrdPre;
|
||||
mod_gestPromODL.enableSelFase = memLayer.ML.CRB("OptBCode_enbSelFase");
|
||||
mod_gestPromODL.CodGruppo = memLayer.ML.CRS("OptBCode_CodGruppo");
|
||||
mod_barcode.eh_comandoRegistrato += Mod_barcode_eh_comandoRegistrato;
|
||||
mod_barcode.eh_dataRead += Mod_barcode_eh_dataRead;
|
||||
mod_gestKIT.eh_selKit += Mod_gestKIT_eh_selKit;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+31
-29
@@ -1,59 +1,61 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_ADM {
|
||||
|
||||
|
||||
public partial class GestKIT {
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class GestKIT
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDataImportOut.
|
||||
/// lblDataImportOut 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 lblDataImportOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divContent.
|
||||
/// divContent 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 divContent;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_gestKIT.
|
||||
/// mod_gestKIT 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::MP_ADM.WebUserControls.mod_gestKIT mod_gestKIT;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_barcode.
|
||||
/// mod_barcode 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::MP_ADM.WebUserControls.mod_barcode mod_barcode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_gestPromODL.
|
||||
/// mod_gestPromODL 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::MP_ADM.WebUserControls.mod_gestPromODL mod_gestPromODL;
|
||||
}
|
||||
|
||||
@@ -4,8 +4,16 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class HwSwInfo : BasePage
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="ImageArchive.aspx.cs" Inherits="MP_ADM.ImageArchive" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_ImageArchive.ascx" TagPrefix="uc1" TagName="cmp_ImageArchive" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:cmp_ImageArchive runat="server" id="cmp_ImageArchive" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class ImageArchive : System.Web.UI.Page
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class ImageArchive
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_ImageArchive.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_ImageArchive cmp_ImageArchive;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework =
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids = {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
|
||||
build_property.PublishSingleFile =
|
||||
build_property.IncludeAllContentForSelfExtract =
|
||||
build_property._SupportedPlatformList =
|
||||
+297
-79
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.props" Condition="Exists('..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props" Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\TypeScript\Microsoft.TypeScript.Default.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
@@ -46,17 +47,17 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="AegisImplicitMail, Version=1.0.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AIM.1.0.3\lib\AegisImplicitMail.dll</HintPath>
|
||||
<Reference Include="AegisImplicitMail, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AIM.1.1.0\lib\netstandard2.0\AegisImplicitMail.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AjaxControlToolkit, Version=20.1.0.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AjaxControlToolkit.20.1.0\lib\net40\AjaxControlToolkit.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap, Version=4.3.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.4.3.1\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
<Reference Include="AspNet.ScriptManager.bootstrap, Version=4.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.bootstrap.4.6.0\lib\net45\AspNet.ScriptManager.bootstrap.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery, Version=3.4.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.3.4.1\lib\net45\AspNet.ScriptManager.jQuery.dll</HintPath>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery, Version=3.6.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.3.6.0\lib\net45\AspNet.ScriptManager.jQuery.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="AspNet.ScriptManager.jQuery.UI.Combined, Version=1.12.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\AspNet.ScriptManager.jQuery.UI.Combined.1.12.1\lib\net45\AspNet.ScriptManager.jQuery.UI.Combined.dll</HintPath>
|
||||
@@ -64,42 +65,42 @@
|
||||
<Reference Include="Crc32C.NET, Version=1.0.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Crc32C.NET.1.0.5.0\lib\net20\Crc32C.NET.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="DnsClient, Version=1.3.2.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.3.2\lib\net45\DnsClient.dll</HintPath>
|
||||
<Reference Include="DnsClient, Version=1.4.0.0, Culture=neutral, PublicKeyToken=4574bb5573c51424, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\DnsClient.1.4.0\lib\net45\DnsClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Elmah, Version=1.2.14706.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\elmah.corelibrary.1.2.2\lib\Elmah.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.2.0.246, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpZipLib.1.2.0\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
<Reference Include="ICSharpCode.SharpZipLib, Version=1.3.2.10, Culture=neutral, PublicKeyToken=1b03e6acf1164f73, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpZipLib.1.3.2\lib\net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.AspNet.SessionState.SessionStateModule.1.1.0\lib\Net462\Microsoft.AspNet.SessionState.SessionStateModule.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Web.RedisSessionStateProvider, Version=4.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Web.RedisSessionStateProvider.4.0.1\lib\net462\Microsoft.Web.RedisSessionStateProvider.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Bson, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.11.2\lib\net452\MongoDB.Bson.dll</HintPath>
|
||||
<Reference Include="MongoDB.Bson, Version=2.12.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.12.3\lib\net452\MongoDB.Bson.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.2.11.2\lib\net452\MongoDB.Driver.dll</HintPath>
|
||||
<Reference Include="MongoDB.Driver, Version=2.12.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.2.12.3\lib\net452\MongoDB.Driver.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver.Core, Version=2.11.2.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.Core.2.11.2\lib\net452\MongoDB.Driver.Core.dll</HintPath>
|
||||
<Reference Include="MongoDB.Driver.Core, Version=2.12.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.Core.2.12.3\lib\net452\MongoDB.Driver.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Libmongocrypt, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Libmongocrypt.1.0.0\lib\net452\MongoDB.Libmongocrypt.dll</HintPath>
|
||||
<Reference Include="MongoDB.Libmongocrypt, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Libmongocrypt.1.2.1\lib\net452\MongoDB.Libmongocrypt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.4.7.4\lib\net45\NLog.dll</HintPath>
|
||||
<HintPath>..\packages\NLog.4.7.10\lib\net45\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PdfSharp, Version=1.50.5147.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.dll</HintPath>
|
||||
@@ -108,19 +109,23 @@
|
||||
<HintPath>..\packages\PDFsharp.1.50.5147\lib\net20\PdfSharp.Charting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Pipelines.Sockets.Unofficial, Version=1.0.0.0, Culture=neutral, PublicKeyToken=42ea0a778e13fbe2, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.1.16\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
|
||||
<HintPath>..\packages\Pipelines.Sockets.Unofficial.2.2.0\lib\net461\Pipelines.Sockets.Unofficial.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SharpCompress, Version=0.26.0.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpCompress.0.26.0\lib\net46\SharpCompress.dll</HintPath>
|
||||
<Reference Include="SharpCompress, Version=0.28.2.0, Culture=neutral, PublicKeyToken=afb0a02973931d96, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SharpCompress.0.28.2\lib\netstandard2.0\SharpCompress.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Snappy.NET, Version=1.1.1.8, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Snappy.NET.1.1.1.8\lib\net45\Snappy.NET.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="StackExchange.Redis, Version=2.0.0.0, Culture=neutral, PublicKeyToken=c219ff1ca8c2ce46, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\StackExchange.Redis.2.1.58\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<HintPath>..\packages\StackExchange.Redis.2.2.4\lib\net461\StackExchange.Redis.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare, Version=4.9.2010.742, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.4.9.2010.742\lib\net462\SteamWare.dll</HintPath>
|
||||
<Reference Include="SteamWare, Version=5.1.2105.758, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.5.1.2105.758\lib\net462\SteamWare.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="SteamWare.Logger, Version=5.1.2105.758, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\SteamWare.Logger.5.1.2105.758\lib\net462\SteamWare.Logger.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
@@ -129,14 +134,14 @@
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Diagnostics.PerformanceCounter, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.4.7.0\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
|
||||
<Reference Include="System.Diagnostics.PerformanceCounter, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.PerformanceCounter.5.0.1\lib\net461\System.Diagnostics.PerformanceCounter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Pipelines, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.4.7.2\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
<Reference Include="System.IO.Pipelines, Version=5.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Pipelines.5.0.1\lib\net461\System.IO.Pipelines.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
@@ -148,21 +153,23 @@
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Pkcs, Version=5.0.0.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Pkcs.5.0.1\lib\net461\System.Security.Cryptography.Pkcs.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -170,8 +177,11 @@
|
||||
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.2\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Threading.Channels, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Channels.4.7.1\lib\net461\System.Threading.Channels.dll</HintPath>
|
||||
<Reference Include="System.Text.Encoding.CodePages, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encoding.CodePages.5.0.0\lib\net461\System.Text.Encoding.CodePages.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Channels, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Channels.5.0.0\lib\net461\System.Threading.Channels.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
@@ -296,6 +306,8 @@
|
||||
<Content Include="CTrackBCode.aspx" />
|
||||
<Content Include="DataImport.aspx" />
|
||||
<Content Include="Default.aspx" />
|
||||
<Content Include="example-config-table.txt" />
|
||||
<Content Include="example-favicon.ico" />
|
||||
<Content Include="ExportPdf.aspx" />
|
||||
<Content Include="favicon.ico" />
|
||||
<Content Include="fonts\fontawesome-webfont.svg" />
|
||||
@@ -387,6 +399,7 @@
|
||||
<Content Include="help\syntaxhighlight.css" />
|
||||
<Content Include="help\table_of_contents.html" />
|
||||
<Content Include="HwSwInfo.aspx" />
|
||||
<Content Include="ImageArchive.aspx" />
|
||||
<Content Include="images\apply.png" />
|
||||
<Content Include="images\apply_l.png" />
|
||||
<Content Include="images\apply_m.png" />
|
||||
@@ -430,6 +443,26 @@
|
||||
<Content Include="images\ProgressBar.gif" />
|
||||
<Content Include="images\rosso.png" />
|
||||
<Content Include="images\sfondo.png" />
|
||||
<Content Include="images\ST_img\60022-01.jpeg" />
|
||||
<Content Include="images\ST_img\60088-01.jpeg" />
|
||||
<Content Include="images\ST_img\600979-01.jpeg" />
|
||||
<Content Include="images\ST_img\60144-01.jpeg" />
|
||||
<Content Include="images\ST_img\60144-02.jpeg" />
|
||||
<Content Include="images\ST_img\60145-01.jpeg" />
|
||||
<Content Include="images\ST_img\60145-02.jpeg" />
|
||||
<Content Include="images\ST_img\60148-01.jpeg" />
|
||||
<Content Include="images\ST_img\60156-01.jpeg" />
|
||||
<Content Include="images\ST_img\60156-02.jpeg" />
|
||||
<Content Include="images\ST_img\60159-01.jpeg" />
|
||||
<Content Include="images\ST_img\60210-01.jpeg" />
|
||||
<Content Include="images\ST_img\60210-02.jpeg" />
|
||||
<Content Include="images\ST_img\60211-01.jpeg" />
|
||||
<Content Include="images\ST_img\60211-02.jpeg" />
|
||||
<Content Include="images\ST_img\60220-01.jpeg" />
|
||||
<Content Include="images\ST_img\60220-02.jpeg" />
|
||||
<Content Include="images\ST_img\Steamware.png">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="images\titoloCruscotto.png" />
|
||||
<Content Include="images\verde.png" />
|
||||
<Content Include="images\view.gif" />
|
||||
@@ -449,12 +482,12 @@
|
||||
<Content Include="Resources\ChangeLog.html" />
|
||||
<Content Include="Resources\logoSteamware.png" />
|
||||
<Content Include="Resources\manifest.xml" />
|
||||
<Content Include="Content\fonts.less" />
|
||||
<Content Include="Content\Style.less" />
|
||||
<Content Include="Scripts\bootstrap.bundle.js" />
|
||||
<Content Include="Scripts\bootstrap.bundle.min.js" />
|
||||
<Content Include="Scripts\bootstrap.js" />
|
||||
<Content Include="Scripts\bootstrap.min.js" />
|
||||
<Content Include="Content\fonts.less" />
|
||||
<Content Include="Content\Style.less" />
|
||||
<Content Include="Scripts\esm\popper-utils.js" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js" />
|
||||
<Content Include="Scripts\esm\popper.js" />
|
||||
@@ -464,13 +497,34 @@
|
||||
<Content Include="Scripts\esm\popper.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\esm\popper-utils.js.map" />
|
||||
<Content Include="example-NLog.config" />
|
||||
<Content Include="example-app.config" />
|
||||
<Content Include="FileUpload\.placeHolder.file">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include=".editorconfig" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-NLog.config" />
|
||||
<Content Include="App_Readme\SteamWare_demo\example-app.config" />
|
||||
<Content Include="libmongocrypt.so" />
|
||||
<Content Include="libmongocrypt.dylib" />
|
||||
<Content Include="Scripts\bootstrap.min.js.map" />
|
||||
<Content Include="Scripts\bootstrap.js.map" />
|
||||
<Content Include="Scripts\bootstrap.bundle.min.js.map" />
|
||||
<Content Include="Scripts\bootstrap.bundle.js.map" />
|
||||
<Content Include="Content\bootstrap.min.css.map" />
|
||||
<Content Include="Content\bootstrap.css.map" />
|
||||
<Content Include="Content\bootstrap-reboot.min.css.map" />
|
||||
<Content Include="Content\bootstrap-reboot.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.min.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.css.map" />
|
||||
<None Include="Scripts\jquery-3.4.1.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.js" />
|
||||
<None Include="Scripts\jquery-3.6.0.intellisense.js" />
|
||||
<Content Include="Scripts\jquery-3.6.0.js" />
|
||||
<Content Include="Scripts\jquery-3.6.0.min.js" />
|
||||
<Content Include="Scripts\jquery-3.6.0.slim.js" />
|
||||
<Content Include="Scripts\jquery-3.6.0.slim.min.js" />
|
||||
<Content Include="Scripts\popper-utils.js" />
|
||||
<Content Include="Scripts\popper-utils.min.js" />
|
||||
<Content Include="Scripts\popper.js" />
|
||||
@@ -545,11 +599,32 @@
|
||||
<Content Include="snappy32.dll" />
|
||||
<Content Include="snappy64.dll" />
|
||||
<Content Include="StoricoTC.aspx" />
|
||||
<Content Include="TechSheetMan.aspx" />
|
||||
<Content Include="test.aspx" />
|
||||
<Content Include="testUtente.aspx" />
|
||||
<Content Include="unauthorized.aspx" />
|
||||
<Content Include="Vocabolario.aspx" />
|
||||
<Content Include="WebUserControls\cmp_fileUpload.ascx" />
|
||||
<Content Include="WebUserControls\cmp_HwSwInfo.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ImageArchive.ascx" />
|
||||
<Content Include="WebUserControls\cmp_lemmiVocab.ascx" />
|
||||
<Content Include="WebUserControls\cmp_numRow.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planSchedule.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats_Art.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats_Cli.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats_Fasi.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats_Mac.ascx" />
|
||||
<Content Include="WebUserControls\cmp_PODL_OUT.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ricercaGenerica.ascx" />
|
||||
<Content Include="WebUserControls\cmp_righePag.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ST_detail.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ST_objView.ascx" />
|
||||
<Content Include="WebUserControls\cmp_ST_preview.ascx" />
|
||||
<Content Include="WebUserControls\cmp_TechSheetArt.ascx" />
|
||||
<Content Include="WebUserControls\cmp_TechSheetArtAddNew.ascx" />
|
||||
<Content Include="WebUserControls\cmp_TechSheetDetail.ascx" />
|
||||
<Content Include="WebUserControls\cmp_TechSheetMan.ascx" />
|
||||
<Content Include="WebUserControls\cmp_vocabolario.ascx" />
|
||||
<Content Include="WebUserControls\mod_anagArticoli.ascx" />
|
||||
<Content Include="WebUserControls\mod_aperturaImpianti.ascx" />
|
||||
<Content Include="WebUserControls\mod_approvazioneODL.ascx" />
|
||||
@@ -562,7 +637,6 @@
|
||||
<Content Include="WebUserControls\mod_gestioneODL.ascx" />
|
||||
<Content Include="WebUserControls\mod_gestKIT.ascx" />
|
||||
<Content Include="WebUserControls\mod_gestPromODL.ascx" />
|
||||
<Content Include="WebUserControls\mod_gestPromODL_OUT.ascx" />
|
||||
<Content Include="WebUserControls\mod_login.ascx" />
|
||||
<Content Include="WebUserControls\mod_main_help.ascx" />
|
||||
<Content Include="WebUserControls\mod_menuBottom.ascx" />
|
||||
@@ -572,8 +646,8 @@
|
||||
<Content Include="WebUserControls\mod_newOdl.ascx" />
|
||||
<Content Include="WebUserControls\mod_newPromessaODL.ascx" />
|
||||
<Content Include="WebUserControls\mod_pageTitleAndSearch.ascx" />
|
||||
<Content Include="WebUserControls\mod_planCreate.ascx" />
|
||||
<Content Include="WebUserControls\mod_planStats.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planApprove.ascx" />
|
||||
<Content Include="WebUserControls\cmp_planStats.ascx" />
|
||||
<Content Include="WebUserControls\mod_ricercaGenerica.ascx" />
|
||||
<Content Include="WebUserControls\mod_storicoTC.ascx" />
|
||||
<Content Include="WebUserControls\mod_unauthorized.ascx" />
|
||||
@@ -593,18 +667,8 @@
|
||||
<Content Include="fonts\RobotoCondensed.woff" />
|
||||
<Content Include="images\semafori.xcf" />
|
||||
<Content Include="logs\PlaceHolder.file" />
|
||||
<Content Include="Content\bootstrap.min.css.map" />
|
||||
<Content Include="Content\bootstrap.css.map" />
|
||||
<Content Include="Content\bootstrap-reboot.min.css.map" />
|
||||
<Content Include="Content\bootstrap-reboot.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.min.css.map" />
|
||||
<Content Include="Content\bootstrap-grid.css.map" />
|
||||
<None Include="Properties\PublishProfiles\IIS01.pubxml" />
|
||||
<None Include="Properties\PublishProfiles\IIS02.pubxml" />
|
||||
<Content Include="Scripts\bootstrap.min.js.map" />
|
||||
<Content Include="Scripts\bootstrap.js.map" />
|
||||
<Content Include="Scripts\bootstrap.bundle.min.js.map" />
|
||||
<Content Include="Scripts\bootstrap.bundle.js.map" />
|
||||
<Content Include="Scripts\jquery-ui-1.12.1.js" />
|
||||
<Content Include="Scripts\jquery-ui-1.12.1.min.js" />
|
||||
<Content Include="Scripts\modernizr-2.8.3.js" />
|
||||
@@ -771,6 +835,13 @@
|
||||
<Compile Include="HwSwInfo.aspx.designer.cs">
|
||||
<DependentUpon>HwSwInfo.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="ImageArchive.aspx.cs">
|
||||
<DependentUpon>ImageArchive.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ImageArchive.aspx.designer.cs">
|
||||
<DependentUpon>ImageArchive.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="login.aspx.cs">
|
||||
<DependentUpon>login.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -800,6 +871,13 @@
|
||||
<Compile Include="StoricoTC.aspx.designer.cs">
|
||||
<DependentUpon>StoricoTC.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="TechSheetMan.aspx.cs">
|
||||
<DependentUpon>TechSheetMan.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="TechSheetMan.aspx.designer.cs">
|
||||
<DependentUpon>TechSheetMan.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="test.aspx.cs">
|
||||
<DependentUpon>test.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -814,6 +892,13 @@
|
||||
<Compile Include="testUtente.aspx.designer.cs">
|
||||
<DependentUpon>testUtente.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Vocabolario.aspx.cs">
|
||||
<DependentUpon>Vocabolario.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Vocabolario.aspx.designer.cs">
|
||||
<DependentUpon>Vocabolario.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebMasterPages\AjaxSimple.master.cs">
|
||||
<DependentUpon>AjaxSimple.master</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -842,6 +927,13 @@
|
||||
<Compile Include="WebMasterPages\MoonPro_noAjax.master.designer.cs">
|
||||
<DependentUpon>MoonPro_noAjax.master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_fileUpload.ascx.cs">
|
||||
<DependentUpon>cmp_fileUpload.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_fileUpload.ascx.designer.cs">
|
||||
<DependentUpon>cmp_fileUpload.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_HwSwInfo.ascx.cs">
|
||||
<DependentUpon>cmp_HwSwInfo.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -849,6 +941,20 @@
|
||||
<Compile Include="WebUserControls\cmp_HwSwInfo.ascx.designer.cs">
|
||||
<DependentUpon>cmp_HwSwInfo.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ImageArchive.ascx.cs">
|
||||
<DependentUpon>cmp_ImageArchive.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ImageArchive.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ImageArchive.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_lemmiVocab.ascx.cs">
|
||||
<DependentUpon>cmp_lemmiVocab.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_lemmiVocab.ascx.designer.cs">
|
||||
<DependentUpon>cmp_lemmiVocab.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_numRow.ascx.cs">
|
||||
<DependentUpon>cmp_numRow.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -856,6 +962,118 @@
|
||||
<Compile Include="WebUserControls\cmp_numRow.ascx.designer.cs">
|
||||
<DependentUpon>cmp_numRow.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planSchedule.ascx.cs">
|
||||
<DependentUpon>cmp_planSchedule.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planSchedule.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planSchedule.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Art.ascx.cs">
|
||||
<DependentUpon>cmp_planStats_Art.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Art.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats_Art.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Cli.ascx.cs">
|
||||
<DependentUpon>cmp_planStats_Cli.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Cli.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats_Cli.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Fasi.ascx.cs">
|
||||
<DependentUpon>cmp_planStats_Fasi.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Fasi.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats_Fasi.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Mac.ascx.cs">
|
||||
<DependentUpon>cmp_planStats_Mac.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_planStats_Mac.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats_Mac.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_PODL_OUT.ascx.cs">
|
||||
<DependentUpon>cmp_PODL_OUT.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_PODL_OUT.ascx.designer.cs">
|
||||
<DependentUpon>cmp_PODL_OUT.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ricercaGenerica.ascx.cs">
|
||||
<DependentUpon>cmp_ricercaGenerica.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ricercaGenerica.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ricercaGenerica.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_righePag.ascx.cs">
|
||||
<DependentUpon>cmp_righePag.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_righePag.ascx.designer.cs">
|
||||
<DependentUpon>cmp_righePag.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_detail.ascx.cs">
|
||||
<DependentUpon>cmp_ST_detail.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_detail.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ST_detail.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_objView.ascx.cs">
|
||||
<DependentUpon>cmp_ST_objView.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_objView.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ST_objView.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_preview.ascx.cs">
|
||||
<DependentUpon>cmp_ST_preview.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_ST_preview.ascx.designer.cs">
|
||||
<DependentUpon>cmp_ST_preview.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetArt.ascx.cs">
|
||||
<DependentUpon>cmp_TechSheetArt.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetArt.ascx.designer.cs">
|
||||
<DependentUpon>cmp_TechSheetArt.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetArtAddNew.ascx.cs">
|
||||
<DependentUpon>cmp_TechSheetArtAddNew.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetArtAddNew.ascx.designer.cs">
|
||||
<DependentUpon>cmp_TechSheetArtAddNew.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetDetail.ascx.cs">
|
||||
<DependentUpon>cmp_TechSheetDetail.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetDetail.ascx.designer.cs">
|
||||
<DependentUpon>cmp_TechSheetDetail.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetMan.ascx.cs">
|
||||
<DependentUpon>cmp_TechSheetMan.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_TechSheetMan.ascx.designer.cs">
|
||||
<DependentUpon>cmp_TechSheetMan.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_vocabolario.ascx.cs">
|
||||
<DependentUpon>cmp_vocabolario.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\cmp_vocabolario.ascx.designer.cs">
|
||||
<DependentUpon>cmp_vocabolario.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_anagArticoli.ascx.cs">
|
||||
<DependentUpon>mod_anagArticoli.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -940,13 +1158,6 @@
|
||||
<Compile Include="WebUserControls\mod_gestPromODL.ascx.designer.cs">
|
||||
<DependentUpon>mod_gestPromODL.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_gestPromODL_OUT.ascx.cs">
|
||||
<DependentUpon>mod_gestPromODL_OUT.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_gestPromODL_OUT.ascx.designer.cs">
|
||||
<DependentUpon>mod_gestPromODL_OUT.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_login.ascx.cs">
|
||||
<DependentUpon>mod_login.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1010,19 +1221,19 @@
|
||||
<Compile Include="WebUserControls\mod_pageTitleAndSearch.ascx.designer.cs">
|
||||
<DependentUpon>mod_pageTitleAndSearch.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planCreate.ascx.cs">
|
||||
<DependentUpon>mod_planCreate.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planApprove.ascx.cs">
|
||||
<DependentUpon>cmp_planApprove.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planCreate.ascx.designer.cs">
|
||||
<DependentUpon>mod_planCreate.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planApprove.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planApprove.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planStats.ascx.cs">
|
||||
<DependentUpon>mod_planStats.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planStats.ascx.cs">
|
||||
<DependentUpon>cmp_planStats.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_planStats.ascx.designer.cs">
|
||||
<DependentUpon>mod_planStats.ascx</DependentUpon>
|
||||
<Compile Include="WebUserControls\cmp_planStats.ascx.designer.cs">
|
||||
<DependentUpon>cmp_planStats.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_ricercaGenerica.ascx.cs">
|
||||
<DependentUpon>mod_ricercaGenerica.ascx</DependentUpon>
|
||||
@@ -1058,8 +1269,6 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<Content Include="Scripts\jquery-3.4.1.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.4.1.min.map" />
|
||||
<Content Include="Scripts\umd\popper.min.js.map" />
|
||||
<Content Include="Scripts\umd\popper.js.map" />
|
||||
<Content Include="Scripts\umd\popper.js.flow" />
|
||||
@@ -1070,6 +1279,8 @@
|
||||
<Content Include="Scripts\popper.js.map" />
|
||||
<Content Include="Scripts\popper-utils.min.js.map" />
|
||||
<Content Include="Scripts\popper-utils.js.map" />
|
||||
<Content Include="Scripts\jquery-3.6.0.slim.min.map" />
|
||||
<Content Include="Scripts\jquery-3.6.0.min.map" />
|
||||
<None Include="Web.Debug.config">
|
||||
<DependentUpon>Web.config</DependentUpon>
|
||||
</None>
|
||||
@@ -1102,6 +1313,10 @@
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="Scripts\index.d.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\analyzers\dotnet\cs\Microsoft.CodeAnalysis.CSharp.NetAnalyzers.dll" />
|
||||
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\analyzers\dotnet\cs\Microsoft.CodeAnalysis.NetAnalyzers.dll" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
@@ -1148,7 +1363,7 @@
|
||||
<AutoAssignPort>True</AutoAssignPort>
|
||||
<DevelopmentServerPort>5332</DevelopmentServerPort>
|
||||
<DevelopmentServerVPath>/</DevelopmentServerVPath>
|
||||
<IISUrl>http://localhost:5332/</IISUrl>
|
||||
<IISUrl>http://localhost:5333/</IISUrl>
|
||||
<NTLMAuthentication>False</NTLMAuthentication>
|
||||
<UseCustomServer>False</UseCustomServer>
|
||||
<CustomServerUrl>
|
||||
@@ -1164,11 +1379,14 @@
|
||||
<ErrorText>Questo progetto fa riferimento a uno o più pacchetti NuGet che non sono presenti in questo computer. Usare lo strumento di ripristino dei pacchetti NuGet per scaricarli. Per altre informazioni, vedere http://go.microsoft.com/fwlink/?LinkID=322105. Il file mancante è {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.props'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Libmongocrypt.1.2.1\build\MongoDB.Libmongocrypt.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Libmongocrypt.1.2.1\build\MongoDB.Libmongocrypt.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\MongoDB.Driver.Core.2.12.3\build\MongoDB.Driver.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MongoDB.Driver.Core.2.12.3\build\MongoDB.Driver.Core.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.Libmongocrypt.1.0.0\build\MongoDB.Libmongocrypt.targets')" />
|
||||
<Import Project="..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.11.2\build\MongoDB.Driver.Core.targets')" />
|
||||
<Import Project="..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.targets" Condition="Exists('..\packages\Microsoft.CodeAnalysis.NetAnalyzers.5.0.3\build\Microsoft.CodeAnalysis.NetAnalyzers.targets')" />
|
||||
<Import Project="..\packages\MongoDB.Libmongocrypt.1.2.1\build\MongoDB.Libmongocrypt.targets" Condition="Exists('..\packages\MongoDB.Libmongocrypt.1.2.1\build\MongoDB.Libmongocrypt.targets')" />
|
||||
<Import Project="..\packages\MongoDB.Driver.Core.2.12.3\build\MongoDB.Driver.Core.targets" Condition="Exists('..\packages\MongoDB.Driver.Core.2.12.3\build\MongoDB.Driver.Core.targets')" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
|
||||
+6
-29
@@ -1,37 +1,14 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="Planner.aspx.cs" Inherits="MP_ADM.Planner" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_barcode.ascx" TagPrefix="uc1" TagName="mod_barcode" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_planStats.ascx" TagPrefix="uc1" TagName="mod_planStats" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_planCreate.ascx" TagPrefix="uc1" TagName="mod_planCreate" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_gestPromODL_OUT.ascx" TagPrefix="uc1" TagName="mod_gestPromODL_OUT" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planStats.ascx" TagPrefix="uc1" TagName="cmp_planStats" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planApprove.ascx" TagPrefix="uc1" TagName="cmp_planApprove" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_planSchedule.ascx" TagPrefix="uc1" TagName="cmp_planSchedule" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<asp:Label runat="server" ID="lblDataImportOut" CssClass="text-danger" />
|
||||
<div runat="server" id="divContent">
|
||||
<uc1:mod_planStats runat="server" ID="mod_planStats" />
|
||||
<uc1:mod_planCreate runat="server" ID="mod_planCreate" />
|
||||
<div class="card">
|
||||
<div class="card-header bg-success text-light">
|
||||
<div class="d-flex justify-content-between">
|
||||
<div class="p-0 align-self-center">
|
||||
<h5>Pianificazione</h5>
|
||||
</div>
|
||||
<div class="p-0" style="font-size: 1.6em;">
|
||||
</div>
|
||||
<div class="p-0 align-self-center">
|
||||
<asp:LinkButton runat="server" ID="lbtToggle" OnClick="lbtToggle_Click" CssClass="btn btn-light"><i class="fa fa-chevron-up" aria-hidden="true" runat="server" id="tgIcon"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body p-1" runat="server" id="divPromOUT">
|
||||
<%-- <br />
|
||||
rivedere il discorso dei FREEPASS autogenerati... x filtrare x TIPO creazione
|
||||
<br />
|
||||
ordinare SEMPRE x priorità ASC (FIFO) e indicarlo!!!
|
||||
<br />
|
||||
togliere filtri da header e/o gestione toggle e/o nascondere creazione promessa?--%>
|
||||
<uc1:mod_gestPromODL_OUT runat="server" ID="mod_gestPromODL_OUT" />
|
||||
</div>
|
||||
</div>
|
||||
<uc1:cmp_planStats runat="server" ID="cmp_planStats" />
|
||||
<uc1:cmp_planApprove runat="server" ID="cmp_planApprove" />
|
||||
<uc1:cmp_planSchedule runat="server" id="cmp_planSchedule" />
|
||||
</div>
|
||||
</asp:Content>
|
||||
+73
-89
@@ -5,114 +5,98 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class Planner : BasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
toggleVisibility();
|
||||
}
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmKit_CodPre");
|
||||
mod_planStats.eh_reset += Mod_planStats_eh_reset;
|
||||
mod_planStats.eh_selVal += Mod_planStats_eh_selVal;
|
||||
mod_planCreate.eh_ucev += Mod_planCreate_eh_ucev;
|
||||
}
|
||||
|
||||
private void Mod_planCreate_eh_ucev(object sender, EventArgs e)
|
||||
{
|
||||
// se trovo evento select/reset mostro/nascondo dettagli...
|
||||
ucEvent evento = (ucEvent)e;
|
||||
switch (evento.tipoEvento)
|
||||
{
|
||||
case ucEvType.ReqUpdateParent:
|
||||
mod_planStats.doReset();
|
||||
mod_gestPromODL_OUT.resetSelezione();
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected void lbtToggle_Click(object sender, EventArgs e)
|
||||
{
|
||||
toggleVisibility();
|
||||
}
|
||||
|
||||
private void toggleVisibility()
|
||||
{
|
||||
divPromOUT.Visible = !divPromOUT.Visible;
|
||||
tgIcon.Attributes["class"] = divPromOUT.Visible ? "fa fa-chevron-up" : "fa fa-chevron-down";
|
||||
}
|
||||
|
||||
private void Mod_planStats_eh_selVal(object sender, EventArgs e)
|
||||
{
|
||||
fixSelStat();
|
||||
}
|
||||
|
||||
private void Mod_planStats_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
fixSelStat();
|
||||
}
|
||||
|
||||
protected void fixSelStat()
|
||||
{
|
||||
mod_planCreate.CodGruppo = mod_planStats.CodGruppo;
|
||||
mod_planCreate.IdxMacchina = mod_planStats.IdxMacchina;
|
||||
mod_planCreate.CodArticolo = mod_planStats.CodArticolo;
|
||||
mod_planCreate.doUpdate();
|
||||
}
|
||||
#region Private Methods
|
||||
|
||||
private void checkEnabled()
|
||||
{
|
||||
bool optPar = memLayer.ML.CRB("OptAdmKitEnabled");
|
||||
// FIXME TODO
|
||||
// !!! FARE!!! vera verifica licenza ES3 in AnagKeyValue...
|
||||
bool optPar = memLayer.ML.CRB("OptAdmPlanEnabled");
|
||||
divContent.Visible = optPar;
|
||||
lblDataImportOut.Visible = !optPar;
|
||||
string messaggio = "";
|
||||
if (!optPar)
|
||||
{
|
||||
messaggio = "Attenzione: Gestione KIT disabilitata";
|
||||
messaggio = "Attenzione: Gestione PLANNER disabilitata";
|
||||
lblDataImportOut.Text = messaggio;
|
||||
}
|
||||
}
|
||||
|
||||
private void Mod_gestKIT_eh_selKit(object sender, EventArgs e)
|
||||
private void checkFixPromIn()
|
||||
{
|
||||
#if false
|
||||
// invio ultimo kit creato a barcode...
|
||||
mod_barcode.BCodeVal = mod_gestKIT.lastKitMade;
|
||||
mod_barcode.processInput();
|
||||
#endif
|
||||
// chiama stored x riallineamento prom IN che fossero pending (-10) x chiudere SE processate tutte le prom a valle (promOut con idxODL > 0)
|
||||
DataLayerObj.taPromIn.updProc();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
private void Cmp_planApprove_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
// verifico input su KIT x lettura "grezza"
|
||||
string rawInput = mod_barcode.rawInput;
|
||||
mod_gestKIT.lastInput = rawInput;
|
||||
mod_gestKIT.doUpdate();
|
||||
#endif
|
||||
cmp_planStats.doUpdate();
|
||||
cmp_planSchedule.doUpdate();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_comandoRegistrato(object sender, EventArgs e)
|
||||
private void Cmp_planApprove_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
#if false
|
||||
// verifico input su KIT x comando completo
|
||||
string BCodeVal = mod_barcode.BCodeVal;
|
||||
// se è un ORDINE... procedo!
|
||||
if (BCodeVal.IndexOf("OPR") == 0)
|
||||
{
|
||||
// aggiungo ordine...
|
||||
mod_gestKIT.addOrdArt(mod_barcode.codOrd, mod_barcode.codArt, mod_barcode.descArt, mod_barcode.qta);
|
||||
mod_gestKIT.lastInput = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
mod_gestKIT.lastInput = mod_barcode.BCodeVal;
|
||||
}
|
||||
mod_gestKIT.doUpdate();
|
||||
#endif
|
||||
cmp_planStats.doReset();
|
||||
cmp_planSchedule.doReset();
|
||||
}
|
||||
|
||||
private void Cmp_planApprove_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
cmp_planStats.doReset();
|
||||
cmp_planSchedule.doReset();
|
||||
}
|
||||
|
||||
private void cmp_planSchedule_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
cmp_planStats.doUpdate();
|
||||
cmp_planApprove.doUpdate();
|
||||
}
|
||||
|
||||
private void cmp_planStats_eh_reset(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
private void cmp_planStats_eh_selVal(object sender, EventArgs e)
|
||||
{
|
||||
doRefreshChild();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void doRefreshChild()
|
||||
{
|
||||
cmp_planApprove.CodArticolo = cmp_planStats.CodArticolo;
|
||||
cmp_planApprove.CodCliente = cmp_planStats.CodCliente;
|
||||
cmp_planApprove.CodGruppo = cmp_planStats.CodFase;
|
||||
cmp_planApprove.IdxMacchina = cmp_planStats.IdxMacchina;
|
||||
cmp_planApprove.doUpdate();
|
||||
cmp_planSchedule.CodArticolo = cmp_planStats.CodArticolo;
|
||||
cmp_planSchedule.CodCliente = cmp_planStats.CodCliente;
|
||||
cmp_planSchedule.CodFase = cmp_planStats.CodFase;
|
||||
cmp_planSchedule.IdxMacchina = cmp_planStats.IdxMacchina;
|
||||
cmp_planSchedule.doUpdate();
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
checkFixPromIn();
|
||||
}
|
||||
checkEnabled();
|
||||
string codPre = memLayer.ML.CRS("OptAdmKit_CodPre");
|
||||
cmp_planStats.eh_reset += cmp_planStats_eh_reset;
|
||||
cmp_planStats.eh_selVal += cmp_planStats_eh_selVal;
|
||||
cmp_planApprove.eh_resetSelezione += Cmp_planApprove_eh_resetSelezione;
|
||||
cmp_planApprove.eh_selValore += Cmp_planApprove_eh_selValore;
|
||||
cmp_planApprove.eh_nuovoValore += Cmp_planApprove_eh_nuovoValore;
|
||||
cmp_planSchedule.eh_nuovoValore += cmp_planSchedule_eh_nuovoValore;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+17
-42
@@ -7,11 +7,13 @@
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM {
|
||||
|
||||
|
||||
public partial class Planner {
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class Planner
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblDataImportOut.
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace MP_ADM {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDataImportOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divContent.
|
||||
/// </summary>
|
||||
@@ -29,59 +31,32 @@ namespace MP_ADM {
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divContent;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_planStats.
|
||||
/// Controllo cmp_planStats.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.mod_planStats mod_planStats;
|
||||
|
||||
protected global::MP_ADM.WebUserControls.cmp_planStats cmp_planStats;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_planCreate.
|
||||
/// Controllo cmp_planApprove.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.mod_planCreate mod_planCreate;
|
||||
|
||||
protected global::MP_ADM.WebUserControls.cmp_planApprove cmp_planApprove;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtToggle.
|
||||
/// Controllo cmp_planSchedule.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtToggle;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo tgIcon.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl tgIcon;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divPromOUT.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divPromOUT;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_gestPromODL_OUT.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.mod_gestPromODL_OUT mod_gestPromODL_OUT;
|
||||
protected global::MP_ADM.WebUserControls.cmp_planSchedule cmp_planSchedule;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+6811
-6726
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+4
-4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+1112
-1069
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Vendored
+4
-4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+118
-109
@@ -1,15 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v3.5.1
|
||||
* jQuery JavaScript Library v3.6.0
|
||||
* https://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://jquery.org/license
|
||||
*
|
||||
* Date: 2020-05-04T22:49Z
|
||||
* Date: 2021-03-02T17:08Z
|
||||
*/
|
||||
( function( global, factory ) {
|
||||
|
||||
@@ -76,12 +76,16 @@ var support = {};
|
||||
|
||||
var isFunction = function isFunction( obj ) {
|
||||
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number";
|
||||
};
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
|
||||
// Plus for old WebKit, typeof returns "function" for HTML collections
|
||||
// (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number" &&
|
||||
typeof obj.item !== "function";
|
||||
};
|
||||
|
||||
|
||||
var isWindow = function isWindow( obj ) {
|
||||
@@ -147,7 +151,7 @@ function toType( obj ) {
|
||||
|
||||
|
||||
var
|
||||
version = "3.5.1",
|
||||
version = "3.6.0",
|
||||
|
||||
// Define a local copy of jQuery
|
||||
jQuery = function( selector, context ) {
|
||||
@@ -401,7 +405,7 @@ jQuery.extend( {
|
||||
if ( isArrayLike( Object( arr ) ) ) {
|
||||
jQuery.merge( ret,
|
||||
typeof arr === "string" ?
|
||||
[ arr ] : arr
|
||||
[ arr ] : arr
|
||||
);
|
||||
} else {
|
||||
push.call( ret, arr );
|
||||
@@ -496,9 +500,9 @@ if ( typeof Symbol === "function" ) {
|
||||
|
||||
// Populate the class2type map
|
||||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
|
||||
function( _i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
function( _i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
|
||||
function isArrayLike( obj ) {
|
||||
|
||||
@@ -518,14 +522,14 @@ function isArrayLike( obj ) {
|
||||
}
|
||||
var Sizzle =
|
||||
/*!
|
||||
* Sizzle CSS Selector Engine v2.3.5
|
||||
* Sizzle CSS Selector Engine v2.3.6
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://js.foundation/
|
||||
*
|
||||
* Date: 2020-03-14
|
||||
* Date: 2021-02-16
|
||||
*/
|
||||
( function( window ) {
|
||||
var i,
|
||||
@@ -1108,8 +1112,8 @@ support = Sizzle.support = {};
|
||||
* @returns {Boolean} True iff elem is a non-HTML XML node
|
||||
*/
|
||||
isXML = Sizzle.isXML = function( elem ) {
|
||||
var namespace = elem.namespaceURI,
|
||||
docElem = ( elem.ownerDocument || elem ).documentElement;
|
||||
var namespace = elem && elem.namespaceURI,
|
||||
docElem = elem && ( elem.ownerDocument || elem ).documentElement;
|
||||
|
||||
// Support: IE <=8
|
||||
// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
|
||||
@@ -3024,9 +3028,9 @@ var rneedsContext = jQuery.expr.match.needsContext;
|
||||
|
||||
function nodeName( elem, name ) {
|
||||
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
|
||||
};
|
||||
}
|
||||
var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
|
||||
|
||||
|
||||
@@ -3997,8 +4001,8 @@ jQuery.extend( {
|
||||
resolveContexts = Array( i ),
|
||||
resolveValues = slice.call( arguments ),
|
||||
|
||||
// the master Deferred
|
||||
master = jQuery.Deferred(),
|
||||
// the primary Deferred
|
||||
primary = jQuery.Deferred(),
|
||||
|
||||
// subordinate callback factory
|
||||
updateFunc = function( i ) {
|
||||
@@ -4006,30 +4010,30 @@ jQuery.extend( {
|
||||
resolveContexts[ i ] = this;
|
||||
resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
|
||||
if ( !( --remaining ) ) {
|
||||
master.resolveWith( resolveContexts, resolveValues );
|
||||
primary.resolveWith( resolveContexts, resolveValues );
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
// Single- and empty arguments are adopted like Promise.resolve
|
||||
if ( remaining <= 1 ) {
|
||||
adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
|
||||
adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,
|
||||
!remaining );
|
||||
|
||||
// Use .then() to unwrap secondary thenables (cf. gh-3000)
|
||||
if ( master.state() === "pending" ||
|
||||
if ( primary.state() === "pending" ||
|
||||
isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
|
||||
|
||||
return master.then();
|
||||
return primary.then();
|
||||
}
|
||||
}
|
||||
|
||||
// Multiple arguments are aggregated like Promise.all array elements
|
||||
while ( i-- ) {
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), master.reject );
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );
|
||||
}
|
||||
|
||||
return master.promise();
|
||||
return primary.promise();
|
||||
}
|
||||
} );
|
||||
|
||||
@@ -4180,8 +4184,8 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
||||
for ( ; i < len; i++ ) {
|
||||
fn(
|
||||
elems[ i ], key, raw ?
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -5089,10 +5093,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
|
||||
}
|
||||
|
||||
|
||||
var
|
||||
rkeyEvent = /^key/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
|
||||
rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
|
||||
function returnTrue() {
|
||||
return true;
|
||||
@@ -5387,8 +5388,8 @@ jQuery.event = {
|
||||
event = jQuery.event.fix( nativeEvent ),
|
||||
|
||||
handlers = (
|
||||
dataPriv.get( this, "events" ) || Object.create( null )
|
||||
)[ event.type ] || [],
|
||||
dataPriv.get( this, "events" ) || Object.create( null )
|
||||
)[ event.type ] || [],
|
||||
special = jQuery.event.special[ event.type ] || {};
|
||||
|
||||
// Use the fix-ed jQuery.Event rather than the (read-only) native event
|
||||
@@ -5512,12 +5513,12 @@ jQuery.event = {
|
||||
get: isFunction( hook ) ?
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return hook( this.originalEvent );
|
||||
return hook( this.originalEvent );
|
||||
}
|
||||
} :
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return this.originalEvent[ name ];
|
||||
return this.originalEvent[ name ];
|
||||
}
|
||||
},
|
||||
|
||||
@@ -5656,7 +5657,13 @@ function leverageNative( el, type, expectSync ) {
|
||||
// Cancel the outer synthetic event
|
||||
event.stopImmediatePropagation();
|
||||
event.preventDefault();
|
||||
return result.value;
|
||||
|
||||
// Support: Chrome 86+
|
||||
// In Chrome, if an element having a focusout handler is blurred by
|
||||
// clicking outside of it, it invokes the handler synchronously. If
|
||||
// that handler calls `.remove()` on the element, the data is cleared,
|
||||
// leaving `result` undefined. We need to guard against this.
|
||||
return result && result.value;
|
||||
}
|
||||
|
||||
// If this is an inner synthetic event for an event with a bubbling surrogate
|
||||
@@ -5821,34 +5828,7 @@ jQuery.each( {
|
||||
targetTouches: true,
|
||||
toElement: true,
|
||||
touches: true,
|
||||
|
||||
which: function( event ) {
|
||||
var button = event.button;
|
||||
|
||||
// Add which for key events
|
||||
if ( event.which == null && rkeyEvent.test( event.type ) ) {
|
||||
return event.charCode != null ? event.charCode : event.keyCode;
|
||||
}
|
||||
|
||||
// Add which for click: 1 === left; 2 === middle; 3 === right
|
||||
if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {
|
||||
if ( button & 1 ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( button & 2 ) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
if ( button & 4 ) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
return event.which;
|
||||
}
|
||||
which: true
|
||||
}, jQuery.event.addProp );
|
||||
|
||||
jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
|
||||
@@ -5874,6 +5854,12 @@ jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateTyp
|
||||
return true;
|
||||
},
|
||||
|
||||
// Suppress native focus or blur as it's already being fired
|
||||
// in leverageNative.
|
||||
_default: function() {
|
||||
return true;
|
||||
},
|
||||
|
||||
delegateType: delegateType
|
||||
};
|
||||
} );
|
||||
@@ -6541,6 +6527,10 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
|
||||
// set in CSS while `offset*` properties report correct values.
|
||||
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
||||
// some versions of this test; make sure not to make it pass there!
|
||||
//
|
||||
// Support: Firefox 70+
|
||||
// Only Firefox includes border widths
|
||||
// in computed dimensions. (gh-4529)
|
||||
reliableTrDimensions: function() {
|
||||
var table, tr, trChild, trStyle;
|
||||
if ( reliableTrDimensionsVal == null ) {
|
||||
@@ -6548,17 +6538,32 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
|
||||
tr = document.createElement( "tr" );
|
||||
trChild = document.createElement( "div" );
|
||||
|
||||
table.style.cssText = "position:absolute;left:-11111px";
|
||||
table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
|
||||
tr.style.cssText = "border:1px solid";
|
||||
|
||||
// Support: Chrome 86+
|
||||
// Height set through cssText does not get applied.
|
||||
// Computed height then comes back as 0.
|
||||
tr.style.height = "1px";
|
||||
trChild.style.height = "9px";
|
||||
|
||||
// Support: Android 8 Chrome 86+
|
||||
// In our bodyBackground.html iframe,
|
||||
// display for all div elements is set to "inline",
|
||||
// which causes a problem only in Android 8 Chrome 86.
|
||||
// Ensuring the div is display: block
|
||||
// gets around this issue.
|
||||
trChild.style.display = "block";
|
||||
|
||||
documentElement
|
||||
.appendChild( table )
|
||||
.appendChild( tr )
|
||||
.appendChild( trChild );
|
||||
|
||||
trStyle = window.getComputedStyle( tr );
|
||||
reliableTrDimensionsVal = parseInt( trStyle.height ) > 3;
|
||||
reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +
|
||||
parseInt( trStyle.borderTopWidth, 10 ) +
|
||||
parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;
|
||||
|
||||
documentElement.removeChild( table );
|
||||
}
|
||||
@@ -7022,10 +7027,10 @@ jQuery.each( [ "height", "width" ], function( _i, dimension ) {
|
||||
// Running getBoundingClientRect on a disconnected node
|
||||
// in IE throws an error.
|
||||
( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7084,7 +7089,7 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
|
||||
swap( elem, { marginLeft: 0 }, function() {
|
||||
return elem.getBoundingClientRect().left;
|
||||
} )
|
||||
) + "px";
|
||||
) + "px";
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -7223,7 +7228,7 @@ Tween.propHooks = {
|
||||
if ( jQuery.fx.step[ tween.prop ] ) {
|
||||
jQuery.fx.step[ tween.prop ]( tween );
|
||||
} else if ( tween.elem.nodeType === 1 && (
|
||||
jQuery.cssHooks[ tween.prop ] ||
|
||||
jQuery.cssHooks[ tween.prop ] ||
|
||||
tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {
|
||||
jQuery.style( tween.elem, tween.prop, tween.now + tween.unit );
|
||||
} else {
|
||||
@@ -7468,7 +7473,7 @@ function defaultPrefilter( elem, props, opts ) {
|
||||
|
||||
anim.done( function() {
|
||||
|
||||
/* eslint-enable no-loop-func */
|
||||
/* eslint-enable no-loop-func */
|
||||
|
||||
// The final step of a "hide" animation is actually hiding the element
|
||||
if ( !hidden ) {
|
||||
@@ -7588,7 +7593,7 @@ function Animation( elem, properties, options ) {
|
||||
tweens: [],
|
||||
createTween: function( prop, end ) {
|
||||
var tween = jQuery.Tween( elem, animation.opts, prop, end,
|
||||
animation.opts.specialEasing[ prop ] || animation.opts.easing );
|
||||
animation.opts.specialEasing[ prop ] || animation.opts.easing );
|
||||
animation.tweens.push( tween );
|
||||
return tween;
|
||||
},
|
||||
@@ -7761,7 +7766,8 @@ jQuery.fn.extend( {
|
||||
anim.stop( true );
|
||||
}
|
||||
};
|
||||
doAnimation.finish = doAnimation;
|
||||
|
||||
doAnimation.finish = doAnimation;
|
||||
|
||||
return empty || optall.queue === false ?
|
||||
this.each( doAnimation ) :
|
||||
@@ -8401,8 +8407,8 @@ jQuery.fn.extend( {
|
||||
if ( this.setAttribute ) {
|
||||
this.setAttribute( "class",
|
||||
className || value === false ?
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8417,7 +8423,7 @@ jQuery.fn.extend( {
|
||||
while ( ( elem = this[ i++ ] ) ) {
|
||||
if ( elem.nodeType === 1 &&
|
||||
( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8707,9 +8713,7 @@ jQuery.extend( jQuery.event, {
|
||||
special.bindType || type;
|
||||
|
||||
// jQuery handler
|
||||
handle = (
|
||||
dataPriv.get( cur, "events" ) || Object.create( null )
|
||||
)[ event.type ] &&
|
||||
handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] &&
|
||||
dataPriv.get( cur, "handle" );
|
||||
if ( handle ) {
|
||||
handle.apply( cur, data );
|
||||
@@ -8856,7 +8860,7 @@ var rquery = ( /\?/ );
|
||||
|
||||
// Cross-browser xml parsing
|
||||
jQuery.parseXML = function( data ) {
|
||||
var xml;
|
||||
var xml, parserErrorElem;
|
||||
if ( !data || typeof data !== "string" ) {
|
||||
return null;
|
||||
}
|
||||
@@ -8865,12 +8869,17 @@ jQuery.parseXML = function( data ) {
|
||||
// IE throws on parseFromString with invalid input.
|
||||
try {
|
||||
xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
|
||||
} catch ( e ) {
|
||||
xml = undefined;
|
||||
}
|
||||
} catch ( e ) {}
|
||||
|
||||
if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
|
||||
jQuery.error( "Invalid XML: " + data );
|
||||
parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
|
||||
if ( !xml || parserErrorElem ) {
|
||||
jQuery.error( "Invalid XML: " + (
|
||||
parserErrorElem ?
|
||||
jQuery.map( parserErrorElem.childNodes, function( el ) {
|
||||
return el.textContent;
|
||||
} ).join( "\n" ) :
|
||||
data
|
||||
) );
|
||||
}
|
||||
return xml;
|
||||
};
|
||||
@@ -8971,16 +8980,14 @@ jQuery.fn.extend( {
|
||||
// Can add propHook for "elements" to filter or add form elements
|
||||
var elements = jQuery.prop( this, "elements" );
|
||||
return elements ? jQuery.makeArray( elements ) : this;
|
||||
} )
|
||||
.filter( function() {
|
||||
} ).filter( function() {
|
||||
var type = this.type;
|
||||
|
||||
// Use .is( ":disabled" ) so that fieldset[disabled] works
|
||||
return this.name && !jQuery( this ).is( ":disabled" ) &&
|
||||
rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
|
||||
( this.checked || !rcheckableType.test( type ) );
|
||||
} )
|
||||
.map( function( _i, elem ) {
|
||||
} ).map( function( _i, elem ) {
|
||||
var val = jQuery( this ).val();
|
||||
|
||||
if ( val == null ) {
|
||||
@@ -9033,7 +9040,8 @@ var
|
||||
|
||||
// Anchor tag for parsing the document origin
|
||||
originAnchor = document.createElement( "a" );
|
||||
originAnchor.href = location.href;
|
||||
|
||||
originAnchor.href = location.href;
|
||||
|
||||
// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport
|
||||
function addToPrefiltersOrTransports( structure ) {
|
||||
@@ -9414,8 +9422,8 @@ jQuery.extend( {
|
||||
// Context for global events is callbackContext if it is a DOM node or jQuery collection
|
||||
globalEventContext = s.context &&
|
||||
( callbackContext.nodeType || callbackContext.jquery ) ?
|
||||
jQuery( callbackContext ) :
|
||||
jQuery.event,
|
||||
jQuery( callbackContext ) :
|
||||
jQuery.event,
|
||||
|
||||
// Deferreds
|
||||
deferred = jQuery.Deferred(),
|
||||
@@ -9727,8 +9735,10 @@ jQuery.extend( {
|
||||
response = ajaxHandleResponses( s, jqXHR, responses );
|
||||
}
|
||||
|
||||
// Use a noop converter for missing script
|
||||
if ( !isSuccess && jQuery.inArray( "script", s.dataTypes ) > -1 ) {
|
||||
// Use a noop converter for missing script but not if jsonp
|
||||
if ( !isSuccess &&
|
||||
jQuery.inArray( "script", s.dataTypes ) > -1 &&
|
||||
jQuery.inArray( "json", s.dataTypes ) < 0 ) {
|
||||
s.converters[ "text script" ] = function() {};
|
||||
}
|
||||
|
||||
@@ -10466,12 +10476,6 @@ jQuery.offset = {
|
||||
options.using.call( elem, props );
|
||||
|
||||
} else {
|
||||
if ( typeof props.top === "number" ) {
|
||||
props.top += "px";
|
||||
}
|
||||
if ( typeof props.left === "number" ) {
|
||||
props.left += "px";
|
||||
}
|
||||
curElem.css( props );
|
||||
}
|
||||
}
|
||||
@@ -10640,8 +10644,11 @@ jQuery.each( [ "top", "left" ], function( _i, prop ) {
|
||||
|
||||
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
|
||||
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
||||
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },
|
||||
function( defaultExtra, funcName ) {
|
||||
jQuery.each( {
|
||||
padding: "inner" + name,
|
||||
content: type,
|
||||
"": "outer" + name
|
||||
}, function( defaultExtra, funcName ) {
|
||||
|
||||
// Margin is only for outerHeight, outerWidth
|
||||
jQuery.fn[ funcName ] = function( margin, value ) {
|
||||
@@ -10726,7 +10733,8 @@ jQuery.fn.extend( {
|
||||
}
|
||||
} );
|
||||
|
||||
jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
jQuery.each(
|
||||
( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
||||
function( _i, name ) {
|
||||
@@ -10737,7 +10745,8 @@ jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
} );
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
Vendored
+2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,15 +1,15 @@
|
||||
/*!
|
||||
* jQuery JavaScript Library v3.5.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector
|
||||
* jQuery JavaScript Library v3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector
|
||||
* https://jquery.com/
|
||||
*
|
||||
* Includes Sizzle.js
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Copyright OpenJS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://jquery.org/license
|
||||
*
|
||||
* Date: 2020-05-04T22:49Z
|
||||
* Date: 2021-03-02T17:08Z
|
||||
*/
|
||||
( function( global, factory ) {
|
||||
|
||||
@@ -76,12 +76,16 @@ var support = {};
|
||||
|
||||
var isFunction = function isFunction( obj ) {
|
||||
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number";
|
||||
};
|
||||
// Support: Chrome <=57, Firefox <=52
|
||||
// In some browsers, typeof returns "function" for HTML <object> elements
|
||||
// (i.e., `typeof document.createElement( "object" ) === "function"`).
|
||||
// We don't want to classify *any* DOM node as a function.
|
||||
// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5
|
||||
// Plus for old WebKit, typeof returns "function" for HTML collections
|
||||
// (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756)
|
||||
return typeof obj === "function" && typeof obj.nodeType !== "number" &&
|
||||
typeof obj.item !== "function";
|
||||
};
|
||||
|
||||
|
||||
var isWindow = function isWindow( obj ) {
|
||||
@@ -147,7 +151,7 @@ function toType( obj ) {
|
||||
|
||||
|
||||
var
|
||||
version = "3.5.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",
|
||||
version = "3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",
|
||||
|
||||
// Define a local copy of jQuery
|
||||
jQuery = function( selector, context ) {
|
||||
@@ -401,7 +405,7 @@ jQuery.extend( {
|
||||
if ( isArrayLike( Object( arr ) ) ) {
|
||||
jQuery.merge( ret,
|
||||
typeof arr === "string" ?
|
||||
[ arr ] : arr
|
||||
[ arr ] : arr
|
||||
);
|
||||
} else {
|
||||
push.call( ret, arr );
|
||||
@@ -496,9 +500,9 @@ if ( typeof Symbol === "function" ) {
|
||||
|
||||
// Populate the class2type map
|
||||
jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ),
|
||||
function( _i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
function( _i, name ) {
|
||||
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
||||
} );
|
||||
|
||||
function isArrayLike( obj ) {
|
||||
|
||||
@@ -518,14 +522,14 @@ function isArrayLike( obj ) {
|
||||
}
|
||||
var Sizzle =
|
||||
/*!
|
||||
* Sizzle CSS Selector Engine v2.3.5
|
||||
* Sizzle CSS Selector Engine v2.3.6
|
||||
* https://sizzlejs.com/
|
||||
*
|
||||
* Copyright JS Foundation and other contributors
|
||||
* Released under the MIT license
|
||||
* https://js.foundation/
|
||||
*
|
||||
* Date: 2020-03-14
|
||||
* Date: 2021-02-16
|
||||
*/
|
||||
( function( window ) {
|
||||
var i,
|
||||
@@ -1108,8 +1112,8 @@ support = Sizzle.support = {};
|
||||
* @returns {Boolean} True iff elem is a non-HTML XML node
|
||||
*/
|
||||
isXML = Sizzle.isXML = function( elem ) {
|
||||
var namespace = elem.namespaceURI,
|
||||
docElem = ( elem.ownerDocument || elem ).documentElement;
|
||||
var namespace = elem && elem.namespaceURI,
|
||||
docElem = elem && ( elem.ownerDocument || elem ).documentElement;
|
||||
|
||||
// Support: IE <=8
|
||||
// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes
|
||||
@@ -3024,9 +3028,9 @@ var rneedsContext = jQuery.expr.match.needsContext;
|
||||
|
||||
function nodeName( elem, name ) {
|
||||
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
||||
|
||||
};
|
||||
}
|
||||
var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
|
||||
|
||||
|
||||
@@ -3997,8 +4001,8 @@ jQuery.extend( {
|
||||
resolveContexts = Array( i ),
|
||||
resolveValues = slice.call( arguments ),
|
||||
|
||||
// the master Deferred
|
||||
master = jQuery.Deferred(),
|
||||
// the primary Deferred
|
||||
primary = jQuery.Deferred(),
|
||||
|
||||
// subordinate callback factory
|
||||
updateFunc = function( i ) {
|
||||
@@ -4006,30 +4010,30 @@ jQuery.extend( {
|
||||
resolveContexts[ i ] = this;
|
||||
resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;
|
||||
if ( !( --remaining ) ) {
|
||||
master.resolveWith( resolveContexts, resolveValues );
|
||||
primary.resolveWith( resolveContexts, resolveValues );
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
// Single- and empty arguments are adopted like Promise.resolve
|
||||
if ( remaining <= 1 ) {
|
||||
adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
|
||||
adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,
|
||||
!remaining );
|
||||
|
||||
// Use .then() to unwrap secondary thenables (cf. gh-3000)
|
||||
if ( master.state() === "pending" ||
|
||||
if ( primary.state() === "pending" ||
|
||||
isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {
|
||||
|
||||
return master.then();
|
||||
return primary.then();
|
||||
}
|
||||
}
|
||||
|
||||
// Multiple arguments are aggregated like Promise.all array elements
|
||||
while ( i-- ) {
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), master.reject );
|
||||
adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );
|
||||
}
|
||||
|
||||
return master.promise();
|
||||
return primary.promise();
|
||||
}
|
||||
} );
|
||||
|
||||
@@ -4180,8 +4184,8 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
||||
for ( ; i < len; i++ ) {
|
||||
fn(
|
||||
elems[ i ], key, raw ?
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
value :
|
||||
value.call( elems[ i ], i, fn( elems[ i ], key ) )
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -5089,10 +5093,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
|
||||
}
|
||||
|
||||
|
||||
var
|
||||
rkeyEvent = /^key/,
|
||||
rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
|
||||
rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
var rtypenamespace = /^([^.]*)(?:\.(.+)|)/;
|
||||
|
||||
function returnTrue() {
|
||||
return true;
|
||||
@@ -5387,8 +5388,8 @@ jQuery.event = {
|
||||
event = jQuery.event.fix( nativeEvent ),
|
||||
|
||||
handlers = (
|
||||
dataPriv.get( this, "events" ) || Object.create( null )
|
||||
)[ event.type ] || [],
|
||||
dataPriv.get( this, "events" ) || Object.create( null )
|
||||
)[ event.type ] || [],
|
||||
special = jQuery.event.special[ event.type ] || {};
|
||||
|
||||
// Use the fix-ed jQuery.Event rather than the (read-only) native event
|
||||
@@ -5512,12 +5513,12 @@ jQuery.event = {
|
||||
get: isFunction( hook ) ?
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return hook( this.originalEvent );
|
||||
return hook( this.originalEvent );
|
||||
}
|
||||
} :
|
||||
function() {
|
||||
if ( this.originalEvent ) {
|
||||
return this.originalEvent[ name ];
|
||||
return this.originalEvent[ name ];
|
||||
}
|
||||
},
|
||||
|
||||
@@ -5656,7 +5657,13 @@ function leverageNative( el, type, expectSync ) {
|
||||
// Cancel the outer synthetic event
|
||||
event.stopImmediatePropagation();
|
||||
event.preventDefault();
|
||||
return result.value;
|
||||
|
||||
// Support: Chrome 86+
|
||||
// In Chrome, if an element having a focusout handler is blurred by
|
||||
// clicking outside of it, it invokes the handler synchronously. If
|
||||
// that handler calls `.remove()` on the element, the data is cleared,
|
||||
// leaving `result` undefined. We need to guard against this.
|
||||
return result && result.value;
|
||||
}
|
||||
|
||||
// If this is an inner synthetic event for an event with a bubbling surrogate
|
||||
@@ -5821,34 +5828,7 @@ jQuery.each( {
|
||||
targetTouches: true,
|
||||
toElement: true,
|
||||
touches: true,
|
||||
|
||||
which: function( event ) {
|
||||
var button = event.button;
|
||||
|
||||
// Add which for key events
|
||||
if ( event.which == null && rkeyEvent.test( event.type ) ) {
|
||||
return event.charCode != null ? event.charCode : event.keyCode;
|
||||
}
|
||||
|
||||
// Add which for click: 1 === left; 2 === middle; 3 === right
|
||||
if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {
|
||||
if ( button & 1 ) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ( button & 2 ) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
if ( button & 4 ) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
return event.which;
|
||||
}
|
||||
which: true
|
||||
}, jQuery.event.addProp );
|
||||
|
||||
jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) {
|
||||
@@ -5874,6 +5854,12 @@ jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateTyp
|
||||
return true;
|
||||
},
|
||||
|
||||
// Suppress native focus or blur as it's already being fired
|
||||
// in leverageNative.
|
||||
_default: function() {
|
||||
return true;
|
||||
},
|
||||
|
||||
delegateType: delegateType
|
||||
};
|
||||
} );
|
||||
@@ -6541,6 +6527,10 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
|
||||
// set in CSS while `offset*` properties report correct values.
|
||||
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
||||
// some versions of this test; make sure not to make it pass there!
|
||||
//
|
||||
// Support: Firefox 70+
|
||||
// Only Firefox includes border widths
|
||||
// in computed dimensions. (gh-4529)
|
||||
reliableTrDimensions: function() {
|
||||
var table, tr, trChild, trStyle;
|
||||
if ( reliableTrDimensionsVal == null ) {
|
||||
@@ -6548,17 +6538,32 @@ var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" );
|
||||
tr = document.createElement( "tr" );
|
||||
trChild = document.createElement( "div" );
|
||||
|
||||
table.style.cssText = "position:absolute;left:-11111px";
|
||||
table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate";
|
||||
tr.style.cssText = "border:1px solid";
|
||||
|
||||
// Support: Chrome 86+
|
||||
// Height set through cssText does not get applied.
|
||||
// Computed height then comes back as 0.
|
||||
tr.style.height = "1px";
|
||||
trChild.style.height = "9px";
|
||||
|
||||
// Support: Android 8 Chrome 86+
|
||||
// In our bodyBackground.html iframe,
|
||||
// display for all div elements is set to "inline",
|
||||
// which causes a problem only in Android 8 Chrome 86.
|
||||
// Ensuring the div is display: block
|
||||
// gets around this issue.
|
||||
trChild.style.display = "block";
|
||||
|
||||
documentElement
|
||||
.appendChild( table )
|
||||
.appendChild( tr )
|
||||
.appendChild( trChild );
|
||||
|
||||
trStyle = window.getComputedStyle( tr );
|
||||
reliableTrDimensionsVal = parseInt( trStyle.height ) > 3;
|
||||
reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +
|
||||
parseInt( trStyle.borderTopWidth, 10 ) +
|
||||
parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;
|
||||
|
||||
documentElement.removeChild( table );
|
||||
}
|
||||
@@ -7022,10 +7027,10 @@ jQuery.each( [ "height", "width" ], function( _i, dimension ) {
|
||||
// Running getBoundingClientRect on a disconnected node
|
||||
// in IE throws an error.
|
||||
( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
swap( elem, cssShow, function() {
|
||||
return getWidthOrHeight( elem, dimension, extra );
|
||||
} ) :
|
||||
getWidthOrHeight( elem, dimension, extra );
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7084,7 +7089,7 @@ jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,
|
||||
swap( elem, { marginLeft: 0 }, function() {
|
||||
return elem.getBoundingClientRect().left;
|
||||
} )
|
||||
) + "px";
|
||||
) + "px";
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -7608,8 +7613,8 @@ jQuery.fn.extend( {
|
||||
if ( this.setAttribute ) {
|
||||
this.setAttribute( "class",
|
||||
className || value === false ?
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
"" :
|
||||
dataPriv.get( this, "__className__" ) || ""
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7624,7 +7629,7 @@ jQuery.fn.extend( {
|
||||
while ( ( elem = this[ i++ ] ) ) {
|
||||
if ( elem.nodeType === 1 &&
|
||||
( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7914,9 +7919,7 @@ jQuery.extend( jQuery.event, {
|
||||
special.bindType || type;
|
||||
|
||||
// jQuery handler
|
||||
handle = (
|
||||
dataPriv.get( cur, "events" ) || Object.create( null )
|
||||
)[ event.type ] &&
|
||||
handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] &&
|
||||
dataPriv.get( cur, "handle" );
|
||||
if ( handle ) {
|
||||
handle.apply( cur, data );
|
||||
@@ -8057,7 +8060,7 @@ if ( !support.focusin ) {
|
||||
|
||||
// Cross-browser xml parsing
|
||||
jQuery.parseXML = function( data ) {
|
||||
var xml;
|
||||
var xml, parserErrorElem;
|
||||
if ( !data || typeof data !== "string" ) {
|
||||
return null;
|
||||
}
|
||||
@@ -8066,12 +8069,17 @@ jQuery.parseXML = function( data ) {
|
||||
// IE throws on parseFromString with invalid input.
|
||||
try {
|
||||
xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" );
|
||||
} catch ( e ) {
|
||||
xml = undefined;
|
||||
}
|
||||
} catch ( e ) {}
|
||||
|
||||
if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) {
|
||||
jQuery.error( "Invalid XML: " + data );
|
||||
parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ];
|
||||
if ( !xml || parserErrorElem ) {
|
||||
jQuery.error( "Invalid XML: " + (
|
||||
parserErrorElem ?
|
||||
jQuery.map( parserErrorElem.childNodes, function( el ) {
|
||||
return el.textContent;
|
||||
} ).join( "\n" ) :
|
||||
data
|
||||
) );
|
||||
}
|
||||
return xml;
|
||||
};
|
||||
@@ -8172,16 +8180,14 @@ jQuery.fn.extend( {
|
||||
// Can add propHook for "elements" to filter or add form elements
|
||||
var elements = jQuery.prop( this, "elements" );
|
||||
return elements ? jQuery.makeArray( elements ) : this;
|
||||
} )
|
||||
.filter( function() {
|
||||
} ).filter( function() {
|
||||
var type = this.type;
|
||||
|
||||
// Use .is( ":disabled" ) so that fieldset[disabled] works
|
||||
return this.name && !jQuery( this ).is( ":disabled" ) &&
|
||||
rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&
|
||||
( this.checked || !rcheckableType.test( type ) );
|
||||
} )
|
||||
.map( function( _i, elem ) {
|
||||
} ).map( function( _i, elem ) {
|
||||
var val = jQuery( this ).val();
|
||||
|
||||
if ( val == null ) {
|
||||
@@ -8387,12 +8393,6 @@ jQuery.offset = {
|
||||
options.using.call( elem, props );
|
||||
|
||||
} else {
|
||||
if ( typeof props.top === "number" ) {
|
||||
props.top += "px";
|
||||
}
|
||||
if ( typeof props.left === "number" ) {
|
||||
props.left += "px";
|
||||
}
|
||||
curElem.css( props );
|
||||
}
|
||||
}
|
||||
@@ -8561,8 +8561,11 @@ jQuery.each( [ "top", "left" ], function( _i, prop ) {
|
||||
|
||||
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
|
||||
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
|
||||
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },
|
||||
function( defaultExtra, funcName ) {
|
||||
jQuery.each( {
|
||||
padding: "inner" + name,
|
||||
content: type,
|
||||
"": "outer" + name
|
||||
}, function( defaultExtra, funcName ) {
|
||||
|
||||
// Margin is only for outerHeight, outerWidth
|
||||
jQuery.fn[ funcName ] = function( margin, value ) {
|
||||
@@ -8631,7 +8634,8 @@ jQuery.fn.extend( {
|
||||
}
|
||||
} );
|
||||
|
||||
jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
jQuery.each(
|
||||
( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
||||
function( _i, name ) {
|
||||
@@ -8642,7 +8646,8 @@ jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
} );
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
+2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -4,8 +4,16 @@ namespace MP_ADM
|
||||
{
|
||||
public partial class StoricoTC : BasePage
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="TechSheetMan.aspx.cs" Inherits="MP_ADM.TechSheetMan" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_TechSheetMan.ascx" TagPrefix="uc1" TagName="cmp_TechSheetMan" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:cmp_TechSheetMan runat="server" id="cmp_TechSheetMan" />
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class TechSheetMan : System.Web.UI.Page
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class TechSheetMan
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_TechSheetMan.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_TechSheetMan cmp_TechSheetMan;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/MoonPro.master" AutoEventWireup="true" CodeBehind="Vocabolario.aspx.cs" Inherits="MP_ADM.Vocabolario" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_lemmiVocab.ascx" TagName="cmp_lemmiVocab" TagPrefix="uc2" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/cmp_righePag.ascx" TagName="cmp_righePag" TagPrefix="uc3" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ricercaGenerica.ascx" TagPrefix="uc4" TagName="cmp_ricercaGenerica" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_vocabolario.ascx" TagPrefix="uc2" TagName="cmp_vocabolario" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<div class="card text-center" style="width: 100%;">
|
||||
<h3 class="card-header"><%: traduci("Vocabolario") %></h3>
|
||||
<div class="card-body py-1">
|
||||
<div class="container-fluid" style="background-color: #cdcdcd; padding-top: 2px; padding-bottom: 2px;">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-2">
|
||||
</div>
|
||||
<div class="col-8 text-center">
|
||||
<uc4:cmp_ricercaGenerica runat="server" ID="cmp_ricercaGenerica" />
|
||||
</div>
|
||||
<div class="col-2 text-right">
|
||||
<uc3:cmp_righePag runat="server" ID="cmp_righePag" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid" style="padding-top: 2px; padding-bottom: 2px;">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-8">
|
||||
<uc2:cmp_vocabolario runat="server" ID="cmp_vocabolario" />
|
||||
</div>
|
||||
<div class="col-4 pt-4">
|
||||
<uc2:cmp_lemmiVocab runat="server" ID="cmp_lemmiVocab" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM
|
||||
{
|
||||
public partial class Vocabolario : BasePage
|
||||
{
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// aggiornato numero righe datagrid... aggiorno visualizzazione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void cmp_righePag_eh_newNum(object sender, EventArgs e)
|
||||
{
|
||||
cmp_vocabolario.pageSize = cmp_righePag.numRowPag;
|
||||
}
|
||||
|
||||
private void cmp_vocabolario_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
cmp_lemmiVocab.Visible = false;
|
||||
Session.Remove("lemma_sel");
|
||||
}
|
||||
|
||||
private void cmp_vocabolario_eh_selezioneValore(object sender, EventArgs e)
|
||||
{
|
||||
cmp_lemmiVocab.Visible = true;
|
||||
cmp_lemmiVocab.doUpdate();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected override void OnUnload(EventArgs e)
|
||||
{
|
||||
base.OnUnload(e);
|
||||
cmp_vocabolario.eh_selezioneValore -= new EventHandler(cmp_vocabolario_eh_selezioneValore);
|
||||
cmp_vocabolario.eh_resetSelezione -= new EventHandler(cmp_vocabolario_eh_resetSelezione);
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
((MoonPro)this.Master).showSearch = false;
|
||||
cmp_righePag.numRowPag = 10;
|
||||
cmp_vocabolario.pageSize = cmp_righePag.numRowPag;
|
||||
}
|
||||
// imposto controlli eventi
|
||||
cmp_vocabolario.eh_selezioneValore += new EventHandler(cmp_vocabolario_eh_selezioneValore);
|
||||
cmp_vocabolario.eh_resetSelezione += new EventHandler(cmp_vocabolario_eh_resetSelezione);
|
||||
// setto visibilità dettaglio termini
|
||||
cmp_lemmiVocab.Visible = false;
|
||||
cmp_righePag.eh_newNum += cmp_righePag_eh_newNum;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
Generated
+53
@@ -0,0 +1,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_ADM
|
||||
{
|
||||
|
||||
|
||||
public partial class Vocabolario
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// cmp_ricercaGenerica control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_ricercaGenerica cmp_ricercaGenerica;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_righePag control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_righePag cmp_righePag;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_vocabolario control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_vocabolario cmp_vocabolario;
|
||||
|
||||
/// <summary>
|
||||
/// cmp_lemmiVocab control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_lemmiVocab cmp_lemmiVocab;
|
||||
}
|
||||
}
|
||||
+246
-39
@@ -28,6 +28,7 @@
|
||||
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionStringIS" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_Jetco;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionStringArca" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_EdilChim;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="MoonProConnectionStringES3" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_ES3;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=MoonPro_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
|
||||
@@ -39,6 +40,7 @@
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_IS_ConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=MoonPro_IS_ColCom;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.C_TRACKConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
<add name="MapoDb.Properties.Settings.MoonPro_ES3ConnectionString" connectionString="Data Source=sql2016dev;Initial Catalog=MoonPro_ES3;Persist Security Info=True;User ID=sa;Password=keyhammer16" providerName="System.Data.SqlClient" />
|
||||
<add name="ErrorLog" connectionString="Data Source=SQL2016DEV;Initial Catalog=Elmah;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<system.web>
|
||||
<compilation debug="true" targetFramework="4.6.2" />
|
||||
@@ -67,6 +69,238 @@
|
||||
</system.web>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Xml.XmlSerializer" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Xml.XDocument" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="CC7B13FFCD2DDD51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Timer" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Parallel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Overlapped" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.RegularExpressions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encoding.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encoding" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Security.SecureString" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Security.Principal" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Security.Cryptography.Algorithms" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.3.0.0" newVersion="4.3.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Serialization.Xml" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.3.0" newVersion="4.1.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Serialization.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Serialization.Json" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Numerics" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.InteropServices" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Resources.ResourceManager" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Reflection" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ObjectModel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Sockets" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Requests" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Primitives" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.NetworkInformation" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Http" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Linq.Queryable" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Linq.Parallel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Linq.Expressions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Linq" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="B77A5C561934E089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Globalization.Extensions" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Globalization" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Dynamic.Runtime" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Diagnostics.Tracing" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Diagnostics.Tools" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Diagnostics.Debug" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Diagnostics.Contracts" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Data.Common" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ComponentModel.EventBasedAsync" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ComponentModel" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Collections.Concurrent" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.11.0" newVersion="4.0.11.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="B03F5F7F11D50A3A" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Security.Cryptography.Pkcs" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.28.2.0" newVersion="0.28.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.1" newVersion="5.0.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
||||
@@ -77,47 +311,23 @@
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="DnsClient" publicKeyToken="4574bb5573c51424" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.3.2.0" newVersion="1.3.2.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="SharpCompress" publicKeyToken="afb0a02973931d96" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-0.26.0.0" newVersion="0.26.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.1.3" newVersion="4.1.1.3" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.3.2.10" newVersion="1.3.2.10" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.webServer>
|
||||
<staticContent>
|
||||
<remove fileExtension=".woff" />
|
||||
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
|
||||
<remove fileExtension=".woff2" />
|
||||
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff" />
|
||||
<remove fileExtension=".svg" />
|
||||
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
|
||||
</staticContent>
|
||||
<modules>
|
||||
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />
|
||||
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler" />
|
||||
@@ -128,10 +338,7 @@
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
</system.webServer>
|
||||
<elmah>
|
||||
<!--
|
||||
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
||||
more information on remote access and securing ELMAH.
|
||||
-->
|
||||
<errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="ErrorLog" />
|
||||
<security allowRemoteAccess="false" />
|
||||
</elmah>
|
||||
<location path="elmah.axd" inheritInChildApplications="false">
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagPrefix="uc1" TagName="mod_menuBottom" %>
|
||||
|
||||
<!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">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>Simplepage</title>
|
||||
<%--<link href="../Style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom"
|
||||
TagPrefix="uc5" %>
|
||||
<!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">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>MP-ADM: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %></title>
|
||||
<link href="~/Content/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
@@ -64,7 +65,7 @@
|
||||
<uc3:mod_pageTitleAndSearch ID="Mod_pageTitleAndSearch1" runat="server" />
|
||||
</div>
|
||||
<div class="col-4 text-right">
|
||||
<uc4:mod_ricercaGenerica ID="Mod_ricercaGenerica1" runat="server" Visible="false" />
|
||||
<uc4:mod_ricercaGenerica ID="Mod_ricercaGenerica1" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,12 +2,31 @@ using System;
|
||||
|
||||
public partial class MoonPro : System.Web.UI.MasterPage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
#region Protected Fields
|
||||
|
||||
protected string _headCssClass;
|
||||
|
||||
protected string _mainCssClass;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// classe css area HEADER
|
||||
/// </summary>
|
||||
public string headCssClass
|
||||
{
|
||||
get
|
||||
{
|
||||
return _headCssClass;
|
||||
}
|
||||
set
|
||||
{
|
||||
_headCssClass = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// classe css area BODY
|
||||
/// </summary>
|
||||
@@ -23,20 +42,25 @@ public partial class MoonPro : System.Web.UI.MasterPage
|
||||
}
|
||||
}
|
||||
|
||||
protected string _headCssClass;
|
||||
|
||||
/// <summary>
|
||||
/// classe css area HEADER
|
||||
/// </summary>
|
||||
public string headCssClass
|
||||
public bool showSearch
|
||||
{
|
||||
get
|
||||
{
|
||||
return _headCssClass;
|
||||
return Mod_ricercaGenerica1.Visible;
|
||||
}
|
||||
set
|
||||
{
|
||||
_headCssClass = value;
|
||||
Mod_ricercaGenerica1.Visible = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
+38
-38
@@ -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>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -13,101 +13,101 @@ public partial class MoonPro
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo PlaceHolder1.
|
||||
/// PlaceHolder1 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.PlaceHolder PlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo BundleReference2.
|
||||
/// BundleReference2 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::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference2;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo BundleReference1.
|
||||
/// BundleReference1 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::Microsoft.AspNet.Web.Optimization.WebForms.BundleReference BundleReference1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo form1.
|
||||
/// form1 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.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ScriptManager1.
|
||||
/// ScriptManager1 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.ScriptManager ScriptManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo Mod_menuTop1.
|
||||
/// Mod_menuTop1 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::MP_ADM.WebUserControls.mod_menuTop Mod_menuTop1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo UpdatePanel1.
|
||||
/// UpdatePanel1 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 UpdatePanel1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo Mod_pageTitleAndSearch1.
|
||||
/// Mod_pageTitleAndSearch1 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::mod_pageTitleAndSearch Mod_pageTitleAndSearch1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo Mod_ricercaGenerica1.
|
||||
/// Mod_ricercaGenerica1 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::mod_ricercaGenerica Mod_ricercaGenerica1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ContentPlaceHolder1.
|
||||
/// ContentPlaceHolder1 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 ContentPlaceHolder1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_menuBottom.
|
||||
/// mod_menuBottom 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::MP_ADM.WebUserControls.mod_menuBottom mod_menuBottom;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<!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">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it">
|
||||
<head runat="server">
|
||||
<title>Untitled Page</title>
|
||||
<%--<link href="~/Style.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ImageArchive.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ImageArchive" %>
|
||||
|
||||
<div class="bg-light my-1">
|
||||
<div class="row py-0">
|
||||
<div class="col-12 col-md-8">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">Ricerca [ALT-T]</span>
|
||||
</div>
|
||||
<asp:TextBox runat="server" ID="txtSearchArt" CssClass="form-control" AutoPostBack="True" placeholder="ricerca per nome file" AccessKey="T" />
|
||||
<div class="input-group-append">
|
||||
<asp:LinkButton runat="server" ID="lbtSearchReset" CssClass="input-group-text btn btn-block" OnClick="lbtSearchReset_Click"><i class="fa fa-times" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">col</span>
|
||||
</div>
|
||||
<asp:DropDownList runat="server" ID="ddlSize" AutoPostBack="true" CssClass="form-control" OnSelectedIndexChanged="ddlSize_SelectedIndexChanged">
|
||||
<asp:ListItem Text="12" Value="col-1"></asp:ListItem>
|
||||
<asp:ListItem Text="6" Value="col-2" Selected="true"></asp:ListItem>
|
||||
<asp:ListItem Text="4" Value="col-3"></asp:ListItem>
|
||||
<asp:ListItem Text="3" Value="col-4"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6 col-md-2">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">show max</span>
|
||||
</div>
|
||||
<asp:DropDownList runat="server" ID="ddlMaxNum" AutoPostBack="true" CssClass="form-control" OnSelectedIndexChanged="ddlSize_SelectedIndexChanged">
|
||||
<asp:ListItem Text="10" Value="10"></asp:ListItem>
|
||||
<asp:ListItem Text="25" Value="25" Selected="true"></asp:ListItem>
|
||||
<asp:ListItem Text="50" Value="50"></asp:ListItem>
|
||||
<asp:ListItem Text="100" Value="100"></asp:ListItem>
|
||||
<asp:ListItem Text="200" Value="200"></asp:ListItem>
|
||||
<asp:ListItem Text="1000" Value="1000"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<asp:Repeater runat="server" ID="repImages" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class='<%# ddlSize.SelectedValue + " text-center" %>'>
|
||||
<asp:LinkButton runat="server" ID="lbtImage" OnClick="lbtImage_Click" CssClass="btn btn-block btn-outline-info text-dark my-1" CommandArgument='<%# Eval("name") %>'>
|
||||
<b><%# Eval("name") %></b>
|
||||
<asp:Image runat="server" ID="imgFile" CssClass="img-fluid" ImageUrl='<%# Eval("relPath") %>' AlternateText='<%# Eval("relPath") %>' />
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" SelectMethod="ElencoFiles" TypeName="MP_ADM.WebUserControls.cmp_ImageArchive" OldValuesParameterFormatString="original_{0}">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfPathFull" Name="dirPath" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="txtSearchArt" Name="searchVal" PropertyName="Text" Type="String" DefaultValue="*" />
|
||||
<asp:ControlParameter ControlID="ddlMaxNum" Name="maxNum" PropertyName="SelectedValue" Type="Int32" DefaultValue="25" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfPathFull" />
|
||||
<asp:HiddenField runat="server" ID="hfSelImage" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,150 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_ImageArchive : BaseUserControl
|
||||
{
|
||||
#region Protected Fields
|
||||
|
||||
protected string imgPathShedaTecn = memLayer.ML.CRS("imgPathShedaTecn");
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected string PathFull
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfPathFull.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfPathFull.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public string SearchVal
|
||||
{
|
||||
get
|
||||
{
|
||||
return txtSearchArt.Text.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
txtSearchArt.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string selImage
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfSelImage.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfSelImage.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void doUpdate()
|
||||
{
|
||||
repImages.DataBind();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void ddlSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
doUpdate();
|
||||
}
|
||||
|
||||
protected void lbtImage_Click(object sender, EventArgs e)
|
||||
{
|
||||
// recupero nome immagine...
|
||||
LinkButton lbt = (LinkButton)sender;
|
||||
if (lbt != null)
|
||||
{
|
||||
selImage = lbt.CommandArgument;
|
||||
}
|
||||
raiseSelNew();
|
||||
}
|
||||
|
||||
protected void lbtSearchReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
txtSearchArt.Text = "";
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
PathFull = Server.MapPath(imgPathShedaTecn);
|
||||
selImage = "";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public List<FileData> ElencoFiles(string dirPath, string searchVal, int maxNum)
|
||||
{
|
||||
int currNum = 0;
|
||||
List<FileData> answ = new List<FileData>();
|
||||
try
|
||||
{
|
||||
searchVal = string.IsNullOrEmpty(searchVal) ? "*" : $"*{searchVal}*";
|
||||
var tabFiles = Directory.GetFiles(dirPath, searchVal);
|
||||
foreach (var item in tabFiles)
|
||||
{
|
||||
answ.Add(new FileData() { name = Path.GetFileName(item), relPath = $"{imgPathShedaTecn}{Path.GetFileName(item)}", fullPath = item });
|
||||
currNum++;
|
||||
// se superato max --> mi fermo
|
||||
if (currNum >= maxNum)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Public Classes
|
||||
|
||||
public class FileData
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string fullPath { get; set; } = "";
|
||||
public string name { get; set; } = "";
|
||||
public string relPath { get; set; } = "";
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
|
||||
#endregion Public Classes
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ImageArchive
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtSearchArt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearchArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSearchReset.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSearchReset;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlSize.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlSize;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlMaxNum.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlMaxNum;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repImages.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repImages;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfPathFull.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfPathFull;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfSelImage.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfSelImage;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_PODL_OUT.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_PODL_OUT" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_newPromessaODL.ascx" TagPrefix="uc1" TagName="mod_newPromessaODL" %>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<h4>PODL attivi</h4>
|
||||
</div>
|
||||
<%--<div class="col-2 text-right">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">
|
||||
<asp:CheckBox runat="server" ID="chkUnassigned" AutoPostBack="True" OnCheckedChanged="chkUnassigned_CheckedChanged" Checked="true" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:Label runat="server" ID="lblUnass" CssClass="input-group-text small" Text="Mostra SOLO programmate" />
|
||||
</div>
|
||||
</div>--%>
|
||||
<div class="col-4 text-right" runat="server" id="divMachine">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<div class="input-group-text">
|
||||
<asp:CheckBox runat="server" ID="chkReassign" AutoPostBack="True" Checked="false" OnCheckedChanged="chkReassign_CheckedChanged" />
|
||||
</div>
|
||||
</div>
|
||||
<asp:DropDownList runat="server" ID="ddlSelMacchina" CssClass="form-control" DataSourceID="odsMac" DataTextField="label" DataValueField="value" AppendDataBoundItems="true">
|
||||
<asp:ListItem Text="-- Impianto Originale --" Value="" />
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource runat="server" ID="odsMac" OldValuesParameterFormatString="original_{0}" SelectMethod="getAttive" TypeName="MapoDb.DS_UtilityTableAdapters.v_selMacchineTableAdapter" FilterExpression=" Value NOT LIKE '%#%' "></asp:ObjectDataSource>
|
||||
<div class="input-group-append">
|
||||
<asp:LinkButton runat="server" ID="lbtReassignMachine" class="btn btn-info" OnClick="lbtReassignMachine_Click"><i class="fa fa-edit" aria-hidden="true"></i> Riassegna</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4" runat="server" id="divActions">
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<asp:LinkButton runat="server" ID="lbtAttiva" class="btn btn-primary btn-block" OnClick="lbtAttiva_Click"><i class="fa fa-check-square-o" aria-hidden="true"></i> Attiva</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:LinkButton runat="server" ID="lbtDisattiva" class="btn btn-secondary btn-block" OnClick="lbtDisattiva_Click"><i class="fa fa-square-o" aria-hidden="true"></i> Disattiva</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-4">
|
||||
<asp:LinkButton runat="server" ID="lbtElimina" class="btn btn-danger btn-block" OnClick="lbtElimina_Click"><i class="fa fa-trash" aria-hidden="true"></i> Elimina</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="25" DataKeyNames="IdxPromessa" DataSourceID="ods" CssClass="table table-striped table-sm my-0">
|
||||
<HeaderStyle CssClass="default" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<SelectedRowStyle CssClass="table-primary" />
|
||||
<EmptyDataTemplate>
|
||||
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<HeaderTemplate>
|
||||
<asp:CheckBox ID="btnSelAll" runat="server" Checked="false" ToolTip='<%# traduci("btnSelAll") %>'
|
||||
OnCheckedChanged="btnSelAll_Click" CssClass="btn btn-default btn-sm" AutoPostBack="true"></asp:CheckBox>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox ID="chkSelect" CssClass="btn btn-default btn-sm" runat="server" OnCheckedChanged="chkSelect_CheckedChanged" AutoPostBack="true" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="KeyRichiesta" SortExpression="KeyRichiesta">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-12 font-weight-bold">
|
||||
<asp:Label ID="lblKeyRichiesta" runat="server" Text='<%# Eval("KeyRichiesta") %>' CssClass='<%# cssByAtt(Eval("Attivabile")) %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<asp:Label ID="lblIdxPromessa" runat="server" Text='<%# Eval("idxPromessa") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="DescrGruppo" HeaderText="Fase" SortExpression="DescrGruppo" ItemStyle-CssClass="text-nowrap">
|
||||
<ItemStyle CssClass="text-nowrap"></ItemStyle>
|
||||
</asp:BoundField>
|
||||
<asp:BoundField DataField="DescrMacc" HeaderText="Macchina" SortExpression="DescrMacc" />
|
||||
<asp:BoundField DataField="DescCliente" HeaderText="Cliente" SortExpression="DescCliente" />
|
||||
<asp:TemplateField HeaderText="Articolo" SortExpression="CodArticolo">
|
||||
<ItemTemplate>
|
||||
<div class="row">
|
||||
<div class="col-6 font-weight-bold">
|
||||
<asp:Label ID="lblDisegno" runat="server" Text='<%# Eval("Disegno") %>' CssClass='<%# cssByAtt(Eval("Attivabile")) %>' />
|
||||
</div>
|
||||
<div class="col-6 text-right">
|
||||
cod.
|
||||
<asp:Label ID="lblCodArticolo" runat="server" Text='<%# Eval("CodArticolo") %>' />
|
||||
</div>
|
||||
<div class="col-12 small">
|
||||
<asp:Label ID="lblDescArticolo" runat="server" Text='<%# Eval("DescArticolo") %>' />
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="# Pezzi" SortExpression="NumPezzi">
|
||||
<ItemTemplate>
|
||||
<b>
|
||||
<asp:Label runat="server" ID="lblNumPezzi" CssClass='<%# cssByAtt(Eval("Attivabile")) %>' Text='<%# Eval("NumPezzi") %>' /></b>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle HorizontalAlign="Right" />
|
||||
<ItemStyle HorizontalAlign="Right" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Due Date" SortExpression="DueDate">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# Eval("DueDate") %>' CssClass='<%# cssDueDate(Eval("DueDate")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="ODL" SortExpression="IdxOdl">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="lblIdxOdl" Text='<%# Eval("IdxOdl") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Ord" SortExpression="Priorita" ItemStyle-HorizontalAlign="center">
|
||||
<ItemTemplate>
|
||||
<asp:Label runat="server" ID="txtPriorita" Text='<%# Eval("Priorita") %>' CssClass="font-weight-bold" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<div class="d-flex">
|
||||
<div class="mr-auto p-2">
|
||||
<div class="btn-group">
|
||||
<asp:LinkButton runat="server" ID="lnkMoveDown" Visible='<%# checkChgPrio(Eval("IdxMacchina").ToString(), Eval("Priorita").ToString(), -1) %>' ToolTip="Diminuisci (ritarda)" OnClick="lnkMoveDown_Click" CausesValidation="False" CommandArgument='<%# Eval("IdxPromessa") %>' CssClass="btn btn-sm btn-dark"><i class="fa fa-arrow-down" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtNoneDx" Enabled="false" Visible='<%# !checkChgPrio(Eval("IdxMacchina").ToString(), Eval("Priorita").ToString(), -1) %>' CssClass="btn btn-sm text-light"><i class="fa fa-arrows-h" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtNoneSx" Enabled="false" Visible='<%# !checkChgPrio(Eval("IdxMacchina").ToString(), Eval("Priorita").ToString(), 1) %>' CssClass="btn btn-sm text-light"><i class="fa fa-arrows-h" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lnkMoveUp" Visible='<%# checkChgPrio(Eval("IdxMacchina").ToString(), Eval("Priorita").ToString(), 1) %>' ToolTip="Aumenta (anticipa)" OnClick="lnkMoveUp_Click" CausesValidation="False" CommandArgument='<%# Eval("IdxPromessa") %>' CssClass="btn btn-sm btn-secondary"><i class="fa fa-arrow-up" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Attiva" SortExpression="Attivabile" ItemStyle-HorizontalAlign="center">
|
||||
<ItemTemplate>
|
||||
<asp:CheckBox runat="server" ID="chkAttiva" Checked='<%# Eval("Attivabile") %>' Enabled="false" CssClass='<%# cssByAtt(Eval("Attivabile")) %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<%--<asp:TemplateField HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton runat="server" ID="lbtDel" CommandArgument='<%# Eval("IdxPromessa") %>' OnClientClick="return confirm('Sicuro di voler procedere con eliminazione?');" OnClick="lbtDel_Click" ToolTip='<%# traduci("Delete") %>' Visible='<%# Eval("IdxODL").ToString()=="" || Eval("IdxODL").ToString()=="0" %>' CssClass="btn btn-sm btn-danger"><i class="fa fa-trash"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
|
||||
<ItemStyle HorizontalAlign="Center"></ItemStyle>
|
||||
</asp:TemplateField>--%>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:HiddenField runat="server" ID="hfIdxMacc" />
|
||||
<asp:HiddenField runat="server" ID="hfCodGrp" />
|
||||
<asp:HiddenField runat="server" ID="hfCodArt" />
|
||||
<asp:HiddenField runat="server" ID="hfCodCli" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByMaccArt" TypeName="MapoDb.DS_PlanTableAdapters.PromesseOUTTableAdapter" FilterExpression=" ( CodArticolo LIKE '%{0}%' OR DescArticolo LIKE '%{0}%' ) " DeleteMethod="deleteQuery">
|
||||
<FilterParameters>
|
||||
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
|
||||
</FilterParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_idxPromessa" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfCodGrp" DefaultValue="*" Name="CodGruppo" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfCodArt" DefaultValue="*" Name="CodArticolo" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfIdxMacc" DefaultValue="*" Name="IdxMacchina" PropertyName="Value" Type="String" />
|
||||
<asp:ControlParameter ControlID="hfCodCli" DefaultValue="*" Name="CodCliente" PropertyName="Value" Type="String" />
|
||||
<asp:Parameter Name="onlyFree" Type="Boolean" DefaultValue="true" />
|
||||
<%--<asp:ControlParameter ControlID="chkUnassigned" Name="onlyFree" PropertyName="Checked" Type="Boolean" />--%>
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="row">
|
||||
<div class="col"></div>
|
||||
<div class="col text-center">
|
||||
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
|
||||
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
|
||||
</div>
|
||||
<div class="col text-right">
|
||||
mostra:
|
||||
<asp:TextBox runat="server" ID="txtPageSize" Text="10" Width="2em" OnTextChanged="txtPageSize_TextChanged" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,462 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_PODL_OUT : BaseUserControl
|
||||
{
|
||||
#region Protected Fields
|
||||
|
||||
protected string _idxGridView;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Public Fields
|
||||
|
||||
/// <summary>
|
||||
/// Determina se sia solo readonly il controllo...
|
||||
/// </summary>
|
||||
public bool readOnly;
|
||||
|
||||
#endregion Public Fields
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// CodArt filtrato
|
||||
/// </summary>
|
||||
public string CodArticolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodArt.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodArt.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Chiave PRE selezione tipo richiesta ordine
|
||||
/// </summary>
|
||||
public string CodCliente
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodCli.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodCli.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gruppo selezionato
|
||||
/// </summary>
|
||||
public string CodGruppo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodGrp.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodGrp.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// IdxMacchina filtrata
|
||||
/// </summary>
|
||||
public string IdxMacchinaFilt
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfIdxMacc.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxMacc.Value = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// dimensione pagina
|
||||
/// </summary>
|
||||
public int pageSize
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 10;
|
||||
try
|
||||
{
|
||||
answ = Convert.ToInt32(txtPageSize.Text);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
txtPageSize.Text = value.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkActions()
|
||||
{
|
||||
// calcolo visibilità (almeno 1 selezionato)
|
||||
bool showActions = false;
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
if (((CheckBox)riga.FindControl("chkSelect")).Checked && ((CheckBox)riga.FindControl("chkSelect")).Visible)
|
||||
{
|
||||
showActions = true;
|
||||
}
|
||||
if (showActions)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
divActions.Visible = showActions;
|
||||
divMachine.Visible = showActions;
|
||||
}
|
||||
|
||||
private void fixSetMachine()
|
||||
{
|
||||
ddlSelMacchina.Enabled = chkReassign.Checked;
|
||||
lbtReassignMachine.Visible = chkReassign.Checked;
|
||||
if (!chkReassign.Checked)
|
||||
{
|
||||
ddlSelMacchina.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Imposta Promesse selezionate come attivabili secondo richiesta
|
||||
/// </summary>
|
||||
/// <param name="isAttivabile"></param>
|
||||
private void setPromAttivabili(bool isAttivabile)
|
||||
{
|
||||
int IdxPromessa = 0;
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
if (((CheckBox)riga.FindControl("chkSelect")).Checked && ((CheckBox)riga.FindControl("chkSelect")).Visible)
|
||||
{
|
||||
int.TryParse(((Label)riga.FindControl("lblIdxPromessa")).Text, out IdxPromessa);
|
||||
// disattivo!
|
||||
DataLayerObj.taPromOut.updAttiva(IdxPromessa, isAttivabile);
|
||||
}
|
||||
}
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Aggiorno Gridview
|
||||
/// </summary>
|
||||
private void updateGrView()
|
||||
{
|
||||
grView.DataBind();
|
||||
checkActions();
|
||||
raiseNewVal();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// reset della selezione
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// seleziona/deseleziona le righe indicate...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSelAll_Click(object sender, EventArgs e)
|
||||
{
|
||||
// seleziono tutti i valori visibili nel datagrid
|
||||
CheckBox chkbox = ((CheckBox)sender);
|
||||
bool isChecked = chkbox.Checked;
|
||||
if (!isChecked)
|
||||
{
|
||||
chkbox.ToolTip = traduci("btnSelAll");
|
||||
}
|
||||
else
|
||||
{
|
||||
chkbox.ToolTip = traduci("btnDeselAll");
|
||||
}
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
((CheckBox)riga.FindControl("chkSelect")).Checked = isChecked;
|
||||
}
|
||||
checkActions();
|
||||
}
|
||||
|
||||
protected void chkReassign_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
fixSetMachine();
|
||||
}
|
||||
|
||||
protected void chkSelect_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
checkActions();
|
||||
}
|
||||
|
||||
protected void chkUnassigned_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// elenco colonne del datagrid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
protected DataColumnCollection colonneObj()
|
||||
{
|
||||
MapoDb.DS_ProdTempi.ODLDataTable tabella = new MapoDb.DS_ProdTempi.ODLDataTable();
|
||||
DataColumnCollection colonne = tabella.Columns;
|
||||
return colonne;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// salvo comando
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbt_Command(object sender, CommandEventArgs e)
|
||||
{
|
||||
memLayer.ML.setSessionVal("nextObjCommand", ((LinkButton)sender).CommandArgument);
|
||||
}
|
||||
|
||||
protected void lbtAttiva_Click(object sender, EventArgs e)
|
||||
{
|
||||
setPromAttivabili(true);
|
||||
}
|
||||
|
||||
protected void lbtDisattiva_Click(object sender, EventArgs e)
|
||||
{
|
||||
setPromAttivabili(false);
|
||||
}
|
||||
|
||||
protected void lbtElimina_Click(object sender, EventArgs e)
|
||||
{
|
||||
int IdxPromessa = 0;
|
||||
int IdxOdl = 0;
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
if (((CheckBox)riga.FindControl("chkSelect")).Checked && ((CheckBox)riga.FindControl("chkSelect")).Visible)
|
||||
{
|
||||
int.TryParse(((Label)riga.FindControl("lblIdxOdl")).Text, out IdxOdl);
|
||||
if (IdxOdl == 0)
|
||||
{
|
||||
int.TryParse(((Label)riga.FindControl("lblIdxPromessa")).Text, out IdxPromessa);
|
||||
// ELIMINO!
|
||||
DataLayerObj.taPromOut.deleteQuery(IdxPromessa);
|
||||
}
|
||||
}
|
||||
}
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
protected void lbtReassignMachine_Click(object sender, EventArgs e)
|
||||
{
|
||||
int IdxPromessa = 0;
|
||||
int IdxOdl = 0;
|
||||
string idxMacchina2Reass = ddlSelMacchina.SelectedValue;
|
||||
if (!string.IsNullOrEmpty(idxMacchina2Reass))
|
||||
{
|
||||
foreach (GridViewRow riga in grView.Rows)
|
||||
{
|
||||
if (((CheckBox)riga.FindControl("chkSelect")).Checked && ((CheckBox)riga.FindControl("chkSelect")).Visible)
|
||||
{
|
||||
int.TryParse(((Label)riga.FindControl("lblIdxOdl")).Text, out IdxOdl);
|
||||
if (IdxOdl == 0)
|
||||
{
|
||||
int.TryParse(((Label)riga.FindControl("lblIdxPromessa")).Text, out IdxPromessa);
|
||||
// riassegno!
|
||||
DataLayerObj.taPromOut.updMacchina(IdxPromessa, idxMacchina2Reass);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Richiesto abbassamento priorità = RITARDA
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lnkMoveDown_Click(object sender, EventArgs e)
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
// imposto articolo, splittando
|
||||
int IdxPromessa = 0;
|
||||
int.TryParse(lb.CommandArgument, out IdxPromessa);
|
||||
// chiamo stored
|
||||
DataLayerObj.taPromOut.movePrio(IdxPromessa, -1);
|
||||
//update!
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Richiesto aumento priorità = ANTICIPA
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lnkMoveUp_Click(object sender, EventArgs e)
|
||||
{
|
||||
LinkButton lb = (LinkButton)sender;
|
||||
// imposto articolo, splittando
|
||||
int IdxPromessa = 0;
|
||||
int.TryParse(lb.CommandArgument, out IdxPromessa);
|
||||
// chiamo stored
|
||||
DataLayerObj.taPromOut.movePrio(IdxPromessa, 1);
|
||||
//update!
|
||||
updateGrView();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// inizializzazione valori di default
|
||||
/// </summary>
|
||||
/// <param name="e"></param>
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
_idxGridView = "IdxPromessa";
|
||||
fixSetMachine();
|
||||
}
|
||||
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
grView.PageSize = pageSize;
|
||||
divActions.Visible = false;
|
||||
divMachine.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// cambio dim pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void txtPageSize_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
grView.PageSize = pageSize;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Verifica se sia permesso cambio priorità (NON può andare a 0 ne oltre il max x macchina)
|
||||
/// </summary>
|
||||
/// <param name="IdxMacchina"></param>
|
||||
/// <param name="priorStr"></param>
|
||||
/// <param name="delta"></param>
|
||||
/// <returns></returns>
|
||||
public bool checkChgPrio(string IdxMacchina, string priorStr, int delta)
|
||||
{
|
||||
bool enableChgPrio = false;
|
||||
int priorita = 0;
|
||||
int.TryParse(priorStr, out priorita);
|
||||
// calcolo i limiti priorità x macchina (0 --> max x macchina)... LPI/LPS liminte priorità inferiore / superiore
|
||||
int LPI = 1;
|
||||
int LPS = 1;
|
||||
var tabella = DataLayerObj.taPromOut.getMaxPrioByMacc(IdxMacchina, true);
|
||||
if (tabella.Rows.Count > 0)
|
||||
{
|
||||
LPS = tabella[0].Priorita;
|
||||
}
|
||||
// è ok SE sono ENTRO i 2 limiti
|
||||
enableChgPrio = ((priorita + delta) >= LPI && (priorita + delta) <= LPS);
|
||||
|
||||
bool singleMachine = !string.IsNullOrEmpty(IdxMacchinaFilt) && IdxMacchinaFilt == IdxMacchina;
|
||||
#if false
|
||||
bool onlyProgrammed = chkUnassigned.Checked;
|
||||
return enableChgPrio && onlyProgrammed && singleMachine;
|
||||
#endif
|
||||
return enableChgPrio && singleMachine;
|
||||
}
|
||||
|
||||
public string cssByAtt(object currAtt)
|
||||
{
|
||||
string answ = "";
|
||||
bool attivabile = false;
|
||||
bool.TryParse($"{currAtt}", out attivabile);
|
||||
answ = attivabile ? "text-primary" : "text-secondary";
|
||||
return answ;
|
||||
}
|
||||
|
||||
public bool delEnabled(object _idxOdl)
|
||||
{
|
||||
bool answ = false;
|
||||
int idxOdl = 0;
|
||||
// controllo non sia già stata iniziata la produzione sennò non posso cancellare...
|
||||
try
|
||||
{
|
||||
idxOdl = Convert.ToInt32(_idxOdl);
|
||||
answ = (DataLayerObj.taODL.getByIdx(idxOdl, true).Count > 0);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
return answ;
|
||||
}
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.DataBind();
|
||||
checkActions();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// formatot url x stampa ODL
|
||||
/// </summary>
|
||||
/// <param name="idx"></param>
|
||||
/// <returns></returns>
|
||||
public string formattaUrlOdl(object idx)
|
||||
{
|
||||
string answ = String.Format(memLayer.ML.CRS("exportFormat1"), Convert.ToInt32(reportRichiesto.SchedaODL), idx);
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// resetta la selezione dei valori in caso di modifiche su altri controlli
|
||||
/// </summary>
|
||||
public void resetSelezione()
|
||||
{
|
||||
divActions.Visible = false;
|
||||
divMachine.Visible = false;
|
||||
memLayer.ML.emptySessionVal(string.Format("{0}_sel", _idxGridView));
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
lblWarning.Visible = false;
|
||||
raiseReset();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
+179
@@ -0,0 +1,179 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_PODL_OUT
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// divMachine 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.HtmlGenericControl divMachine;
|
||||
|
||||
/// <summary>
|
||||
/// chkReassign 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.CheckBox chkReassign;
|
||||
|
||||
/// <summary>
|
||||
/// ddlSelMacchina 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.DropDownList ddlSelMacchina;
|
||||
|
||||
/// <summary>
|
||||
/// odsMac 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 odsMac;
|
||||
|
||||
/// <summary>
|
||||
/// lbtReassignMachine 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 lbtReassignMachine;
|
||||
|
||||
/// <summary>
|
||||
/// divActions 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.HtmlGenericControl divActions;
|
||||
|
||||
/// <summary>
|
||||
/// lbtAttiva 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 lbtAttiva;
|
||||
|
||||
/// <summary>
|
||||
/// lbtDisattiva 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 lbtDisattiva;
|
||||
|
||||
/// <summary>
|
||||
/// lbtElimina 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 lbtElimina;
|
||||
|
||||
/// <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>
|
||||
/// hfIdxMacc 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 hfIdxMacc;
|
||||
|
||||
/// <summary>
|
||||
/// hfCodGrp 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 hfCodGrp;
|
||||
|
||||
/// <summary>
|
||||
/// hfCodArt 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 hfCodArt;
|
||||
|
||||
/// <summary>
|
||||
/// hfCodCli 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 hfCodCli;
|
||||
|
||||
/// <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>
|
||||
/// lblNumRec 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 lblNumRec;
|
||||
|
||||
/// <summary>
|
||||
/// lblWarning 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 lblWarning;
|
||||
|
||||
/// <summary>
|
||||
/// txtPageSize 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.TextBox txtPageSize;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_detail.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ST_detail" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_objView.ascx" TagPrefix="uc1" TagName="cmp_ST_objView" %>
|
||||
|
||||
<asp:Repeater ID="repDetail" runat="server" DataSourceID="ods">
|
||||
<ItemTemplate>
|
||||
<div class="border border-bottom-secondary">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' extCode='<%# Eval("ExtCode") %>' required='<%# Eval("Required") %>' />
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
<AlternatingItemTemplate>
|
||||
<div class="">
|
||||
<uc1:cmp_ST_objView runat="server" ID="cmp_ST_objView" dataType='<%# Eval("CodTipo") %>' dataLabel='<%# traduci(Eval("Label")) %>' dataValue='<%# Eval("Value") %>' extCode='<%# Eval("ExtCode") %>' required='<%# Eval("Required") %>' />
|
||||
</div>
|
||||
</AlternatingItemTemplate>
|
||||
</asp:Repeater>
|
||||
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByGrpIdxST" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxST" DefaultValue="0" Name="IdxST" PropertyName="Value" Type="Int32" />
|
||||
<asp:ControlParameter ControlID="hfCodGruppo" DefaultValue="ART" Name="CodGruppo" PropertyName="Value" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodGruppo" Value="" />
|
||||
<asp:HiddenField runat="server" ID="hfIdxST" Value="0" />
|
||||
@@ -0,0 +1,55 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_detail : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string CodGruppo
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodGruppo.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodGruppo.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public int IdxST
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfIdxST.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxST.Value = $"{value}";
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ST_detail
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repDetail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repDetail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodGruppo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodGruppo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxST.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxST;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_objView.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ST_objView" %>
|
||||
<asp:HiddenField runat="server" ID="hfType" />
|
||||
<asp:HiddenField runat="server" ID="hfLabel" />
|
||||
<asp:HiddenField runat="server" ID="hfValue" />
|
||||
<asp:HiddenField runat="server" ID="hfRequired" />
|
||||
<asp:HiddenField runat="server" ID="hfExtCode" />
|
||||
<div runat="server" id="divTxt" class="row">
|
||||
<div class="col-4 pr-0 text-left">
|
||||
<%: hfLabel.Value %>
|
||||
</div>
|
||||
<div class='<%: "col-8 pl-0 text-right font-weight-bold" + dataCss %>'>
|
||||
<%: hfValue.Value %>
|
||||
<asp:Label runat="server" ID="lblError"><i class="fa fa-exclamation-triangle" aria-hidden="true" ></i></asp:Label>
|
||||
<asp:Label runat="server" ID="lblChecked"><i class="fa fa-check-square-o" aria-hidden="true" ></i></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<div runat="server" id="divImg" class="row">
|
||||
<div class="col-4 pr-0 text-left">
|
||||
<%: hfLabel.Value %>
|
||||
</div>
|
||||
<div class="col-8 pl-0 text-right">
|
||||
<asp:Image runat="server" ID="imgData" CssClass="img-fluid" ImageUrl='<%# imageUrl %>' Height="128px" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_objView : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string dataCss
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "";
|
||||
if (required)
|
||||
{
|
||||
if (dataValue != extCode)
|
||||
{
|
||||
answ = " text-danger";
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = " text-success";
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public string dataLabel
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfLabel.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfLabel.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public string dataType
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfType.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfType.Value = value.Trim();
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
public string dataValue
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfValue.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfValue.Value = value.Trim();
|
||||
}
|
||||
}
|
||||
|
||||
public string extCode
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfExtCode.Value.Trim();
|
||||
}
|
||||
set
|
||||
{
|
||||
hfExtCode.Value = value.Trim();
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Url immagine SE richiesta
|
||||
/// </summary>
|
||||
public string imageUrl
|
||||
{
|
||||
get
|
||||
{
|
||||
string imgPath = "";
|
||||
string fullPath = "";
|
||||
//check type...
|
||||
if (dataType == "IMG")
|
||||
{
|
||||
imgPath = dataValue;
|
||||
if (!Path.IsPathRooted(imgPath))
|
||||
{
|
||||
// aggiungo base path
|
||||
imgPath = $"~\\images\\ST_img\\{imgPath}";
|
||||
}
|
||||
fullPath = Server.MapPath(imgPath);
|
||||
// verifico esistenza file...
|
||||
if (!File.Exists(fullPath))
|
||||
{
|
||||
// metto segnaposto empty
|
||||
imgPath = "~\\images\\ST_img\\Steamware.png";
|
||||
}
|
||||
}
|
||||
return imgPath;
|
||||
}
|
||||
}
|
||||
|
||||
public bool required
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(hfRequired.Value.Trim(), out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfRequired.Value = value.ToString();
|
||||
fixDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
public bool showCheckedData
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (required && (dataValue == extCode))
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
public bool showMissingData
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (required && (dataValue != extCode))
|
||||
{
|
||||
answ = true;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void fixDisplay()
|
||||
{
|
||||
divImg.Visible = false;
|
||||
divTxt.Visible = false;
|
||||
switch (dataType)
|
||||
{
|
||||
case "IMG":
|
||||
divImg.Visible = true;
|
||||
break;
|
||||
|
||||
case "TXT":
|
||||
default:
|
||||
divTxt.Visible = true;
|
||||
break;
|
||||
}
|
||||
lblError.Visible = showMissingData;
|
||||
lblChecked.Visible = showCheckedData;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ST_objView
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfType.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfType;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfLabel.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfLabel;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfValue.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfValue;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfRequired.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfRequired;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfExtCode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfExtCode;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divTxt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divTxt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblError.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblError;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblChecked.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblChecked;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divImg.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divImg;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo imgData.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Image imgData;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_ST_preview.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_ST_preview" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_detail.ascx" TagPrefix="uc1" TagName="cmp_ST_detail" %>
|
||||
|
||||
<div class="card text-dark textCondens">
|
||||
<div class="card-header bg-info text-light">
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<h4>Scheda Tecnica Articolo</h4>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<asp:LinkButton runat="server" ID="lbtPaste" CssClass="btn btn-block btn-outline-light" OnClick="lbtPaste_Click">
|
||||
<i class="fa fa-clone" aria-hidden="true"></i> PASTE
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<asp:LinkButton runat="server" ID="lbtCopy" CssClass="btn btn-block btn-outline-light" OnClick="lbtCopy_Click">
|
||||
<i class="fa fa-clone" aria-hidden="true"></i> COPY
|
||||
</asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-2">
|
||||
<asp:LinkButton runat="server" ID="lbtDoEdit" CssClass="btn btn-block btn-light" OnClick="lbtDoEdit_Click"><i class="fa fa-pencil" aria-hidden="true"></i> Modifica Scheda</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body py-1">
|
||||
<div class="row">
|
||||
<asp:Repeater ID="repGroup" runat="server" DataSourceID="odsGroup">
|
||||
<ItemTemplate>
|
||||
<div class="col-lg-6 col-12 p-1">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<b>
|
||||
<asp:Label ID="DescGruppoLabel" runat="server" Text='<%# Eval("DescGruppo") %>' /></b>
|
||||
</div>
|
||||
<div class="card-body p-0">
|
||||
<uc1:cmp_ST_detail runat="server" ID="cmp_ST_detail" CodGruppo='<%# Eval("CodGruppo") %>' IdxST='<%# IdxST %>' />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
</div>
|
||||
<asp:ObjectDataSource ID="odsGroup" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_AnagGruppiTableAdapter"></asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfIdxST" Value="0" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,139 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_ST_preview : BaseUserControl
|
||||
{
|
||||
#region Protected Fields
|
||||
|
||||
protected string preClip = "IdxST:";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected int clipbIdxST
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (!string.IsNullOrEmpty(clipboard))
|
||||
{
|
||||
int.TryParse(clipboard.Replace(preClip, ""), out answ);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public int IdxST
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfIdxST.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxST.Value = $"{value}";
|
||||
repGroup.DataBind();
|
||||
checkClipboard();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkClipboard()
|
||||
{
|
||||
// Tabella ST selezionata
|
||||
var tabCurrSTAR = DataLayerObj.taSTAR.getByST(IdxST);
|
||||
bool showPaste = false;
|
||||
bool checkSource = false;
|
||||
bool checkDest = false;
|
||||
// verifico condizioni COPY
|
||||
lbtCopy.Visible = (tabCurrSTAR.Rows.Count > 0);
|
||||
// verifico condizioni PASTE
|
||||
if (!string.IsNullOrEmpty(clipboard))
|
||||
{
|
||||
// verifico sia tipo clipboard valida
|
||||
if (clipboard.StartsWith(preClip))
|
||||
{
|
||||
//verifico sia intero valido
|
||||
if (clipbIdxST > 0)
|
||||
{
|
||||
// verifico le condizioni: si parte da una una ST esistente...
|
||||
var tabSrcSTA = DataLayerObj.taSTA.getByKey(clipbIdxST);
|
||||
checkSource = tabSrcSTA.Rows.Count > 0;
|
||||
checkDest = tabCurrSTAR.Rows.Count == 0;
|
||||
// verifica status visibilità x PASTE
|
||||
showPaste = checkSource && checkDest;
|
||||
}
|
||||
}
|
||||
}
|
||||
// verifica x stile copy
|
||||
lbtCopy.CssClass = checkSource ? "btn btn-block btn-light border border-dark" : "btn btn-block btn-outline-light";
|
||||
lbtPaste.Visible = showPaste;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void lbtCopy_Click(object sender, EventArgs e)
|
||||
{
|
||||
// salvo il clipboard la ST corrente...
|
||||
clipboard = $"{preClip}{IdxST}";
|
||||
checkClipboard();
|
||||
}
|
||||
|
||||
protected void lbtDoEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
raiseNewVal();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua paste --> duplicazione Scheda Tecnica
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtPaste_Click(object sender, EventArgs e)
|
||||
{
|
||||
// verifico codici...
|
||||
if (clipbIdxST > 0 && IdxST > 0)
|
||||
{
|
||||
// se diversi...
|
||||
if (clipbIdxST != IdxST)
|
||||
{
|
||||
// effettuo chiamata copy/paste
|
||||
DataLayerObj.taSTAR.PasteAll(clipbIdxST, IdxST);
|
||||
}
|
||||
clipboard = "";
|
||||
}
|
||||
raiseReset();
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
clipboard = "";
|
||||
string testo = traduci("ConfirmPasteFullST");
|
||||
lbtPaste.OnClientClick = SteamWare.jsUtils.getCBE(testo, false);
|
||||
}
|
||||
checkClipboard();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_ST_preview
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtPaste.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtPaste;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtCopy.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtCopy;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtDoEdit.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtDoEdit;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repGroup.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repGroup;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsGroup.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsGroup;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxST.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxST;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetArt.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetArt" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_TechSheetArtAddNew.ascx" TagPrefix="uc1" TagName="cmp_TechSheetArtAddNew" %>
|
||||
|
||||
<div class="row bgLightGrayUp py-1">
|
||||
<div class="col-12 mb-1">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">Schede [ALT-T]</span>
|
||||
</div>
|
||||
<asp:TextBox runat="server" ID="txtSearchArt" CssClass="form-control" AutoPostBack="True" OnTextChanged="txtSearchArt_TextChanged" placeholder="Codice Articolo / Descrizione" AccessKey="T" />
|
||||
<div class="input-group-append">
|
||||
<asp:LinkButton runat="server" ID="lbtSearchReset" CssClass="input-group-text btn btn-block" OnClick="lbtSearchReset_Click"><i class="fa fa-times" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">Tipologia</span>
|
||||
</div>
|
||||
<asp:DropDownList runat="server" ID="ddlTipo" DataSourceID="odsTipo" CssClass="form-control" DataTextField="DescTempl" DataValueField="CodTempl" AppendDataBoundItems="True" AutoPostBack="true" OnSelectedIndexChanged="ddlTipo_SelectedIndexChanged">
|
||||
<asp:ListItem Text="--- Mostra Tutto ---" Value="ALL"></asp:ListItem>
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource runat="server" ID="odsTipo" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_TemplateTableAdapter"></asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-block btn-primary" OnClick="lbtAddNew_Click">Nuova Scheda <i class="fa fa-caret-down" aria-hidden="true"></i> <i class="fa fa-caret-up" aria-hidden="true"></i></asp:LinkButton>
|
||||
<asp:LinkButton runat="server" ID="lbtApprove" CssClass="btn btn-block btn-success" OnClick="lbtApprove_Click">Approva <i class="fa fa-certificate" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row table-primary">
|
||||
<div class="col-12">
|
||||
<uc1:cmp_TechSheetArtAddNew runat="server" ID="cmp_TechSheetArtAddNew" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row bgLightGrayDown">
|
||||
<div class="col-12">
|
||||
<asp:GridView runat="server" ID="grView" AutoGenerateColumns="False" DataKeyNames="IdxST" DataSourceID="ods" CssClass="table table-sm table-striped" AllowPaging="True" AllowSorting="True" OnSelectedIndexChanged="grView_SelectedIndexChanged">
|
||||
<EditRowStyle CssClass="table-info" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun record trovato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
<asp:LinkButton ID="lbtReset" runat="server" OnClick="lbtReset_Click" CssClass="btn btn-sm btn-primary" Visible="true" ToolTip="Reset"><i class="fa fa-refresh"></i></asp:LinkButton>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtSel" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-primary"><i class="fa fa-search" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="IdxST" HeaderText="#" InsertVisible="False" ReadOnly="True" SortExpression="IdxST" />
|
||||
<%--<asp:BoundField DataField="CodTempl" HeaderText="CodTempl" SortExpression="CodTempl" />--%>
|
||||
<asp:BoundField DataField="CodArticolo" HeaderText="Art" SortExpression="CodArticolo" />
|
||||
<asp:BoundField DataField="DescArticolo" HeaderText="Descr." SortExpression="CodArticolo" />
|
||||
<%--<asp:BoundField DataField="MatrOpr" HeaderText="MatrOpr" SortExpression="MatrOpr" />
|
||||
<asp:BoundField DataField="DtMod" HeaderText="DtMod" SortExpression="DtMod" />--%>
|
||||
<asp:BoundField DataField="DescTempl" HeaderText="Tipo" SortExpression="DescTempl" ItemStyle-CssClass="text-nowrap" />
|
||||
<asp:TemplateField HeaderText="Appr" SortExpression="IsValidated" ItemStyle-CssClass="text-center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblValid" runat="server" Visible='<%# getBool(Eval("IsValidated")) %>' CssClass="text-success" ToolTip='<%# "Approvato: " + Eval("UserLogin") +" "+ Eval("DtMod") %>'><i class="fa fa-certificate" aria-hidden="true"></i></asp:Label>
|
||||
<asp:Label ID="lblUnvalidated" runat="server" Visible='<%# !getBool(Eval("IsValidated")) %>' CssClass="text-danger" ToolTip='<%# "Ultima modifica: " + Eval("UserLogin") +" "+ Eval("DtMod") %>'><i class="fa fa-ban" aria-hidden="true"></i></asp:Label>
|
||||
<asp:LinkButton ID="lbtDelete" runat="server" CausesValidation="False" CommandName="Delete" Visible='<%# DelEnabled(Eval("NumRow")) %>' CssClass="btn btn-sm btn-danger" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmDelete") %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getBySearchArt" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualTableAdapter" DeleteMethod="DeleteQuery">
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_IdxST" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtSearchArt" DefaultValue="" Name="SearchCodArt" PropertyName="Text" Type="String" />
|
||||
<asp:ControlParameter ControlID="ddlTipo" DefaultValue="ALL" Name="CodTempl" PropertyName="SelectedValue" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,151 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_TechSheetArt : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public int IdxStSel
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
if (grView.SelectedIndex >= 0)
|
||||
{
|
||||
int.TryParse($"{grView.SelectedValue}", out answ);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkVisibility()
|
||||
{
|
||||
bool selected = grView.SelectedIndex >= 0;
|
||||
lbtAddNew.Visible = !selected;
|
||||
lbtApprove.Visible = selected;
|
||||
// se selezionato --> verifico stato
|
||||
if (selected)
|
||||
{
|
||||
bool doShow = false;
|
||||
var tabSTA = DataLayerObj.taSTA.getByKey(IdxStSel);
|
||||
if (tabSTA.Rows.Count > 0)
|
||||
{
|
||||
doShow = !tabSTA[0].IsValidated;
|
||||
}
|
||||
// controllo ANCHE che NON sia stato già approvato...
|
||||
lbtApprove.Visible = doShow;
|
||||
}
|
||||
}
|
||||
|
||||
private void Cmp_TechSheetArtAddNew_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void ddlTipo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
// imposto sul componente addNew tranne il valore ALL didefault...
|
||||
cmp_TechSheetArtAddNew.CodTempl = ddlTipo.SelectedValue == "ALL" ? "" : ddlTipo.SelectedValue;
|
||||
}
|
||||
|
||||
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
raiseSelNew();
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// RIchiesta nuova scheda
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
cmp_TechSheetArtAddNew.Visible = !cmp_TechSheetArtAddNew.Visible;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// /esegue salvataggio validazione scheda tecnica
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtApprove_Click(object sender, EventArgs e)
|
||||
{
|
||||
DataLayerObj.taSTA.updateValid(IdxStSel, true, user_std.UtSn.userNameAD);
|
||||
grView.DataBind();
|
||||
checkVisibility();
|
||||
raiseSelNew();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// comando reset
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void lbtReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
resetSelezione();
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
protected void lbtSearchReset_Click(object sender, EventArgs e)
|
||||
{
|
||||
txtSearchArt.Text = "";
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
cmp_TechSheetArtAddNew.Visible = false;
|
||||
}
|
||||
checkVisibility();
|
||||
cmp_TechSheetArtAddNew.eh_nuovoValore += Cmp_TechSheetArtAddNew_eh_nuovoValore;
|
||||
}
|
||||
|
||||
protected void txtSearchArt_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public bool DelEnabled(object _numRow)
|
||||
{
|
||||
int numRows = 1;
|
||||
int.TryParse(_numRow.ToString(), out numRows);
|
||||
return numRows == 0;
|
||||
}
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
public void resetSelezione()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
raiseReset();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_TechSheetArt
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtSearchArt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearchArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtSearchReset.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtSearchReset;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlTipo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlTipo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsTipo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtAddNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtApprove.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtApprove;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_TechSheetArtAddNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_TechSheetArtAddNew cmp_TechSheetArtAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetArtAddNew.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetArtAddNew" %>
|
||||
<div class="row my-1">
|
||||
<div class="col-9">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
<asp:TextBox runat="server" ID="txtSearch" CssClass="form form-control" AutoPostBack="True" OnTextChanged="txtSearch_TextChanged" placeholder="Ricerca" Width="5em" />
|
||||
</div>
|
||||
<asp:DropDownList runat="server" ID="ddlArticolo" DataSourceID="odsArticoli" DataTextField="label" DataValueField="value" CssClass="form-control" OnSelectedIndexChanged="ddlArticolo_SelectedIndexChanged" AutoPostBack="true"></asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsArticoli" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
SelectMethod="getByConditio" TypeName="MapoDb.DS_UtilityTableAdapters.v_selArticoliTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="txtSearch" DefaultValue="Non definito" Name="conditio" PropertyName="Text" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfCodTipo" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-3">
|
||||
<asp:LinkButton runat="server" ID="lbtAddNew" CssClass="btn btn-block btn-success" OnClick="lbtAddNew_Click">SAVE <i class="fa fa-floppy-o" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<asp:Label runat="server" ID="lblMessage" CssClass="text-danger" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,112 @@
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_TechSheetArtAddNew : BaseUserControl
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
public string CodArticolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return ddlArticolo.SelectedValue;
|
||||
}
|
||||
}
|
||||
|
||||
public string CodTempl
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfCodTipo.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfCodTipo.Value = value;
|
||||
preliminaryCheck();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// verifiche preliminari inserimento scheda
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool preliminaryCheck()
|
||||
{
|
||||
bool answ = false;
|
||||
// verifico OK selezione tipo
|
||||
if (string.IsNullOrEmpty(CodTempl))
|
||||
{
|
||||
displError("Errore! prego selezionare tipo scheda per proseguire.");
|
||||
}
|
||||
else
|
||||
{
|
||||
// verifico NON esista già
|
||||
var tabST = DataLayerObj.taSTA.getBySearchArt(CodArticolo, CodTempl);
|
||||
if (tabST.Rows.Count > 0)
|
||||
{
|
||||
displError("Errore! Scheda articolo già presente.");
|
||||
}
|
||||
else
|
||||
{
|
||||
// ok valido!
|
||||
answ = true;
|
||||
}
|
||||
}
|
||||
lbtAddNew.Enabled = answ;
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// selezione articolo
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlArticolo_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
preliminaryCheck();
|
||||
}
|
||||
|
||||
protected void displError(string message)
|
||||
{
|
||||
lblMessage.Text = message;
|
||||
lblMessage.Visible = !string.IsNullOrEmpty(message);
|
||||
}
|
||||
|
||||
protected void lbtAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
bool checkOk = preliminaryCheck();
|
||||
if (checkOk)
|
||||
{
|
||||
DataLayerObj.taSTA.InsertQuery(CodTempl, CodArticolo, user_std.UtSn.userNameAD);
|
||||
raiseNewVal();
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
lblMessage.Visible = false;
|
||||
}
|
||||
|
||||
protected void txtSearch_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
ddlArticolo.DataBind();
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_TechSheetArtAddNew
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo txtSearch.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.TextBox txtSearch;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ddlArticolo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.DropDownList ddlArticolo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsArticoli.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsArticoli;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodTipo.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCodTipo;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbtAddNew.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbtAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblMessage.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblMessage;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetDetail.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetDetail" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ImageArchive.ascx" TagPrefix="uc1" TagName="cmp_ImageArchive" %>
|
||||
|
||||
<div runat="server" id="divDetail" class="row border border-info">
|
||||
<div class="col-12">
|
||||
<div class="row table-info py-1">
|
||||
<asp:Repeater runat="server" ID="repAddTemplate" DataSourceID="odsGruppi">
|
||||
<ItemTemplate>
|
||||
<div class="col">
|
||||
<asp:LinkButton ID="lbtAddTemplate" runat="server" CssClass='<%# "btn btn-sm btn-block " + Eval("CssClass") %>' CommandArgument='<%# Eval("CodGruppo") %>' OnClick="lbtAddTemplate_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmAddTemplateRows") %>'><i class="fa fa-plus" aria-hidden="true"></i> <%# Eval("DescGruppo")%></asp:LinkButton>
|
||||
</div>
|
||||
</ItemTemplate>
|
||||
</asp:Repeater>
|
||||
<asp:ObjectDataSource runat="server" ID="odsGruppi" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_AnagGruppiTableAdapter"></asp:ObjectDataSource>
|
||||
<%--<div class="col">
|
||||
<asp:HyperLink runat="server" ID="hlImageArchive" Target="_blank" NavigateUrl="~/ImageArchive" CssClass="btn btn-sm btn-block btn-primary text-light">
|
||||
<i class="fa fa-file-image-o" aria-hidden="true"></i> <%: traduci("ImageArchive") %> <i class="fa fa-arrow-right" aria-hidden="true"></i>
|
||||
</asp:HyperLink>
|
||||
</div>--%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 mb-1 py-1 table-info border border-info border-top-0 border-left-0 border-right-0">
|
||||
<uc1:cmp_ImageArchive runat="server" ID="cmp_ImageArchive" />
|
||||
<asp:HiddenField runat="server" ID="hfSelImage" />
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<asp:GridView runat="server" ID="grView" DataSourceID="ods" CssClass="table table-sm table-striped" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="IdxST,Label,Oggetto" OnRowUpdated="grView_RowUpdated" OnRowCancelingEdit="grView_RowCancelingEdit" OnRowEditing="grView_RowEditing" OnRowDeleted="grView_RowDeleted">
|
||||
<EditRowStyle CssClass="table-info" />
|
||||
<SelectedRowStyle CssClass="table-info" />
|
||||
<PagerStyle CssClass="active GridPager" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
<EmptyDataTemplate>
|
||||
Nessun record trovato
|
||||
</EmptyDataTemplate>
|
||||
<Columns>
|
||||
<%--<asp:BoundField DataField="IdxST" HeaderText="IdxST" ReadOnly="True" SortExpression="IdxST" />--%>
|
||||
|
||||
<%--<asp:BoundField DataField="CodGruppo" HeaderText="CodGruppo" SortExpression="CodGruppo" />--%>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<HeaderTemplate>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtEdit" runat="server" CausesValidation="False" CommandName="Edit" CssClass="btn btn-sm btn-primary"><i class="fa fa-edit" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="True" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fa fa-check" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="DescGruppo" HeaderText="Gruppo" SortExpression="DescGruppo" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Oggetto" HeaderText="Oggetto" ReadOnly="True" SortExpression="Oggetto" />
|
||||
<%--<asp:BoundField DataField="Label" HeaderText="Label" ReadOnly="True" SortExpression="Label" />--%>
|
||||
<asp:BoundField DataField="Note" HeaderText="Note" SortExpression="Note" ReadOnly="True" />
|
||||
<%--<asp:BoundField DataField="CodTipo" HeaderText="CodTipo" SortExpression="CodTipo" />--%>
|
||||
<asp:BoundField DataField="DescTipo" HeaderText="Tipo" SortExpression="DescTipo" ReadOnly="True" />
|
||||
<asp:BoundField DataField="Num" HeaderText="Num" SortExpression="Num" ReadOnly="True" />
|
||||
<asp:TemplateField HeaderText="Valore" SortExpression="Value">
|
||||
<EditItemTemplate>
|
||||
<div class="input-group mb-3">
|
||||
<asp:TextBox ID="txtValue" runat="server" Text='<%# Bind("Value") %>' CssClass="form-control" />
|
||||
<div runat="server" id="divSelImg" class="input-group-append" visible='<%# showImage(Eval("CodTipo")) %>'>
|
||||
<asp:LinkButton runat="server" ID="lbtSelImage" CssClass="input-group-text btn btn-block" OnClick="lbtSelImage_Click" CommandArgument='<%# Eval("Value") %>'><i class="fa fa-arrow-left" aria-hidden="true"></i> <i class="fa fa-file-image-o" aria-hidden="true"></i></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
</EditItemTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblValue" runat="server" Text='<%# Eval("Value") %>' />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField DataField="CheckType" HeaderText="Check" SortExpression="CheckType" ReadOnly="True" />
|
||||
<asp:CheckBoxField DataField="Required" HeaderText="Req" SortExpression="Required" ReadOnly="True" />
|
||||
<%--<asp:BoundField DataField="ExtCode" HeaderText="ExtCode" SortExpression="ExtCode" />--%>
|
||||
<asp:TemplateField ShowHeader="False">
|
||||
<ItemTemplate>
|
||||
<asp:LinkButton ID="lbtDelete" runat="server" CausesValidation="False" CommandName="Delete" CssClass="btn btn-sm btn-danger" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmDelete") %>'><i class="fa fa-trash" aria-hidden="true"></i></asp:LinkButton>
|
||||
</ItemTemplate>
|
||||
<EditItemTemplate>
|
||||
<asp:LinkButton ID="lbtCancel" runat="server" CausesValidation="False" CommandName="Cancel" CssClass="btn btn-sm btn-warning"><i class="fa fa-ban" aria-hidden="true"></i></asp:LinkButton>
|
||||
</EditItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
<asp:ObjectDataSource runat="server" ID="ods" OldValuesParameterFormatString="original_{0}" SelectMethod="getByST" TypeName="MapoDb.DS_SheetTechTableAdapters.ST_ActualRowTableAdapter" DeleteMethod="DeleteQuery" UpdateMethod="UpdateVal">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfIdxST" Name="IdxST" PropertyName="Value" Type="Int32" />
|
||||
</SelectParameters>
|
||||
<DeleteParameters>
|
||||
<asp:Parameter Name="Original_IdxST" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Label" Type="String" />
|
||||
<asp:Parameter Name="Original_Oggetto" Type="Int32" />
|
||||
</DeleteParameters>
|
||||
<UpdateParameters>
|
||||
<asp:Parameter Name="Original_IdxST" Type="Int32" />
|
||||
<asp:Parameter Name="Original_Label" Type="String" />
|
||||
<asp:Parameter Name="Original_Oggetto" Type="Int32" />
|
||||
<asp:Parameter Name="Value" Type="String" />
|
||||
</UpdateParameters>
|
||||
</asp:ObjectDataSource>
|
||||
<asp:HiddenField runat="server" ID="hfIdxST" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,163 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_TechSheetDetail : BaseUserControl
|
||||
{
|
||||
#region Protected Properties
|
||||
|
||||
protected string selImage
|
||||
{
|
||||
get
|
||||
{
|
||||
return hfSelImage.Value;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfSelImage.Value = value;
|
||||
// seleziono solo NOME SENZA SEDISENZA:..
|
||||
string nameOnly = value;
|
||||
if (nameOnly.Contains("."))
|
||||
{
|
||||
nameOnly = nameOnly.Substring(0, nameOnly.IndexOf("."));
|
||||
}
|
||||
cmp_ImageArchive.SearchVal = nameOnly;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public int IdxST
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfIdxST.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxST.Value = $"{value}";
|
||||
doUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void checkVisibility()
|
||||
{
|
||||
divDetail.Visible = IdxST > 0;
|
||||
cmp_ImageArchive.Visible = !string.IsNullOrEmpty(selImage);
|
||||
}
|
||||
|
||||
private void Cmp_ImageArchive_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
// se in edit --> scrivo valore selezionato...
|
||||
if (!string.IsNullOrEmpty(cmp_ImageArchive.selImage))
|
||||
{
|
||||
if (grView.EditIndex >= 0)
|
||||
{
|
||||
var grRow = grView.Rows[grView.EditIndex];
|
||||
if (grRow != null)
|
||||
{
|
||||
TextBox txtValore = (TextBox)grRow.FindControl("txtValue");
|
||||
txtValore.Text = cmp_ImageArchive.selImage;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void grView_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
|
||||
{
|
||||
selImage = "";
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
protected void grView_RowDeleted(object sender, GridViewDeletedEventArgs e)
|
||||
{
|
||||
selImage = "";
|
||||
checkVisibility();
|
||||
raiseNewVal();
|
||||
}
|
||||
|
||||
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
|
||||
{
|
||||
selImage = "";
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
protected void grView_RowUpdated(object sender, GridViewUpdatedEventArgs e)
|
||||
{
|
||||
selImage = "";
|
||||
checkVisibility();
|
||||
raiseNewVal();
|
||||
}
|
||||
|
||||
protected void lbtAddTemplate_Click(object sender, EventArgs e)
|
||||
{
|
||||
// recupero argomento...
|
||||
LinkButton lbt = (LinkButton)sender;
|
||||
if (!string.IsNullOrEmpty(lbt.CommandArgument))
|
||||
{
|
||||
// chiamo stored x aggiungere da template...
|
||||
DataLayerObj.taSTAR.addByTemplate(IdxST, lbt.CommandArgument);
|
||||
}
|
||||
doUpdate();
|
||||
raiseNewVal();
|
||||
}
|
||||
|
||||
protected void lbtSelImage_Click(object sender, EventArgs e)
|
||||
{
|
||||
LinkButton lbt = (LinkButton)sender;
|
||||
if (lbt != null)
|
||||
{
|
||||
string filtImage = string.IsNullOrEmpty(lbt.CommandArgument) ? "*" : lbt.CommandArgument;
|
||||
selImage = filtImage;
|
||||
}
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
cmp_ImageArchive.Visible = false;
|
||||
}
|
||||
checkVisibility();
|
||||
cmp_ImageArchive.eh_selValore += Cmp_ImageArchive_eh_selValore;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public void doUpdate()
|
||||
{
|
||||
grView.SelectedIndex = -1;
|
||||
grView.DataBind();
|
||||
checkVisibility();
|
||||
}
|
||||
|
||||
public bool showImage(object CodTipo)
|
||||
{
|
||||
bool answ = false;
|
||||
answ = CodTipo.ToString().Equals("IMG");
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_TechSheetDetail
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divDetail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divDetail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo repAddTemplate.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater repAddTemplate;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo odsGruppi.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource odsGruppi;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_ImageArchive.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_ImageArchive cmp_ImageArchive;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfSelImage.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfSelImage;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView grView;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxST.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxST;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_TechSheetMan.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_TechSheetMan" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_TechSheetArt.ascx" TagPrefix="uc1" TagName="cmp_TechSheetArt" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_TechSheetDetail.ascx" TagPrefix="uc1" TagName="cmp_TechSheetDetail" %>
|
||||
<%@ Register Src="~/WebUserControls/cmp_ST_preview.ascx" TagPrefix="uc1" TagName="cmp_ST_preview" %>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
<uc1:cmp_TechSheetArt runat="server" ID="cmp_TechSheetArt" />
|
||||
</div>
|
||||
<div class="col-8">
|
||||
<uc1:cmp_ST_preview runat="server" ID="cmp_ST_preview" />
|
||||
<uc1:cmp_TechSheetDetail runat="server" ID="cmp_TechSheetDetail" />
|
||||
<asp:HiddenField runat="server" ID="hfIdxST" Value="0" />
|
||||
<asp:HiddenField runat="server" ID="hfEditMode" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
public partial class cmp_TechSheetMan : System.Web.UI.UserControl
|
||||
{
|
||||
#region Protected Fields
|
||||
|
||||
protected int dummyArt = 0;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected bool editMode
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
bool.TryParse(hfEditMode.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfEditMode.Value = $"{value}";
|
||||
fixShowDetail(value);
|
||||
}
|
||||
}
|
||||
|
||||
protected int IdxST
|
||||
{
|
||||
get
|
||||
{
|
||||
int answ = 0;
|
||||
int.TryParse(hfIdxST.Value, out answ);
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
hfIdxST.Value = $"{value}";
|
||||
cmp_TechSheetDetail.IdxST = value;
|
||||
cmp_ST_preview.IdxST = value;
|
||||
fixShowDetail(false);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Selezione preview --> edit
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void Cmp_ST_preview_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
editMode = true;
|
||||
}
|
||||
|
||||
private void Cmp_ST_preview_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
// resetto...
|
||||
IdxST = dummyArt;
|
||||
cmp_TechSheetArt.doUpdate();
|
||||
}
|
||||
|
||||
private void Cmp_TechSheetArt_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
IdxST = dummyArt;
|
||||
}
|
||||
|
||||
private void Cmp_TechSheetArt_eh_resetSelezione(object sender, EventArgs e)
|
||||
{
|
||||
IdxST = dummyArt;
|
||||
}
|
||||
|
||||
private void Cmp_TechSheetArt_eh_selValore(object sender, EventArgs e)
|
||||
{
|
||||
//cmp_TechSheetDetail.Visible = true;
|
||||
IdxST = cmp_TechSheetArt.IdxStSel;
|
||||
}
|
||||
|
||||
private void Cmp_TechSheetDetail_eh_nuovoValore(object sender, EventArgs e)
|
||||
{
|
||||
// aggiorno articolo
|
||||
cmp_TechSheetArt.doUpdate();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sistemazione visualizzazione dettagli
|
||||
/// </summary>
|
||||
/// <param name="editMode"></param>
|
||||
private void fixShowDetail(bool editMode)
|
||||
{
|
||||
// sistemo visualizzazione dettagli
|
||||
if (IdxST > 0)
|
||||
{
|
||||
cmp_TechSheetDetail.Visible = editMode;
|
||||
cmp_ST_preview.Visible = !editMode;
|
||||
}
|
||||
else
|
||||
{
|
||||
cmp_TechSheetDetail.Visible = false;
|
||||
cmp_ST_preview.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
cmp_TechSheetArt.resetSelezione();
|
||||
IdxST = dummyArt;
|
||||
editMode = false;
|
||||
}
|
||||
cmp_TechSheetArt.eh_nuovoValore += Cmp_TechSheetArt_eh_nuovoValore;
|
||||
cmp_TechSheetArt.eh_selValore += Cmp_TechSheetArt_eh_selValore;
|
||||
cmp_TechSheetArt.eh_resetSelezione += Cmp_TechSheetArt_eh_resetSelezione;
|
||||
cmp_TechSheetDetail.eh_nuovoValore += Cmp_TechSheetDetail_eh_nuovoValore;
|
||||
cmp_ST_preview.eh_nuovoValore += Cmp_ST_preview_eh_nuovoValore;
|
||||
cmp_ST_preview.eh_resetSelezione += Cmp_ST_preview_eh_resetSelezione;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MP_ADM.WebUserControls
|
||||
{
|
||||
|
||||
|
||||
public partial class cmp_TechSheetMan
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_TechSheetArt.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_TechSheetArt cmp_TechSheetArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_ST_preview.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_ST_preview cmp_ST_preview;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo cmp_TechSheetDetail.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::MP_ADM.WebUserControls.cmp_TechSheetDetail cmp_TechSheetDetail;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfIdxST.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfIdxST;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfEditMode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfEditMode;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_fileUpload.ascx.cs" Inherits="MP_ADM.WebUserControls.cmp_fileUpload" %>
|
||||
|
||||
<asp:HiddenField runat="server" ID="hfWriteEnabled" />
|
||||
<asp:HiddenField runat="server" ID="hfForceRedirect" />
|
||||
<asp:HiddenField runat="server" ID="hfFilePrefix" />
|
||||
<asp:HiddenField runat="server" ID="hfFileSuffix" />
|
||||
<div id="divFileUpl" runat="server" class="row">
|
||||
<div class="col-12 col-sm-3 col-md-2">
|
||||
<asp:LinkButton ID="lbtCancel" runat="server" Text="Annulla" OnClick="btnCancel_Click" CssClass="btn btn-warning form-control"><%: traduci("cancel") %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col-12 col-sm-6 col-md-8">
|
||||
<asp:FileUpload ID="FileUpload1" runat="server" CssClass="form-control py-1" />
|
||||
</div>
|
||||
<div class="col-12 col-sm-3 col-md-2">
|
||||
<asp:LinkButton ID="lbtUpload" runat="server" Text="Upload" OnClick="Upload" CssClass="btn btn-success form-control"><%: traduci("doUpload") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divNewEdit" runat="server" class="row">
|
||||
<div class="col-12 col-sm-3 col-md-2">
|
||||
<asp:LinkButton ID="btnAdd" runat="server" OnClick="btnAdd_Click" CssClass="btn btn-info form-control"><%: traduci("UploadFile") %></asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div id="divMessagge" runat="server" class="bg-danger border border-danger text-center my-2">
|
||||
<asp:Label runat="server" ID="lblMessage" CssClass="text-warning" />
|
||||
</div>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user