mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Add logout link.
This commit is contained in:
parent
c5dc0a5ef2
commit
589e2614cc
2 changed files with 6 additions and 2 deletions
|
@ -117,12 +117,15 @@
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
font-size: 3em;
|
font-size: 3em;
|
||||||
}
|
}
|
||||||
#ynhoverlay .account-link {
|
#ynhoverlay .header {
|
||||||
|
color: #ccc;
|
||||||
|
}
|
||||||
|
#ynhoverlay .header a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
#ynhoverlay .account-link:hover {
|
#ynhoverlay .header a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,6 +159,7 @@ domReady(function(){
|
||||||
overlay.innerHTML += '<div class="header">' +
|
overlay.innerHTML += '<div class="header">' +
|
||||||
'<h1>'+ response.user +'</h1>' +
|
'<h1>'+ response.user +'</h1>' +
|
||||||
'<a class="account-link" href="'+ response.portal_url +'">View my account</a>' +
|
'<a class="account-link" href="'+ response.portal_url +'">View my account</a>' +
|
||||||
|
' | <a class="logout-link" href="'+ response.portal_url +'?action=logout">Logout</a>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
// Add application links
|
// Add application links
|
||||||
|
|
Loading…
Add table
Reference in a new issue