100 lines
4.6 KiB
Plaintext
100 lines
4.6 KiB
Plaintext
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" %>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<asp:ContentPlaceHolder id="init" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
<% ViewState["orgtitle"] = Html.Translate(Page.Title);
|
|
Page.Title = ViewState["orgtitle"] + " - " + YavscHelpers.SiteName;
|
|
%><head runat="server">
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/style.css")%>" />
|
|
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/font-awesome.css")%>" />
|
|
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/jquery-ui.css")%>" />
|
|
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/prettify.css")%>" />
|
|
<link rel="stylesheet" href="<%=Url.Content("~/App_Themes/doxy.css")%>" />
|
|
<link rel="icon" type="image/png" href="/favicon.png?v=3" />
|
|
<script src="<%=Url.Content("~/Scripts/jquery-2.1.4.min.js")%>"></script>
|
|
<script src="<%=Url.Content("~/Scripts/jquery-ui-1.11.4.js")%>"></script>
|
|
<script src="<%=Url.Content("~/Scripts/parralax.js")%>"></script>
|
|
<script src="<%=Url.Content("~/Scripts/Prettify/run_prettify.js")%>"></script>
|
|
<script type="text/javascript">
|
|
var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>';
|
|
</script>
|
|
<script src="<%=Url.Content("~/Scripts/yavsc.js")%>">
|
|
|
|
</script>
|
|
<asp:ContentPlaceHolder id="head" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
</head>
|
|
<body>
|
|
<header data-type="background" data-speed="8" >
|
|
<asp:ContentPlaceHolder ID="overHeaderOne" runat="server">
|
|
<h1><a href="<%= Url.Content("~/") %>">
|
|
<%=ViewState["orgtitle"]%></a>
|
|
- <a href="<%= Url.RouteUrl("Default", new {controller="Home" }) %>"><%= YavscHelpers.SiteName %></a>
|
|
</h1>
|
|
</asp:ContentPlaceHolder>
|
|
<asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder>
|
|
<div id="notifications"></div>
|
|
<%if (ViewData ["Notifications"]!=null) { %>
|
|
<script>
|
|
$(document).ready(function(){
|
|
<% foreach (string note in (IEnumerable<string>) ViewData ["Notifications"] ) { %>
|
|
Yavsc.notice('<%=note%>');
|
|
<% } %>
|
|
});
|
|
</script>
|
|
<% } %>
|
|
</header>
|
|
<nav data-type="background" data-speed="2">
|
|
<% if (Membership.GetUser()==null) { %>
|
|
<a href="<%= Url.RouteUrl("Default", new { controller = "Account", action = "Login", returnUrl=Request.Url.PathAndQuery}) %>" class="menuitem" accesskey = "C">
|
|
<i class="fa fa-sign-in">Connexion</i>
|
|
</a>
|
|
<% } else { %>
|
|
<a href="<%=Url.RouteUrl("Blogs", new { user = HttpContext.Current.User.Identity.Name } )%>" accesskey = "B" class="menuitem" >
|
|
<img src="<%=Url.AvatarUrl(HttpContext.Current.User.Identity.Name)%>" alt="vos billets" class="iconsmall" />
|
|
<span class="hint">Vos billets</span>
|
|
</a>
|
|
<a href="<%= Url.RouteUrl("Default", new { controller = "Account", action = "Profile", id = HttpContext.Current.User.Identity.Name} ) %>" accesskey="P" class="menuitem">
|
|
<i class="fa fa-user"><%= HttpContext.Current.User.Identity.Name %>
|
|
<span class="hint"> Édition de votre profile </span></i>
|
|
</a>
|
|
<a href="/Blogs/Post" accesskey="P" class="menuitem">
|
|
<i class="fa fa-pencil"><u>P</u>oster
|
|
<span class="hint">Édition d'un nouveau billet </span></i>
|
|
</a>
|
|
|
|
<a href="<%= Url.RouteUrl("Default", new { controller = "Account", action = "Logout", returnUrl=Request.Url.PathAndQuery}) %>" accesskey = "C" class="menuitem">
|
|
<i class="fa fa-sign-out"><%=Html.Translate("Logout")%></i></a>
|
|
<% } %>
|
|
</nav>
|
|
<main data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="22" >
|
|
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
</main>
|
|
<asp:ContentPlaceHolder ID="MASContent" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
<footer data-type="background" data-speed="2" >
|
|
<div id="copyr">
|
|
<a href="http://yavsc.pschneider.fr/Blogs/UserPost/paul/License">© 2015 GNU GENERAL PUBLIC LICENSE <i>Version 3, 29 June 2007</i></a>
|
|
</div>
|
|
<%= Html.ActionLink("Formulaire de contact","Contact","Home",null, new { @class="thanks" }) %>
|
|
<% foreach ( Link link in Html.Thanks()) { %>
|
|
<a class="thanks" href="<%=link.Url%>"><% if (link.Image !=null) {
|
|
%><img src="<%= link.Image %>" alt="<%= link.Text %>"/></a>
|
|
<% } else { %>
|
|
<a class="thanks" href="<%=link.Url%>"><%= link.Text %></a>
|
|
<% }} %>
|
|
<%= Html.ActionLink("Formulaire de contact","Contact","Home") %>
|
|
<script src="https://apis.google.com/js/platform.js" defer>
|
|
{lang: 'fr'}
|
|
</script>
|
|
<div id="gspacer" class="control"><div class="g-plusone" data-annotation="inline" data-width="170"></div>
|
|
</div>
|
|
</footer><div class="modal"></div>
|
|
</body>
|
|
</html>
|