25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01: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,7 +56,12 @@ make_xhtml(Els, Lang) ->
{"rel", "stylesheet"}], []}]}, {"rel", "stylesheet"}], []}]},
?XE("body", ?XE("body",
[?XAE("table", [?XAE("table",
[{"id", "main"}],
[?XAE("tr",
[{"id", "top"}], [{"id", "top"}],
[?XE("td",
[?XE("table",
[?XE("tbody",
[?XE("tr", [?XE("tr",
[?XE("td", [?XE("td",
[?XA("img", [{"src", "/admin/logo.png"}, [?XA("img", [{"src", "/admin/logo.png"},
@ -70,18 +75,20 @@ make_xhtml(Els, Lang) ->
{"width", "100%"}, {"width", "100%"},
{"height", "55"}, {"height", "55"},
{"alt", ""}, {"alt", ""},
{"border", "0"}])])]) {"border", "0"}])]
]), )])])
?XAE("table", ])])]),
?XAE("tr",
[{"id", "middle"}], [{"id", "middle"}],
[?XE("td",
[?XAE("table",
[{"id", "middle-table"}],
[?XE("tbody",
[?XE("tr", [?XE("tr",
[?XAE("td", [?XAE("td",
[{"width", "1"}, [%{"height", "100%"},
{"bgcolor", "#d47911"}],
[?C(" ")]),
?XAE("td",
[{"height", "100%"},
%{"width", "100%"}, %{"width", "100%"},
{"id", "middle-td1"},
{"bgcolor", "#ffffff"}, {"bgcolor", "#ffffff"},
{"valign", "top"}], {"valign", "top"}],
[?XAE("ul", [?XAE("ul",
@ -93,19 +100,23 @@ make_xhtml(Els, Lang) ->
?LI([?ACT("/admin/stats/", "Statistics")]) ?LI([?ACT("/admin/stats/", "Statistics")])
])]), ])]),
?XAE("td", ?XAE("td",
[{"height", "100%"}, [%{"height", "100%"},
{"width", "100%"}, {"width", "100%"},
{"id", "middle-td2"},
{"bgcolor", "#ffffff"}, {"bgcolor", "#ffffff"},
{"valign", "top"}], {"valign", "top"}],
[?XAE("div", [{"id", "content"}], Els)])]) [?XAE("div", [{"id", "content"}], Els)])])])
]), ])])]),
?XAE("table", ?XAE("tr",
[{"id", "bottom"}], [{"id", "bottom"}],
[?XE("td",
[?XE("table",
[?XE("tbody",
[?XE("tr", [?XE("tr",
[?XCT("td", [?XCT("td",
"ejabberd (c) 2002-2004 Alexey Shchepin") "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;
} }