* LocalizedText.resx:

* LocalizedText.fr.resx:
* RssFeedsFormatter.cs:
* LocalizedText.Designer.cs: 

* Web.csproj:
* Contact.aspx:
* AOEMail.aspx:
* AssemblyInfo.aspx:
* ReferencedAssemblies.aspx: refactoring

* RssFeeds.cs: Rss feeds in progress

* HomeController.cs: - refactoring
- fixes contact page


* style.css: css for textarea and input

* Index.aspx: Contact & Assembly info in index

* YavscModel.csproj: Rss feeds
This commit is contained in:
Paul Schneider 2015-01-23 17:34:09 +01:00
commit 7694f4d8b3
13 changed files with 261 additions and 63 deletions

View file

@ -1,2 +0,0 @@
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>

View file

@ -1,9 +1,12 @@
<%@ Page Title="Yavsc - indexe" Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<System.Reflection.AssemblyName>>" MasterPageFile="~/Models/App.master"%>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<p><%= GetType().Assembly.FullName %></p>
<p>
<ul>
<% foreach (System.Reflection.AssemblyName item in Model) { %>
<li><%= item.FullName %></li>
<% } %>
</ul>
</p>
</asp:Content>

View file

@ -0,0 +1,23 @@
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
<% using (Html.BeginForm("Contact", "Home")) { %>
<p>
<%= Html.Label("email") %>:
<%= Html.ValidationMessage("email") %><br/>
<%= Html.TextBox("email") %>
</p>
<p>
<%= Html.Label("reason") %>:
<%= Html.ValidationMessage("reason") %><br/>
<%= Html.TextBox("reason") %>
</p>
<p>
<%= Html.Label("body") %>:
<%= Html.ValidationMessage("body") %><br/>
<%= Html.TextArea("body") %>
</p>
<input type="submit">
<% } %>
</asp:Content>

View file

@ -6,6 +6,9 @@
<br/><a href="http://unefenetresurlemonde.over-blog.com/article-34325590.html">Ghost Dog, la Voie du samouraï</a>
</p><div>
<%= Html.ActionLink("Les blogs","Index","Blogs",null, new { @class="actionlink" }) %>
<%= Html.ActionLink("Contact","Contact") %>
<%= Html.ActionLink("Version des librairies","AssemblyInfo") %>
</div>
</asp:Content>