mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Add gamelog mini
This commit is contained in:
parent
2381219098
commit
b2748b56f0
2 changed files with 46 additions and 1 deletions
|
@ -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 {
|
||||
|
|
25
templates/minis/gamelog.html
Normal file
25
templates/minis/gamelog.html
Normal 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>
|
Loading…
Reference in a new issue