Merge from booking branch
This commit is contained in:
parent
25906d0227
commit
9a2652739b
266 changed files with 12833 additions and 2337 deletions
19
booking/Views/Home/AssemblyInfo.aspx
Normal file
19
booking/Views/Home/AssemblyInfo.aspx
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<%@ 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">
|
||||
<div class="panel">
|
||||
<p>
|
||||
Running assembly :
|
||||
<%= GetType().Assembly.FullName %></p>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<p>
|
||||
Assemblies referenced in this application :
|
||||
</p>
|
||||
<ul>
|
||||
<% foreach (System.Reflection.AssemblyName item in Model) { %>
|
||||
<li><%= item.FullName %></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</div>
|
||||
</asp:Content>
|
||||
|
||||
37
booking/Views/Home/Contact.aspx
Normal file
37
booking/Views/Home/Contact.aspx
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
<%@ Page Title="Contact" Language="C#" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<div class="panel">
|
||||
<p>
|
||||
Directeur : <br>
|
||||
Adresse postale : <br>
|
||||
Tél. : +33 <br>
|
||||
Tél. : +33 <br>
|
||||
SIREN : <br>
|
||||
SIRET : <br>
|
||||
Activité Principalement Exercée (APE) : <br>
|
||||
</p>
|
||||
<% using (Html.BeginForm("Contact", "Home")) { %>
|
||||
<fieldset>
|
||||
<legend>Message</legend>
|
||||
<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>
|
||||
</fieldset>
|
||||
<input type="submit" value="<%=Html.Translate("Submit")%>">
|
||||
|
||||
<% } %>
|
||||
</div>
|
||||
</asp:Content>
|
||||
5
booking/Views/Home/Credits.aspx
Normal file
5
booking/Views/Home/Credits.aspx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<%@ 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>
|
||||
16
booking/Views/Home/Index.aspx
Normal file
16
booking/Views/Home/Index.aspx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<%@ Page Title="Home" Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Models/App.master"%>
|
||||
<asp:Content ContentPlaceHolderID="MainContent" ID="MainContentContent" runat="server">
|
||||
<%= Html.Partial("TagPanel",ViewData["Accueil"]) %>
|
||||
<%= Html.Partial("TagPanel",ViewData["Événements"]) %>
|
||||
<%= Html.Partial("TagPanel",ViewData["Mentions légales"]) %>
|
||||
|
||||
</asp:Content>
|
||||
<asp:Content ContentPlaceHolderID="MASContent" ID="MASContentContent" runat="server">
|
||||
<div class="panel">
|
||||
<%= Html.ActionLink("Les articles", "Index", "Blogs") %>
|
||||
<%= 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>
|
||||
|
||||
13
booking/Views/Home/TagPanel.ascx
Normal file
13
booking/Views/Home/TagPanel.ascx
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TagInfo>" %>
|
||||
<div class="panel">
|
||||
<h2><%=Html.Encode(Model.Name)%></h2>
|
||||
<% foreach (var t in Model.Titles) { %>
|
||||
<div class="postpreview">
|
||||
<a href="<%= Url.RouteUrl("Titles", new { title = t.Title }) %>">
|
||||
<% if (t.Photo != null ) { %>
|
||||
<img src="<%=t.Photo%>" alt="placard" class="photo"><% } %>
|
||||
<%= Html.Markdown(t.Title,"/bfiles/"+t.Id+"/")%></a>
|
||||
<%= Html.Markdown(t.Intro,"/bfiles/"+t.Id+"/") %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue