* 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:
parent
2f6146c0f7
commit
7694f4d8b3
13 changed files with 261 additions and 63 deletions
|
|
@ -1,2 +0,0 @@
|
|||
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
|
||||
|
|
@ -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>
|
||||
|
||||
23
web/Views/Home/Contact.aspx
Normal file
23
web/Views/Home/Contact.aspx
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue