[enh] Add link to home.

This commit is contained in:
opi 2014-05-17 02:24:13 +02:00
parent 86b872a7dd
commit 2ddbd7597c
7 changed files with 90 additions and 15 deletions

View file

@ -100,14 +100,13 @@ body {
*
*/
#masthead {
/*#masthead {
.hidden-xs;
}
}*/
.page-header {
.clearfix;
.make-row(12);
margin-top: 0;
padding: 0 10px;
.app.title, .logout-button {
margin-top: 20px;
@ -115,7 +114,52 @@ body {
.app.title {
.make-xs-column(10);
padding-left: 0;
a {
color: #444;
text-decoration: none;
position: relative;
-webkit-transition: all 0.1s ease;
transition: all 0.1s ease;
&:before {
.fa;
/*.fa-chevron-left;*/
content: "\f053";
display: block;
height: 1em;
width: 1em;
position: absolute;
top: 50%;
margin-top: -0.4em;
left: -10px;
opacity: 0;
font-size: 0.5em;
line-height: 1;
color: @gray-light;
-webkit-transition: all 0.1s ease;
transition: all 0.1s ease;
}
&:hover {
&:before {
opacity: 1;
left: -15px;
}
}
}
span {
display: inline-block;
vertical-align: middle;
}
/* .ynh {
height: 1.2em;
width: 1.4em;
background: url(../img/logo-ynh.svg) 0 0 no-repeat;
background-size: cover;
text-indent: -9999px;
}*/
.desc {
.small;
color: @gray-light;

2
css/style.min.css vendored

File diff suppressed because one or more lines are too long

38
img/logo-ynh.svg Normal file
View file

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
]>
<svg version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
x="0px" y="0px" width="98px" height="85px" viewBox="0 0 98 85" overflow="visible" enable-background="new 0 0 98 85"
xml:space="preserve">
<defs>
</defs>
<g id="XMLID_2_">
<g>
<path d="M97.25,51.25c-2.02,4.98-8.33,5.67-14,7c-0.61,6.29,3.05,10.95-1,16c-6.41-0.26-7.47-5.86-7-13c-1,0-2,0-3,0
c-2.09,2.77,0.9,4.52,0,8c-1.12,4.34-7.88,7.91-11,7c-2.18-0.64-5.96-6.63-5-12c2.82-2.71,2.76,3.12,6,3c5.05-7.84-9.63-8.55-8-17
c1.24-6.42,11.66-9.66,15-1c1.54,4.21-5.17,0.16-5,3c-0.28,1.62,0.95,1.72,1,3c2.52,0.77,1.68-2.16,3-3c1.86-1.17,3.09-0.75,6-1
c2.45-2.55,1.08-8.92,4-11c3.87,0.46,6.08,2.59,6,7C91.26,46.36,94.55,46.3,97.25,51.25z"/>
<path d="M87.25,13.25c0.61,3.21,2.32,4.98,2,8c-0.34,3.21-2.9,8.83-4,9c-1.17,0.18-1.34,1.78-2,2c-4.66,1.57-12.39-1.48-14-7
c-1.16-3.97,1.9-13.37,4-17c1.3-2.25,1.22-2.99,5-4c2.41-0.65,3.65-2.25,6,0c0.47,0.45,1.3,0.49,1.85,0.89
c-0.199,0,2,3.14,2.15,4.11C88.57,11.32,87.02,12.03,87.25,13.25z M79.25,22.25c1.78-1.89,3.29-4.04,3-8
C77.74,12.58,74.92,21.55,79.25,22.25z"/>
<path d="M67.25,21.25c-0.07,5.81,2.48,10.7,0,15c-6.73,1.06-7.24-4.1-11-6c-1.94,1.39-1.49,5.18-3,7c-3.78,0.44-4.69-1.97-7-3
c2.47-7.81,1.26-18.98,2-26c8.58-0.58,7.68,8.32,12,12c0.52-4.34-0.36-15.52,3-20C70.58,3.54,67.34,13.24,67.25,21.25z"/>
<path d="M52.25,55.25c1.93,8.41,0.12,22.69-12,20c-1.59-0.35-8.42-5.22-9-7c-1.62-5,0.34-13.34,3-16
C39.28,47.22,45.73,50.61,52.25,55.25z M39.25,66.25c4.55,0.96,6.3-4.2,4-7C39.62,59.28,38.86,62.19,39.25,66.25z"/>
<path d="M39.25,8.25c5.58,0.9,6.4,6.81,5,15c-1.43,8.38-3.02,14.59-9,15c-9.57,0.65-12.25-16.69-9-29c8.32,1.27,6.59,10.36,6,17
c2.71,0.83,2.2-0.85,3-2C37.3,21.29,38.07,13.86,39.25,8.25z"/>
<path d="M28.25,62.25c0.1,5.67,4.4,11.33,2,17c-4.32-1.01-6.57-4.09-9-7c-3.15-0.48-2.26,3.07-6,2c-0.67,5.06,2.29,7.57-1,10
c-4.7-0.63-6.66-4-8-8c-2.61-1.38-5.48-2.52-6-6c0.14-3.53,4.48-2.85,7-4c0.47-5.53-1.41-13.41,2-16c8.31,0.49,8.21,7.13,7,15
c4.36,0.29,4.94-4.35,5-7c0.06-2.43-1.82-8.26,2-11c3.06-0.73,2.94,1.73,6,1C32.6,52.95,28.17,57.69,28.25,62.25z"/>
<path d="M24.25,12.25c1.07,7.07-3.86,8.14-6,12c0.21,6.88-0.47,12.86-2,18c-5.86-1.32-8.7-10.38-6-17c-0.33-3.52-5.26-4.22-7-8
c-0.3-0.66-0.47-4.43-1-7c-0.91-4.37-1.45-5.69,1-9c8.16-0.49,7.21,8.13,9,14c5.05,0.39,3.91-5.42,8-6
C21.23,10.6,22.92,11.25,24.25,12.25z"/>
</g>
<g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

View file

@ -13,7 +13,9 @@
<div id="slider" role="application">
<header id="masthead" class="page-header">
<h1 class="app title">YunoHost <span class="desc">Administration</span></h1>
<h1 class="app title">
<a href="#/" class="slide back"><span class="ynh">YunoHost</span> <span class="desc">Administration</span></a>
</h1>
<span class="logout-button" role="button">
<a class="fa-sign-out" href="#/logout" title="Logout" data-y19n-title="logout"><span class="sr-only" data-y19n="logout">Logout</span></a>
</span>

View file

@ -1,8 +1,3 @@
<header class="page-header clearfix visible-xs">
<h1 class="app title">YunoHost <span class="desc">Administration</span></h1>
<span class="logout-button" role="button"><a class="fa-sign-out" href="#/logout" title="{{t 'logout'}}"><span class="sr-only">{{t 'logout'}}</span></a></span>
</header>
<div class="list-group">
<a href="#/users" class="list-group-item slide clearfix">
<span class="pull-right fa-chevron-right"></span>

View file

@ -1,7 +1,3 @@
<div class="page-header clearfix visible-xs">
<h1 class="pull-left">YunoHost <small>Administration</small></h1>
</div>
<form action="#/login" id="form" method="post">
<div class="input-group {{#domain}} hidden {{/domain}}">
<label for="domain" class="input-group-addon">