navigation aid: show server name on page

This commit is contained in:
Friendika 2010-12-22 20:04:20 -08:00
parent 0e6eb4d002
commit e287014b98
2 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,7 @@
$a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
$a->page['nav'] .= '<div id="site-location">' . substr($a->get_baseurl(),strpos($a->get_baseurl(),'//') + 2 ) . '</div>';
if(local_user()) {
$a->page['nav'] .= '<a id="nav-logout-link" class="nav-link" href="logout">' . t('Logout') . "</a>\r\n";
}

View file

@ -72,6 +72,14 @@ blockquote:before {
content: '>> ';
}
#site-location {
position: absolute;
right: 5px;
top: 3px;
color: white;
font-size: 60%;
}
.shiny {
border-color: orange !important;
}