Add logout link.

This commit is contained in:
opi 2014-02-17 14:40:34 +01:00
parent c5dc0a5ef2
commit 589e2614cc
2 changed files with 6 additions and 2 deletions

View file

@ -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;
}

View file

@ -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