Implements the alternate style sheet publication

* style.css: this floating breaks my dark style

* Global.asax: the application object is now compiled at runtime,
its code is in App_Code

* YavscHelpers.cs: Implements a method helping to refer on themed
  stylesheets,
presenting the "alternate" stylesheet usage.

* App.master: Uses the new Helper function to refer on the
main style sheet `style.css`

* Web.config: * no more default controller, instead, modify the app
  code
* the client side javascript validation is custommized, and we do not
  need the M$ js for now

* Web.csproj: Global.asax.cs becomes a content, compiled at runtime,
  found in ~/App_Code

* Global.asax.cs: Now compiles at runtime.

* Makefile: adds my deployment targets
This commit is contained in:
2015-11-18 12:33:19 +01:00
parent a62cff223c
commit 47285f8b83
10 changed files with 108 additions and 21 deletions

View File

@ -144,12 +144,10 @@
<Folder Include="Views\PayPal\" />
<Folder Include="Views\Modules\" />
<Folder Include="xmldoc\" />
<Folder Include="App_Code\" />
</ItemGroup>
<ItemGroup>
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon>
</Compile>
<Compile Include="Controllers\AccountController.cs" />
<Compile Include="Controllers\BlogsController.cs" />
<Compile Include="AssemblyInfo.cs" />
@ -490,6 +488,7 @@
<Content Include="Scripts\yavsc.skills.js" />
<Content Include="Views\FrontOffice\UserSkills.aspx" />
<Content Include="Views\FrontOffice\UserCard.ascx" />
<Content Include="App_Code\Global.asax.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />