|
|
|
|
@ -95,28 +95,30 @@ $(document).ready(function(){
|
|
|
|
|
|
|
|
|
|
<nav data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="11" >
|
|
|
|
|
<% if (Membership.GetUser()==null) { %>
|
|
|
|
|
<a href="<%= Url.Content("~/Account/Login/?returnUrl=") + Url.Encode( Request.Url.PathAndQuery )%>" >
|
|
|
|
|
<div class="menuitem">
|
|
|
|
|
<%= Html.ActionLink("Authentification", "Login", "Account", new { returnUrl=Request.Url.PathAndQuery }, new { accesskey = "L" } ) %>
|
|
|
|
|
<i class="fa fa-sign-in"></i> Connexion
|
|
|
|
|
<div class="hint">Pour pouvoir publier, facturer</div>
|
|
|
|
|
</div>
|
|
|
|
|
<% } else { %><div class="menuitem">
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
<% } else { %>
|
|
|
|
|
<a href="/Blog/<%= HttpContext.Current.User.Identity.Name%>" accesskey = "B" >
|
|
|
|
|
<img src="<%=Html.AvatarUrl(HttpContext.Current.User.Identity.Name)%>" alt="vos billets" class="iconsmall" /></a>
|
|
|
|
|
<div class="menuitem">
|
|
|
|
|
<img src="<%=Html.AvatarUrl(HttpContext.Current.User.Identity.Name)%>" alt="vos billets" class="iconsmall" />
|
|
|
|
|
<div class="hint">Vos billets</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a>
|
|
|
|
|
<a href="<%= Url.Content("~/Account/Profile/" + HttpContext.Current.User.Identity.Name) %>" accesskey="L" class="menuitem">
|
|
|
|
|
<i class="fa fa-user"></i> <%= HttpContext.Current.User.Identity.Name %>
|
|
|
|
|
<div class="hint"> Édition de votre profile </div></a>
|
|
|
|
|
<a href="/Blogs/Post" accesskey="P" class="menuitem">
|
|
|
|
|
<i class="fa fa-pencil"></i>
|
|
|
|
|
<u>P</u>oster
|
|
|
|
|
<div class="hint">Édition d'un nouveau billet </div></a>
|
|
|
|
|
|
|
|
|
|
<div class="menuitem">
|
|
|
|
|
<%= Html.ActionLink(HttpContext.Current.User.Identity.Name, "Profile", "Account", new { id = HttpContext.Current.User.Identity.Name }, new { accesskey = "P" } ) %>
|
|
|
|
|
<div class="hint"> Édition de votre profile </div></div>
|
|
|
|
|
|
|
|
|
|
<div class="menuitem">
|
|
|
|
|
<a href="/Blogs/Post" accesskey="P"><u>P</u>oster</a>
|
|
|
|
|
<div class="hint">
|
|
|
|
|
Édition d'un nouveau billet </div></div>
|
|
|
|
|
<div class="menuitem">
|
|
|
|
|
<%= Html.ActionLink( "Deconnexion", "Logout", "Account", new { returnUrl=Request.Url.PathAndQuery }, new { accesskey = "L" }) %>
|
|
|
|
|
<a href="<%= Url.Content( "~/Account/Logout/?returnUrl=")+Url.Encode(Request.Url.PathAndQuery)%>" accesskey = "P" class="menuitem">
|
|
|
|
|
<i class="fa fa-sign-out"></i>Deconnexion</a>
|
|
|
|
|
<% } %>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
<main data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="22" >
|
|
|
|
|
<div>
|
|
|
|
|
@ -137,15 +139,10 @@ $(document).ready(function(){
|
|
|
|
|
<a class="thanks" href="<%=link.Url%>"><%= link.Text %></a>
|
|
|
|
|
<% }} %>
|
|
|
|
|
</div>
|
|
|
|
|
<% #if !DEBUG %>
|
|
|
|
|
<script src="https://apis.google.com/js/platform.js" defer>
|
|
|
|
|
{lang: 'fr'}
|
|
|
|
|
</script>
|
|
|
|
|
<div class="g-plusone" data-annotation="inline" data-width="230"></div>
|
|
|
|
|
<% #else %>
|
|
|
|
|
<p><i>(Version de développement, G+1 desactivé)</i></p>
|
|
|
|
|
<% #endif %>
|
|
|
|
|
|
|
|
|
|
<div id="gspacer"><div class="g-plusone" data-annotation="inline" data-width="230"></div></div>
|
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
|