tweak mod view

This commit is contained in:
Thibault Duplessis 2014-01-28 00:12:12 +01:00
parent 1fa6c8ced4
commit 817525bde2
2 changed files with 14 additions and 6 deletions

View file

@ -26,11 +26,15 @@
<div class="user_spy">
@eval.map { e =>
<div class="evaluation">
<p>@e.isDeep.fold("Thoroughly", "Quickly") evaluated @timeago(e.date) as @e.percent% -> <strong>@e.verdict(u.perfs)</strong>.</p>
@if(e.games.isEmpty) {
<p>No suspicious game found.</p>
} else {
<p>Most suspicious games found:</p>
<p>
@e.isDeep.fold("Thoroughly", "Quickly") evaluated @timeago(e.date) as @e.percent% -> <strong>@e.verdict(u.perfs)</strong>.
@if(e.games.nonEmpty) {
Most suspicious games found:
} else {
No suspicious game found.
}
</p>
@if(e.games.nonEmpty) {
<table class="slist">
<thead>
<tr>

View file

@ -134,6 +134,10 @@ div.user_show .mod_zone {
margin: 1em 20px;
border-bottom: 1px solid #c0c0c0;
}
div.user_show .mod_zone .actions {
width: 100%;
text-align: center;
}
div.user_show .mod_zone .slist {
font-size: 0.9em;
}
@ -158,7 +162,7 @@ div.user_show .mod_zone strong {
margin-top: 0.5em;
}
div.user_show .evaluation {
max-height: 210px;
max-height: 226px;
overflow: auto;
}
div.user_show .evaluation strong {