limit height of online user list
This commit is contained in:
parent
7c7b2d3b54
commit
6432401d9c
|
@ -78,7 +78,7 @@ function make_menu() {
|
|||
|
||||
function make_onlineusers() {
|
||||
global $privileges, $user;
|
||||
$html = '<nav class="container"><h4>Helfer online</h4>';
|
||||
$html = '<nav class="container online"><h4>Helfer online</h4>';
|
||||
|
||||
$query = "SELECT UID, Nick, lastLogIn " . "FROM User " . "WHERE (`lastLogIn` > '" . (time() - 60 * 60) . "') " . "ORDER BY lastLogIn DESC";
|
||||
$users = sql_select($query);
|
||||
|
|
|
@ -52,6 +52,11 @@ footer p {
|
|||
margin-left: 200px;
|
||||
}
|
||||
|
||||
.container.online .content {
|
||||
max-height: 15em;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue