some more styling to dashboard

v1.18.x
psychobunny 10 years ago
parent 0d01b0a734
commit 2ec93ba911

@ -159,8 +159,10 @@
}
#unique-visitors, #active-users {
margin-left: -15px;
> div {
min-width: 25%;
width: 25%;
font-size: 13px;
}
}

@ -116,12 +116,12 @@ define('forum/admin/index', ['semver'], function(semver) {
'<div>Guests</div>' +
'</div>' +
'<div class="text-center pull-left">' +
'<div>'+ data.onlineRegisteredCount + data.onlineGuestCount +'</div>' +
'<div>'+ (data.onlineRegisteredCount + data.onlineGuestCount) +'</div>' +
'<div>Total</div>' +
'</div>' +
'<div class="text-center pull-left">' +
'<div>'+ data.socketCount +'</div>' +
'<div>Socket<br />Connections</div>' +
'<div>Connections</div>' +
'</div>';
$('#active-users').html(html);

@ -7,7 +7,8 @@
</div>
</div>
<div class="row col-lg-9">
<div class="row">
<div class="col-lg-9">
<!-- BEGIN stats -->
<div class="col-lg-4 col-md-6">
<div class="panel panel-default">
@ -46,6 +47,7 @@
</div>
</div>
</div>
</div>
<div class="col-lg-3">
<div class="panel panel-default">
<div class="panel-heading">Welcome to NodeBB</div>

Loading…
Cancel
Save