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;
|
||||
font-size: 3em;
|
||||
}
|
||||
#ynhoverlay .account-link {
|
||||
#ynhoverlay .header {
|
||||
color: #ccc;
|
||||
}
|
||||
#ynhoverlay .header a {
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
color: #ccc;
|
||||
}
|
||||
#ynhoverlay .account-link:hover {
|
||||
#ynhoverlay .header a:hover {
|
||||
text-decoration: underline;
|
||||
color: #fff;
|
||||
}
|
||||
|
|
|
@ -159,6 +159,7 @@ domReady(function(){
|
|||
overlay.innerHTML += '<div class="header">' +
|
||||
'<h1>'+ response.user +'</h1>' +
|
||||
'<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>';
|
||||
|
||||
// Add application links
|
||||
|
|
Loading…
Add table
Reference in a new issue