24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-10 21:47:01 +02:00

* src/web/ejabberd_web_admin.erl: Updated (thanks to Andrey

Zamaraev)

SVN Revision: 230
This commit is contained in:
Alexey Shchepin 2004-05-07 15:19:51 +00:00
parent f7275fb796
commit 964e61143c
2 changed files with 119 additions and 57 deletions

View File

@ -1,3 +1,8 @@
2004-05-07 Alexey Shchepin <alexey@sevcom.net>
* src/web/ejabberd_web_admin.erl: Updated (thanks to Andrey
Zamaraev)
2004-05-05 Alexey Shchepin <alexey@sevcom.net> 2004-05-05 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_ctl.erl: Added command for listing all registered * src/ejabberd_ctl.erl: Added command for listing all registered

View File

@ -56,56 +56,67 @@ make_xhtml(Els, Lang) ->
{"rel", "stylesheet"}], []}]}, {"rel", "stylesheet"}], []}]},
?XE("body", ?XE("body",
[?XAE("table", [?XAE("table",
[{"id", "top"}], [{"id", "main"}],
[?XE("tr", [?XAE("tr",
[{"id", "top"}],
[?XE("td",
[?XE("table",
[?XE("tbody",
[?XE("tr",
[?XE("td",
[?XA("img", [{"src", "/admin/logo.png"},
{"width", "343"},
{"height", "55"},
{"alt", "ejabberd"},
{"border", "0"}])]),
?XAE("td", [{"width", "100%"},
{"background", "/admin/logo-fill.png"}],
[?XA("img", [{"src", "/admin/1x1tr.gif"},
{"width", "100%"},
{"height", "55"},
{"alt", ""},
{"border", "0"}])]
)])])
])])]),
?XAE("tr",
[{"id", "middle"}],
[?XE("td", [?XE("td",
[?XA("img", [{"src", "/admin/logo.png"}, [?XAE("table",
{"width", "343"}, [{"id", "middle-table"}],
{"height", "55"}, [?XE("tbody",
{"alt", "ejabberd"}, [?XE("tr",
{"border", "0"}])]), [?XAE("td",
?XAE("td", [{"width", "100%"}, [%{"height", "100%"},
{"background", "/admin/logo-fill.png"}], %{"width", "100%"},
[?XA("img", [{"src", "/admin/1x1tr.gif"}, {"id", "middle-td1"},
{"width", "100%"}, {"bgcolor", "#ffffff"},
{"height", "55"}, {"valign", "top"}],
{"alt", ""}, [?XAE("ul",
{"border", "0"}])])]) [{"id", "navlist"}],
]), [?LI([?ACT("/admin/acls/", "Access Control Lists")]),
?XAE("table", ?LI([?ACT("/admin/access/", "Access Rules")]),
[{"id", "middle"}], ?LI([?ACT("/admin/users/", "Users")]),
[?XE("tr", ?LI([?ACT("/admin/nodes/", "Nodes")]),
[?XAE("td", ?LI([?ACT("/admin/stats/", "Statistics")])
[{"width", "1"}, ])]),
{"bgcolor", "#d47911"}], ?XAE("td",
[?C(" ")]), [%{"height", "100%"},
?XAE("td", {"width", "100%"},
[{"height", "100%"}, {"id", "middle-td2"},
%{"width", "100%"}, {"bgcolor", "#ffffff"},
{"bgcolor", "#ffffff"}, {"valign", "top"}],
{"valign", "top"}], [?XAE("div", [{"id", "content"}], Els)])])])
[?XAE("ul", ])])]),
[{"id", "navlist"}], ?XAE("tr",
[?LI([?ACT("/admin/acls/", "Access Control Lists")]), [{"id", "bottom"}],
?LI([?ACT("/admin/access/", "Access Rules")]), [?XE("td",
?LI([?ACT("/admin/users/", "Users")]), [?XE("table",
?LI([?ACT("/admin/nodes/", "Nodes")]), [?XE("tbody",
?LI([?ACT("/admin/stats/", "Statistics")]) [?XE("tr",
])]), [?XCT("td",
?XAE("td", "ejabberd (c) 2002-2004 Alexey Shchepin")
[{"height", "100%"}, ])])
{"width", "100%"}, ])])])])])
{"bgcolor", "#ffffff"},
{"valign", "top"}],
[?XAE("div", [{"id", "content"}], Els)])])
]),
?XAE("table",
[{"id", "bottom"}],
[?XE("tr",
[?XCT("td",
"ejabberd (c) 2002-2004 Alexey Shchepin")
])
])])
]}}. ]}}.
css() -> " css() -> "
@ -113,46 +124,92 @@ body {
margin-left: 0; margin-left: 0;
margin-right: 0; margin-right: 0;
margin-top: 0; margin-top: 0;
margin-bottom: 0;
} }
table#top { #main {
border: none; border: none;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse;
background-color: #fe8a00;
width: 100%;
height: 100%;
padding: 0;
}
#main > tbody > tr > td {
padding: 0;
}
#top > td > table {
border: none;
border-spacing: 0;
border-collapse: collapse;
background-color: #fe8a00; background-color: #fe8a00;
width: 100%; width: 100%;
padding-top: 2px; padding-top: 2px;
} }
table#top td { #top table {
border: none;
border-spacing: 0;
border-collapse: collapse;
background-color: #fe8a00;
width: 100%;
padding-top: 2px;
}
/*
#top > td > table > tbody > tr > td {
padding: 0;
}
*/
#top td {
padding: 0; padding: 0;
} }
table#top td img { /*
#top > td > table > tbody > tr > td > img {
margin-bottom: 0px;
}
*/
#top img {
margin-bottom: 0px; margin-bottom: 0px;
} }
table#middle { #middle {
height: 100%;
}
#middle-table {
border: none; border: none;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse;
width: 100%; width: 100%;
height: 100%; height: 100%;
empty-cells: show; empty-cells: show;
} }
table#middle td { #middle-td1, #middle-td1 {
padding: 0; padding: 0;
//background-color: #fe8a00;
} }
table#bottom { #bottom table {
border: none; border: none;
border-spacing: 0; border-spacing: 0;
border-collapse: collapse;
width: 100%; width: 100%;
} }
table#bottom td { #bottom table td {
padding: 0; padding: 0;
color: #ffffff;
background-color: #fe8a00; background-color: #fe8a00;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 7pt;
font-weight: bold;
text-align: center; text-align: center;
} }