* style.css: nicer theme
* App.master: fixes the return url using Url.Encode
This commit is contained in:
parent
5f40448890
commit
bf3e5a2d03
3 changed files with 40 additions and 26 deletions
|
|
@ -47,14 +47,24 @@ footer {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
display: block;
|
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;
|
min-height: 10em;
|
||||||
clear: both;
|
clear: both;
|
||||||
display: flex;
|
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
justify-content: center;
|
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 {
|
fieldset {
|
||||||
background-color: rgba(32,16,16,0.8);
|
background-color: rgba(32,16,16,0.8);
|
||||||
border-radius:5px; border: solid 1px #000060;
|
border-radius:5px; border: solid 1px #000060;
|
||||||
|
|
@ -127,7 +137,6 @@ content: ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
h1 img { vertical-align: text-top;
|
h1 img { vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -231,6 +240,7 @@ a.actionlink img { top:4px; }
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
margin:.5em;
|
margin:.5em;
|
||||||
padding:.5em;
|
padding:.5em;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.onhover {
|
.onhover {
|
||||||
|
|
@ -270,14 +280,15 @@ a.actionlink img { top:4px; }
|
||||||
|
|
||||||
|
|
||||||
.menuitem {
|
.menuitem {
|
||||||
display: inline-block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bshpanel { cursor:zoom-in; }
|
.bshpanel { cursor:zoom-in; }
|
||||||
footer {
|
footer {
|
||||||
clear:both;
|
clear:both;
|
||||||
font-size: x-small;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.c2 { display:initial; }
|
.c2 { display:initial; }
|
||||||
.c2-alt { display:none; }
|
.c2-alt { display:none; }
|
||||||
.c3 { 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>
|
2015-10-01 Paul Schneider <paul@pschneider.fr>
|
||||||
|
|
||||||
* style.css: more space
|
* 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" >
|
<nav data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="11" >
|
||||||
<% if (Membership.GetUser()==null) { %>
|
<% if (Membership.GetUser()==null) { %>
|
||||||
|
<a href="<%= Url.Content("~/Account/Login/?returnUrl=") + Url.Encode( Request.Url.PathAndQuery )%>" >
|
||||||
<div class="menuitem">
|
<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 class="hint">Pour pouvoir publier, facturer</div>
|
||||||
</div>
|
</div>
|
||||||
<% } else { %><div class="menuitem">
|
</a>
|
||||||
|
<% } else { %>
|
||||||
<a href="/Blog/<%= HttpContext.Current.User.Identity.Name%>" accesskey = "B" >
|
<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 class="hint">Vos billets</div>
|
||||||
</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">
|
<a href="<%= Url.Content( "~/Account/Logout/?returnUrl=")+Url.Encode(Request.Url.PathAndQuery)%>" accesskey = "P" class="menuitem">
|
||||||
<%= Html.ActionLink(HttpContext.Current.User.Identity.Name, "Profile", "Account", new { id = HttpContext.Current.User.Identity.Name }, new { accesskey = "P" } ) %>
|
<i class="fa fa-sign-out"></i>Deconnexion</a>
|
||||||
<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" }) %>
|
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
|
||||||
</nav>
|
</nav>
|
||||||
<main data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="22" >
|
<main data-type="background" data-speed="10" data-emheight="10" data-posx="0" data-posy="22" >
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -137,15 +139,10 @@ $(document).ready(function(){
|
||||||
<a class="thanks" href="<%=link.Url%>"><%= link.Text %></a>
|
<a class="thanks" href="<%=link.Url%>"><%= link.Text %></a>
|
||||||
<% }} %>
|
<% }} %>
|
||||||
</div>
|
</div>
|
||||||
<% #if !DEBUG %>
|
|
||||||
<script src="https://apis.google.com/js/platform.js" defer>
|
<script src="https://apis.google.com/js/platform.js" defer>
|
||||||
{lang: 'fr'}
|
{lang: 'fr'}
|
||||||
</script>
|
</script>
|
||||||
<div class="g-plusone" data-annotation="inline" data-width="230"></div>
|
<div id="gspacer"><div class="g-plusone" data-annotation="inline" data-width="230"></div></div>
|
||||||
<% #else %>
|
|
||||||
<p><i>(Version de développement, G+1 desactivé)</i></p>
|
|
||||||
<% #endif %>
|
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue