Style changes
This commit is contained in:
parent
638cb05ae6
commit
3c7445605d
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue