* style.css: nicer theme

* App.master: fixes the return url using Url.Encode
main
Paul Schneider 10 years ago
parent 5f40448890
commit bf3e5a2d03
3 changed files with 40 additions and 26 deletions

@ -47,14 +47,24 @@ footer {
margin: 1em;
padding: 1em;
display: block;
background: url("/images/drummer-652345_1280.s.jpg") 50% 0 repeat fixed ;
background: url("/images/helix-nebula-1400x1400.s.jpg") 50% 0 repeat fixed ;
min-height: 10em;
clear: both;
display: flex;
font-size: smaller;
justify-content: center;
}
footer a {
background-color: rgba(0,0,40,.8);
border-radius:5px;
margin:.5em;
padding:.5em;
}
footer img { max-height: 2em; }
#gspacer {
background-color: rgba(0,0,40,.8);
border-radius:5px;
margin:.5em; padding:1em; display: inline-block }
fieldset {
background-color: rgba(32,16,16,0.8);
border-radius:5px; border: solid 1px #000060;
@ -127,7 +137,6 @@ content: ")";
}
h1 img { vertical-align: text-top;
}
@ -231,6 +240,7 @@ a.actionlink img { top:4px; }
border-radius:5px;
margin:.5em;
padding:.5em;
display: inline-block;
}
.onhover {
@ -270,14 +280,15 @@ a.actionlink img { top:4px; }
.menuitem {
display: inline-block;
display: block;
}
.bshpanel { cursor:zoom-in; }
footer {
clear:both;
font-size: x-small;
}
.c2 { display:initial; }
.c2-alt { display:none; }
.c3 { display:none; }

@ -1,3 +1,9 @@
2015-10-01 Paul Schneider <paul@pschneider.fr>
* style.css: nicer theme
* App.master: fixes the return url using Url.Encode
2015-10-01 Paul Schneider <paul@pschneider.fr>
* style.css: more space

@ -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"> &Eacute;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">&Eacute;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"> &Eacute;dition de votre profile </div></div>
<div class="menuitem">
<a href="/Blogs/Post" accesskey="P"><u>P</u>oster</a>
<div class="hint">
&Eacute;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>

Loading…