diff options
-rw-r--r-- | include/nav.php | 1 | ||||
-rw-r--r-- | view/theme/default/style.css | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/nav.php b/include/nav.php index e41c4bcb9..af0c58710 100644 --- a/include/nav.php +++ b/include/nav.php @@ -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"; } diff --git a/view/theme/default/style.css b/view/theme/default/style.css index de49f14d4..f97b8f4c3 100644 --- a/view/theme/default/style.css +++ b/view/theme/default/style.css @@ -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; } |