mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 13:57:26 +08:00
[+] B15 in user detail
This commit is contained in:
@@ -234,7 +234,7 @@
|
|||||||
{#if d.user.ratingComposition.best35}
|
{#if d.user.ratingComposition.best35}
|
||||||
<div>
|
<div>
|
||||||
<h2>B35</h2>
|
<h2>B35</h2>
|
||||||
<div class="b35">
|
<div class="rating-composition">
|
||||||
{#each d.user.ratingComposition.best35.split(",") as map}
|
{#each d.user.ratingComposition.best35.split(",") as map}
|
||||||
<div>
|
<div>
|
||||||
<MapDetails g={map} meta={allMusics[map.split(":")[0]]} game={game}/>
|
<MapDetails g={map} meta={allMusics[map.split(":")[0]]} game={game}/>
|
||||||
@@ -244,6 +244,19 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{#if d.user.ratingComposition.best15}
|
||||||
|
<div>
|
||||||
|
<h2>B15</h2>
|
||||||
|
<div class="rating-composition">
|
||||||
|
{#each d.user.ratingComposition.best15.split(",") as map}
|
||||||
|
<div>
|
||||||
|
<MapDetails g={map} meta={allMusics[map.split(":")[0]]} game={game}/>
|
||||||
|
</div>
|
||||||
|
{/each}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<div class="recent">
|
<div class="recent">
|
||||||
<h2>{t('UserHome.RecentScores')}</h2>
|
<h2>{t('UserHome.RecentScores')}</h2>
|
||||||
<div class="scores">
|
<div class="scores">
|
||||||
@@ -531,7 +544,7 @@ $gap: 20px
|
|||||||
content: "+"
|
content: "+"
|
||||||
color: $c-good
|
color: $c-good
|
||||||
|
|
||||||
.b35
|
.rating-composition
|
||||||
display: grid
|
display: grid
|
||||||
// 3 columns
|
// 3 columns
|
||||||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr))
|
||||||
|
|||||||
Reference in New Issue
Block a user