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>
|
2015-10-08 Paul Schneider <paul@pschneider.fr>
|
||||||
|
|
||||||
* style.css: yastyle
|
* style.css: yastyle
|
||||||
|
|
|
||||||
|
|
@ -86,6 +86,10 @@ namespace Yavsc.Controllers
|
||||||
{
|
{
|
||||||
return View ();
|
return View ();
|
||||||
}
|
}
|
||||||
|
public ActionResult Credits ()
|
||||||
|
{
|
||||||
|
return View ();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contact the specified email, reason and body.
|
/// 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">
|
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||||
<p>
|
<p>
|
||||||
Running assembly :
|
Running assembly :
|
||||||
<%= GetType().Assembly.FullName %></p>
|
<%= GetType().Assembly.FullName %></p>
|
||||||
<p>
|
<p>
|
||||||
Assemblies referenced in this application :
|
Assemblies referenced in this application :
|
||||||
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<% foreach (System.Reflection.AssemblyName item in Model) { %>
|
<% foreach (System.Reflection.AssemblyName item in Model) { %>
|
||||||
<li><%= item.FullName %></li>
|
<li><%= item.FullName %></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||||
<% using (Html.BeginForm("Contact", "Home")) { %>
|
<% using (Html.BeginForm("Contact", "Home")) { %>
|
||||||
|
<fieldset>
|
||||||
|
<legend>Message</legend>
|
||||||
<p>
|
<p>
|
||||||
<%= Html.Label("email") %>:
|
<%= Html.Label("email") %>:
|
||||||
<%= Html.ValidationMessage("email") %><br/>
|
<%= Html.ValidationMessage("email") %><br/>
|
||||||
|
|
@ -17,6 +19,7 @@
|
||||||
<%= Html.ValidationMessage("body") %><br/>
|
<%= Html.ValidationMessage("body") %><br/>
|
||||||
<%= Html.TextArea("body") %>
|
<%= Html.TextArea("body") %>
|
||||||
</p>
|
</p>
|
||||||
|
</fieldset>
|
||||||
<input type="submit">
|
<input type="submit">
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,5 @@
|
||||||
<%@ Page Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
<%@ Page Title="Credits" 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>
|
|
||||||
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
|
<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>
|
<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>
|
||||||
<asp:Content ID="MASContentContent" ContentPlaceHolderID="MASContent" runat="server">
|
|
||||||
</asp:Content>
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
<div>
|
<div>
|
||||||
<%= Html.ActionLink("Les blogs", "Index", "Blogs",null, new { @class="actionlink" }) %>
|
<%= Html.ActionLink("Les blogs", "Index", "Blogs",null, new { @class="actionlink" }) %>
|
||||||
<%= Html.ActionLink("Contact", "Contact", "Home", 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" }) %>
|
<%= Html.ActionLink("Version des librairies", "AssemblyInfo", "Home", null, new { @class="actionlink" }) %>
|
||||||
</div>
|
</div>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue