Commit e13399be authored by Markus Bergt's avatar Markus Bergt

savgfasdvbasfdv

parent c93c634f
......@@ -14,14 +14,14 @@ $(document).ready(function() {
{
$('#onlineStatus').html('');
$('#onlineStatus').append('<tr><th>Nutzername</th><th>Rang</th></tr>');
$.each(obj, function() {
$.each(obj.UsersTable, function() {
if(this['status'] == 'online')
{
$('#onlineStatus').append('<tr><td class="online"><b>'+ this['name'] +'</b></td><td class="online">'+ this['rang'] +'</td></tr>');
}
});
$('#onlineStatus').append('<tr><td>&nbsp;</td><td>&nbsp;</td></tr>');
$.each(obj, function() {
$.each(obj.UsersTable, function() {
if(this['status'] == 'offline')
{
$('#onlineStatus').append('<tr><td class="offline"><b>'+ this['name'] +'</b></td><td class="offline">'+ this['rang'] +'</td></tr>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment