[FIX] Worker Info Responsive

This commit is contained in:
Sebastian Grewe 2014-03-22 07:20:51 +01:00
parent 3ec6248916
commit 828481b235
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ $(document).ready(function(){
for (var i = j = 0; i < length; i++) {
if (workers[i].hashrate > 0) {
j++;
$('#b-workers').append('<tr><td>' + workers[i].username + '</td><td class="text-right">' + workers[i].hashrate + '</td><td class="text-right">' + workers[i].difficulty + '</td></tr>');
$('#b-workers').append('<tr><td class="text-left">' + workers[i].username + '</td><td class="text-right">' + workers[i].hashrate + '</td><td class="text-right">' + workers[i].difficulty + '</td></tr>');
}
}
if (j == 0) { $('#b-workers').html('<tr><td colspan="3" class="text-center">No active workers</td></tr>'); }

View File

@ -4,7 +4,7 @@
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-desktop fa-fw"></i> Worker Information</h4>
</div>
<div class="panel-body no-padding">
<div class="panel-body no-padding table-responsive">
<table class="table table-bordered table-hover table-striped">
<thead>
<tr>