💣 destroy player listing
This commit is contained in:
parent
d3220fa553
commit
013c36fe81
|
@ -12,6 +12,9 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
|
||||||
### Changed
|
### Changed
|
||||||
* Servers are now queued for deletion to allow for cancellation of deletion, as well as run in the background to speed up page loading.
|
* Servers are now queued for deletion to allow for cancellation of deletion, as well as run in the background to speed up page loading.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
* Removed online player listing due to inconsistency in query library and an assortment of query related bugs. This will return in future versions when we get it working correctly.
|
||||||
|
|
||||||
## v0.5.0-pre.3 (Bodacious Boreopterus)
|
## v0.5.0-pre.3 (Bodacious Boreopterus)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -64,17 +64,6 @@
|
||||||
<div id="pw_resp" style="display:none;margin-top: 15px;"></div>
|
<div id="pw_resp" style="display:none;margin-top: 15px;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-12" id="stats_players">
|
|
||||||
<h3>Active Players</h3><hr />
|
|
||||||
<div id="players_notice" class="alert alert-info">
|
|
||||||
<i class="fa fa-spinner fa-spin"></i> Waiting for response from server...
|
|
||||||
</div>
|
|
||||||
<span id="toggle_players" style="display:none;">
|
|
||||||
<p class="text-muted">No players are online.</p>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -353,18 +342,7 @@ $(window).load(function () {
|
||||||
|
|
||||||
// Socket Recieves New Query
|
// Socket Recieves New Query
|
||||||
socket.on('query', function (data){
|
socket.on('query', function (data){
|
||||||
if($('#players_notice').is(':visible')){
|
// Disabled.
|
||||||
$('#players_notice').hide();
|
|
||||||
$('#toggle_players').show();
|
|
||||||
}
|
|
||||||
if(typeof data['data'] !== 'undefined' && typeof data['data'].players !== 'undefined' && data['data'].players.length !== 0){
|
|
||||||
$('#toggle_players').html('');
|
|
||||||
$.each(data['data'].players, function(id, d) {
|
|
||||||
$('#toggle_players').append('<code>' + d.name + '</code>,');
|
|
||||||
});
|
|
||||||
}else{
|
|
||||||
$('#toggle_players').html('<p class=\'text-muted\'>No players are currently online.</p>');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// New Console Data Recieved
|
// New Console Data Recieved
|
||||||
|
|
Loading…
Reference in New Issue