Style changes

This commit is contained in:
clarkerubber 2015-03-03 18:10:02 +11:00
parent 638cb05ae6
commit 3c7445605d
3 changed files with 17 additions and 19 deletions

View file

@ -99,44 +99,44 @@
<thead>
<tr>
<th>
Assessment
<span class="result_@aggregateAssessment.action.colorClass">@aggregateAssessment.action.description</span>
</th>
<th>
Days Played
@aggregateAssessment.daysOld
</th>
<th>
Cheating
@aggregateAssessment.cheatingSum
</th>
<th>
Likely Cheating
@aggregateAssessment.likelyCheatingSum
</th>
<th>
Related Cheaters
@aggregateAssessment.relatedCheatersCount
</th>
<th>
Related Users
@aggregateAssessment.relatedUsersCount
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<span class="result_@aggregateAssessment.action.colorClass">@aggregateAssessment.action.description</span>
Assessment
</td>
<td>
@aggregateAssessment.daysOld
Days Played
</td>
<td>
@aggregateAssessment.cheatingSum
Cheating Games
</td>
<td>
@aggregateAssessment.likelyCheatingSum
Likely Cheating Games
</td>
<td>
@aggregateAssessment.relatedCheatersCount
Related Cheaters
</td>
<td>
@aggregateAssessment.relatedUsersCount
Related Users
</td>
</tr>
</tbody>

View file

@ -88,8 +88,7 @@ final class AssessApi(
def assessPlayerById(userId: String): Funit = UserRepo.usernameById(userId) flatMap {
case Some(username) => getPlayerAggregateAssessment(username) flatMap {
case Some(playerAggregateAssessment) => playerAggregateAssessment.action match {
case AccountAction.EngineAndBan => modApi.autoAdjust(userId) >> logApi.engine("lichess", userId, true)// >>
//modApi.autoBan(userId) >> logApi.ban("lichess", userId, true)
case AccountAction.EngineAndBan => modApi.autoAdjust(userId) >> logApi.engine("lichess", userId, true)
case AccountAction.Engine => modApi.autoAdjust(userId) >> logApi.engine("lichess", userId, true)
case AccountAction.Report => funit
case _ => funit

View file

@ -292,16 +292,15 @@ div.user_show .reportCard {
margin: 0 auto 10px auto;
}
div.user_show .reportCard th {
font-weight: bold;
text-align: center;
padding: 5px;
}
div.user_show .reportCard td {
font-weight: bold;
font-size: 1.6em;
text-align: center;
padding: 0 5px 0 5px;
}
div.user_show .reportCard td {
text-align: center;
padding: 5px;
}
div.user_show .results .aggregate {
text-shadow: 1px -1px 1px #000;
font-weight: bold;