aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-22 20:04:20 -0800
committerFriendika <info@friendika.com>2010-12-22 20:04:20 -0800
commite287014b98a4688fa2051fb03e8e9032b380dcb8 (patch)
tree51e7c829d2aaeb875b4c1875029e586dc073eabb
parent0e6eb4d002da8589d58736babc29732f61998306 (diff)
downloadvolse-hubzilla-e287014b98a4688fa2051fb03e8e9032b380dcb8.tar.gz
volse-hubzilla-e287014b98a4688fa2051fb03e8e9032b380dcb8.tar.bz2
volse-hubzilla-e287014b98a4688fa2051fb03e8e9032b380dcb8.zip
navigation aid: show server name on page
-rw-r--r--include/nav.php1
-rw-r--r--view/theme/default/style.css8
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;
}