A credit page.
* Contact.aspx: a form background color * Index.aspx: A link to the credits page * HomeController.cs: A Credits page * Credits.aspx: A page title and H1 links * AssemblyInfo.aspx: A relevant title
This commit is contained in:
parent
ec99edcc4e
commit
c79921ea58
6 changed files with 24 additions and 13 deletions
|
|
@ -1,3 +1,15 @@
|
|||
2015-10-08 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* Contact.aspx: a form background color
|
||||
|
||||
* Index.aspx: A link to the credits page
|
||||
|
||||
* HomeController.cs: A Credits page
|
||||
|
||||
* Credits.aspx: A page title and H1 links
|
||||
|
||||
* AssemblyInfo.aspx: A relevant title
|
||||
|
||||
2015-10-08 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* style.css: yastyle
|
||||
|
|
|
|||
|
|
@ -86,6 +86,10 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
return View ();
|
||||
}
|
||||
public ActionResult Credits ()
|
||||
{
|
||||
return View ();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Contact the specified email, reason and body.
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<%@ Page Title="Yavsc - index" Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<System.Reflection.AssemblyName>>" MasterPageFile="~/Models/App.master"%>
|
||||
<%@ Page Title="Assemblies" Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<System.Reflection.AssemblyName>>" MasterPageFile="~/Models/App.master"%>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<p>
|
||||
Running assembly :
|
||||
<%= GetType().Assembly.FullName %></p>
|
||||
<p>
|
||||
Assemblies referenced in this application :
|
||||
</p>
|
||||
<ul>
|
||||
<% foreach (System.Reflection.AssemblyName item in Model) { %>
|
||||
<li><%= item.FullName %></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</p>
|
||||
</asp:Content>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<% using (Html.BeginForm("Contact", "Home")) { %>
|
||||
<fieldset>
|
||||
<legend>Message</legend>
|
||||
<p>
|
||||
<%= Html.Label("email") %>:
|
||||
<%= Html.ValidationMessage("email") %><br/>
|
||||
|
|
@ -17,6 +19,7 @@
|
|||
<%= Html.ValidationMessage("body") %><br/>
|
||||
<%= Html.TextArea("body") %>
|
||||
</p>
|
||||
</fieldset>
|
||||
<input type="submit">
|
||||
<% } %>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,5 @@
|
|||
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
<asp:Content ID="initContent" ContentPlaceHolderID="init" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="headContent" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="overHeaderOneContent" ContentPlaceHolderID="overHeaderOne" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="headerContent" ContentPlaceHolderID="header" runat="server">
|
||||
</asp:Content>
|
||||
<%@ Page Title="Credits" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
|
||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
||||
<div>Icons made by <a href="http://www.flaticon.com/authors/vectorgraphit" title="Vectorgraphit">Vectorgraphit</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0">CC BY 3.0</a></div>
|
||||
</asp:Content>
|
||||
<asp:Content ID="MASContentContent" ContentPlaceHolderID="MASContent" runat="server">
|
||||
</asp:Content>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<div>
|
||||
<%= Html.ActionLink("Les blogs", "Index", "Blogs",null, new { @class="actionlink" }) %>
|
||||
<%= Html.ActionLink("Contact", "Contact", "Home", null, new { @class="actionlink" }) %>
|
||||
<%= Html.ActionLink("Credits", "Credits", "Home", null, new { @class="actionlink" }) %>
|
||||
<%= Html.ActionLink("Version des librairies", "AssemblyInfo", "Home", null, new { @class="actionlink" }) %>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue