Refresh generico...

This commit is contained in:
Samuele E. Locatelli
2019-07-29 19:30:05 +02:00
parent 9ddb750aac
commit 80b759f65e
16 changed files with 1097 additions and 0 deletions
File diff suppressed because it is too large Load Diff
Binary file not shown.
View File
Binary file not shown.
Binary file not shown.
+1
View File
@@ -5,6 +5,7 @@
<IISExpressAnonymousAuthentication>disabled</IISExpressAnonymousAuthentication>
<IISExpressWindowsAuthentication>enabled</IISExpressWindowsAuthentication>
<NameOfLastUsedPublishProfile>IIS01</NameOfLastUsedPublishProfile>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
Binary file not shown.
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace StockManMVC.Models
{
public static class ImageHelper
{
public static MvcHtmlString Image(this HtmlHelper helper, string src, string altText, string height)
{
var builder = new TagBuilder("img");
builder.MergeAttribute("src", src);
builder.MergeAttribute("alt", altText);
builder.MergeAttribute("height", height);
return MvcHtmlString.Create(builder.ToString(TagRenderMode.SelfClosing));
}
}
}
+2
View File
@@ -181,6 +181,7 @@
<Compile Include="Models\CountersList.cs">
<DependentUpon>SMModel.tt</DependentUpon>
</Compile>
<Compile Include="Models\ImageHelper.cs" />
<Compile Include="Models\PartialClasses.cs" />
<Compile Include="Controllers\vItemFlux2SaveController.cs" />
<Compile Include="GlimpseSecurityPolicy.cs" />
@@ -334,6 +335,7 @@
<Content Include="Content\bootstrap.css.map" />
<Content Include="Content\bootstrap-theme.min.css.map" />
<Content Include="Content\bootstrap-theme.css.map" />
<Content Include="image\QR_demo.png" />
<Content Include="Models\SMModel.Context.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<DependentUpon>SMModel.edmx</DependentUpon>
+1
View File
@@ -19,6 +19,7 @@
<IISExpressSSLPort />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.
@@ -19,3 +19,9 @@ C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\o
C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.csproj.CoreCompileInputs.cache
C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.dll
C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\StockMan\VersGen\obj\Debug\VersGen.pdb
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\bin\Debug\VersGen.dll
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\bin\Debug\VersGen.pdb
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.csprojAssemblyReference.cache
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.csproj.CoreCompileInputs.cache
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.dll
C:\Users\samuele.steamw\Documents\VisualStudioProject\StockMan\VersGen\obj\Debug\VersGen.pdb