show streamer best ratings
This commit is contained in:
parent
86b6313f3d
commit
c77e57fe0b
|
@ -88,6 +88,11 @@ case _ => {
|
|||
<div class="content_box no_padding streamer">
|
||||
@header(s, following.some)
|
||||
<div class="description">@richText(s.streamer.description.fold("")(_.value))</div>
|
||||
<a class="ratings" href="@routes.User.show(s.user.username)">
|
||||
@s.user.best8Perfs.map { pt =>
|
||||
@showPerfRating(s.user, pt)
|
||||
}
|
||||
</a>
|
||||
@views.html.activity.list(s.user, activities)
|
||||
</div>
|
||||
}
|
||||
|
|
|
@ -79,11 +79,20 @@ div.content_box.streamer h1 {
|
|||
.streamer .description {
|
||||
padding: 2.5em;
|
||||
font-size: 1.4em;
|
||||
min-height: 4em;
|
||||
}
|
||||
.streamer .description a {
|
||||
color: #3893E8;
|
||||
}
|
||||
.streamer .ratings {
|
||||
padding: 2em;
|
||||
font-size: 1.6em;
|
||||
background: rgba(128,128,128,0.3);
|
||||
background: rgba(220,50,47,0.2);
|
||||
background: rgba(213,145,32,0.2);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
body.dark .streamer .service svg path {
|
||||
fill: #aaa;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue