aboutsummaryrefslogtreecommitdiff
path: root/src/web/ejabberd_web_admin.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2007-06-22 14:04:45 +0000
committerAlexey Shchepin <alexey@process-one.net>2007-06-22 14:04:45 +0000
commit56b5d113a42c30d91652ef63e341f1ba4af4e880 (patch)
tree0215d143972cb5606d4599938d69ae6af6490bb9 /src/web/ejabberd_web_admin.erl
parent* src/mod_muc/mod_muc_room.erl: It is now possible to limit who is allowed to... (diff)
* src/web/ejabberd_web_admin.erl: Added links to server and
virtual host homes (thanks to Badlop) SVN Revision: 787
Diffstat (limited to 'src/web/ejabberd_web_admin.erl')
-rw-r--r--src/web/ejabberd_web_admin.erl13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/web/ejabberd_web_admin.erl b/src/web/ejabberd_web_admin.erl
index 58b0ecb12..1b7e0ff9b 100644
--- a/src/web/ejabberd_web_admin.erl
+++ b/src/web/ejabberd_web_admin.erl
@@ -189,12 +189,16 @@ make_xhtml(Els, Host, Lang) ->
[?XAE("div",
[{"id", "header"}],
[?XE("h1",
- [?ACT(Base, "Administration")]
+ [?ACT("/admin/", "Administration")]
)]),
?XAE("div",
[{"id", "navigation"}],
[?XE("ul",
- [?LI([?ACT(Base ++ "acls/", "Access Control Lists")]),
+ [?LI([?XAE("div",
+ [{"id", "navheadhost"}],
+ [?AC(Base, Host)]
+ )]),
+ ?LI([?ACT(Base ++ "acls/", "Access Control Lists")]),
?LI([?ACT(Base ++ "access/", "Access Rules")]),
?LI([?ACT(Base ++ "users/", "Users")]),
?LI([?ACT(Base ++ "online-users/", "Online Users")]),
@@ -354,6 +358,11 @@ html>body #container {
background: #332;
}
+#navheadhost {
+ text-align: left;
+ border-bottom: 2px solid #d47911;
+}
+
#lastactivity li {
font-weight: bold;
border: 1px solid #d6760e;