
* hallo.js: Use a forked Hallo.js * showdown.js: * to-markdown.js: * mdd_gripper.png: * mdd_toolbar.png: * mdd_modal_background.png: The client side Markdown is now implemented using Hallo.js * FontAwesome.otf: * fontawesome-webfont.eot: * fontawesome-webfont.svg: * fontawesome-webfont.ttf: * fontawesome-webfont.woff: * fontawesome-webfont.woff2: awesome * MarkdownDeep.dll: a modified version to render video and audio tags * NpgsqlBlogProvider.cs: * CalendarController.cs: * WorkFlowController.cs: refactoring: The `UserName` property from the `BlogEntry` class is renamed to `Author` * InputUserName.cs: formatting * BlogsController.cs: * refactoring: The `UserName` property from the `BlogEntry` class is renamed to `Author` * Fixes pandoc process on file named with some spaces * BlogsController.cs: UserName became Author on BlogEntry objects * Global.asax.cs: route /fonts is now ignored. * MarkdownHelper.cs: transform Markdown using a given base url * App.master: jquery was not needed on all pages. * Edit.aspx: using Hallo.js * BlogEntry.cs: * UserPost.aspx: * UserPosts.aspx: * BlogManager.cs: * RemoveTitle.aspx: * BlogEntryCollection.cs: * UUBlogEntryCollection.cs: * UUTBlogEntryCollection.cs: refactoring * Web.config: ? * Web.csproj: * use my local assembly for MarkdownDeep.dll * fontawesome integration * Hallo.js, to-markdown.js, showdowwn.js integration * packages.config: Now use forked MarkdownDeep * MarkdownDeepLib.min.js: * MarkdownDeep License.txt: * MarkdownDeep Quick Reference.txt: using my local revision * mdd_ajax_loader.gif: The client side Markdown is now implemented using Hallo.js
86 lines
3.3 KiB
Plaintext
86 lines
3.3 KiB
Plaintext
<%@ Master Language="C#" Inherits="System.Web.Mvc.ViewMasterPage" CodeBehind="App.master.cs" %>
|
|
<!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="~/App_Themes/style.css" />
|
|
<link rel="icon" type="image/png" href="/favicon.png?v=3" />
|
|
<script type="text/javascript">
|
|
var apiBaseUrl = '<%=Url.Content(Yavsc.WebApiConfig.UrlPrefixRelative)%>';
|
|
</script>
|
|
<script src="/Scripts/yavsc.js">
|
|
</script>
|
|
<asp:ContentPlaceHolder id="head" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
<link href='http://fonts.googleapis.com/css?family=Dancing+Script:400,700' rel='stylesheet' type='text/css'/>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<asp:ContentPlaceHolder ID="overHeaderOne" runat="server">
|
|
<h1><a href="<%= Html.Encode(Request.Url.AbsoluteUri.ToString()) %>"> <%=ViewState["orgtitle"]%> </a>
|
|
<span> -
|
|
<a href="<%=Request.Url.Scheme + "://" + Request.Url.Authority%>"><%= YavscHelpers.SiteName %></a>
|
|
</span></h1>
|
|
|
|
</asp:ContentPlaceHolder>
|
|
<asp:ContentPlaceHolder ID="header" runat="server"></asp:ContentPlaceHolder>
|
|
<div id="error"><%= (ViewData["Error"]!=null)? Html.Encode(ViewData["Error"]) : "" %></div>
|
|
<div id="message"><%= Html.Encode(ViewData["Message"]) %></div>
|
|
</header>
|
|
|
|
<div id="appmenu" >
|
|
<% if (Membership.GetUser()==null) { %>
|
|
<div class="menuitem">
|
|
<%= Html.ActionLink("Authentification", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery },null) %>
|
|
<div class="hint">Pour pouvoir publier</div>
|
|
</div>
|
|
<% } else { %><div class="menuitem">
|
|
<a href="/Blog/<%= HttpContext.Current.User.Identity.Name%>">
|
|
<img src="<%=Html.AvatarUrl(HttpContext.Current.User.Identity.Name)%>" width="25%" alt="vos billets" /></a>
|
|
<div class="hint">Vos billets</div>
|
|
</div>
|
|
|
|
<div class="menuitem">
|
|
<%= Html.ActionLink(HttpContext.Current.User.Identity.Name, "Profile", "Account", new { id = HttpContext.Current.User.Identity.Name }, null) %>
|
|
<div class="hint"> Édition de votre profile </div></div>
|
|
|
|
<div class="menuitem">
|
|
<a href="/Blogs/Post" >Poster</a>
|
|
<div class="hint">
|
|
Édition d'un nouveau billet </div></div>
|
|
<div class="menuitem">
|
|
<%= Html.ActionLink( "Deconnexion", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, null) %>
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
<main>
|
|
<asp:ContentPlaceHolder ID="MainContent" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
</main>
|
|
<asp:ContentPlaceHolder ID="MASContent" runat="server">
|
|
</asp:ContentPlaceHolder>
|
|
|
|
<footer>
|
|
<script src="https://apis.google.com/js/platform.js" defer>
|
|
{lang: 'fr'}
|
|
</script>
|
|
<%= Html.ActionLink("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>
|
|
<% }} %>
|
|
<div class="g-plusone" data-annotation="inline" data-width="230"></div>
|
|
</footer>
|
|
|
|
|
|
</body>
|
|
</html>
|