Add banlist interface
This commit is contained in:
parent
3a585cbb60
commit
a5ca7d227e
6 changed files with 129 additions and 2 deletions
|
|
@ -55,6 +55,7 @@ function initCallbacks() {
|
|||
addUserDropdown(users[i], users[i].children[1].innerHTML);
|
||||
}
|
||||
|
||||
$('#modnav').show();
|
||||
$('#chancontrols').show();
|
||||
}
|
||||
RANK = data.rank;
|
||||
|
|
@ -105,6 +106,10 @@ function initCallbacks() {
|
|||
rebuildPlaylist();
|
||||
});
|
||||
|
||||
socket.on('banlist', function(data) {
|
||||
updateBanlist(data.entries);
|
||||
});
|
||||
|
||||
socket.on('usercount', function(data) {
|
||||
$('#usercount').text(data.count + " connected users");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue