1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Add gamelog mini

This commit is contained in:
Steffo 2018-09-14 01:32:56 +02:00
parent 2381219098
commit b2748b56f0
2 changed files with 46 additions and 1 deletions

View file

@ -649,7 +649,7 @@ nav {
}
.last-video {
grid-column: 1
grid-column: 1;
}
.fav-video {
@ -660,6 +660,26 @@ nav {
color: rgba(255, 255, 255, 0.3);
}
}
.gamelog {
background-color: #00ffc8;
padding: 18px;
color: black;
font-family: "Arial", sans-serif;
grid-template-columns: 33.3% 33.4% 33.3%;
.games-owned {
grid-column: 1;
}
.games-beaten {
grid-column: 2;
}
.games-completed {
grid-column: 3;
}
}
}
.wiki {

View file

@ -0,0 +1,25 @@
<div class="game-panel">
<div class="game-grid gamelog">
<div class="player">
<span class="player-name">{{ record.username }}</span>
</div>
<div class="game-title games-owned">
Posseduti
</div>
<div class="game-score games-owned">
{{ record.owned_games }}
</div>
<div class="game-title games-beaten">
Finiti
</div>
<div class="game-score games-beaten">
{{ record.beaten_games }}
</div>
<div class="game-title games-completed">
Completati
</div>
<div class="game-score games-completed">
{{ record.completed_games }}
</div>
</div>
</div>