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> <thead>
<tr> <tr>
<th> <th>
Assessment <span class="result_@aggregateAssessment.action.colorClass">@aggregateAssessment.action.description</span>
</th> </th>
<th> <th>
Days Played @aggregateAssessment.daysOld
</th> </th>
<th> <th>
Cheating @aggregateAssessment.cheatingSum
</th> </th>
<th> <th>
Likely Cheating @aggregateAssessment.likelyCheatingSum
</th> </th>
<th> <th>
Related Cheaters @aggregateAssessment.relatedCheatersCount
</th> </th>
<th> <th>
Related Users @aggregateAssessment.relatedUsersCount
</th> </th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td> <td>
<span class="result_@aggregateAssessment.action.colorClass">@aggregateAssessment.action.description</span> Assessment
</td> </td>
<td> <td>
@aggregateAssessment.daysOld Days Played
</td> </td>
<td> <td>
@aggregateAssessment.cheatingSum Cheating Games
</td> </td>
<td> <td>
@aggregateAssessment.likelyCheatingSum Likely Cheating Games
</td> </td>
<td> <td>
@aggregateAssessment.relatedCheatersCount Related Cheaters
</td> </td>
<td> <td>
@aggregateAssessment.relatedUsersCount Related Users
</td> </td>
</tr> </tr>
</tbody> </tbody>

View file

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

View file

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