[fix] User interface link

This commit is contained in:
kload 2015-11-01 11:37:48 -05:00
parent 965ff87677
commit 8bbe8e5721
5 changed files with 26 additions and 10 deletions

View file

@ -492,7 +492,7 @@ input[type='radio'].nice-radio {
#flashMessage {
position: fixed;
top: 0px;
bottom: 0px;
max-height: 30px;
z-index: 2001; // above pacman
opacity: 0.9;
@ -517,9 +517,25 @@ input[type='radio'].nice-radio {
line-height: 22px;
margin: 0;
}
div.alert-log p {
background-color: #eee;
color: #333;
div.alert-msg {
font-size: 15px;
font-family: Consolas,"Liberation Mono",Menlo,Courier,monospace;
background-color: #002b36;
//color: #eee;
}
div.alert-info p {
color: #2aa198;
}
div.alert-success p {
color: #859900;
}
div.alert-warning p {
color: #cb4b16;
}
div.alert-danger p {
color: #dc322f;
}
div.alert-log p {
color: #839496;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -21,7 +21,7 @@
<img src="dist/img/icon.png" style="width: 70px;">
</a>
<span class="logout-button pull-right" role="button">
<a class="btn btn-primary btn-sm" href="#/logout" title="Logout" data-y18n-title="user_interface_link">
<a class="btn btn-primary btn-sm" href="/yunohost/sso/" title="Logout" data-y18n-title="user_interface_link">
<span data-y18n="user_interface_link">User interface</span>&nbsp;
<i class="fa-user"></i>
</a>

View file

@ -72,7 +72,7 @@ var app = Sammy('#main', function (sam) {
store.set('flash', true);
}
$('#slider').css('padding-top', '30px');
//$('#slider').css('padding-top', '30px');
var flashContainer = $('#flashMessage'),
alertClass = (level !== 'fail') ? alertClass = 'alert-'+ level : 'alert-danger';