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>
<div class="dashboard-stats totals"> <div class="dashboard-stats totals">
<table class="table table-condensed table-hover"> <span class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</span>
<tbody> <span class="value">{{admins}}</span>
<tr> <span class="title"><i class='icon icon-magic'></i> {{i18n admin.dashboard.moderators}}</span>
<td class="title"><i class='icon icon-trophy'></i> {{i18n admin.dashboard.admins}}</td> <span class="value">{{moderators}}</span>
<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>
</div> </div>
<div class="dashboard-stats"> <div class="dashboard-stats">

View File

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