Put admins and moderators counts on the same line

This commit is contained in:
Neil Lalonde 2013-04-23 11:48:26 -04:00
parent fe1b979c65
commit fe7de44275
2 changed files with 14 additions and 23 deletions

View file

@ -97,18 +97,10 @@
</div>
<div class="dashboard-stats totals">
<table class="table table-condensed table-hover">
<tbody>
<tr>
<td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</td>
<td class="value">{{admins}}</td>
</tr>
<tr>
<td class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.moderators}}</td>
<td class="value">{{moderators}}</td>
</tr>
</tbody>
</table>
<span class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</span>
<span class="value">{{admins}}</span>
<span class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.moderators}}</span>
<span class="value">{{moderators}}</span>
</div>
<div class="dashboard-stats">

View file

@ -362,10 +362,12 @@ table {
text-align: left;
}
thead {
tr:hover > td,
tr:hover > th {
tr:hover > td {
background-color: $white;
}
tr:hover > th {
background-color: #e4e4e4;
}
}
td.value {
@ -429,15 +431,12 @@ table {
}
&.totals {
width: 185px;
margin-top: 0px;
table td {
border-top: none;
&.value {
text-align: left;
width: 55px;
}
margin-top: 12px;
padding-left: 5px;
.value {
font-weight: bold;
margin-left: 8px;
margin-right: 30px;
}
}