Add song ranks, improve non-S rating calculation

This commit is contained in:
Mr Arythmia
2024-07-15 03:40:56 +02:00
parent 6a43e0eada
commit 39e89d4908
3 changed files with 121 additions and 31 deletions

View File

@@ -18,6 +18,7 @@
<th>Music</th>
<th>Difficulty</th>
<th>Score</th>
<th>Rank</th>
<th>Rating</th>
</tr>
{% for row in hot_list %}
@@ -28,6 +29,7 @@
{{ row.level }}
</td>
<td>{{ row.score }}</td>
<td>{{ row.rank }}</td>
<td class="{% if row.song_rating >= 16 %}rainbow{% endif %}">
{{ row.song_rating }}
</td>
@@ -48,6 +50,7 @@
<th>Music</th>
<th>Difficulty</th>
<th>Score</th>
<th>Rank</th>
<th>Rating</th>
</tr>
{% for row in base_list %}
@@ -58,6 +61,7 @@
{{ row.level }}
</td>
<td>{{ row.score }}</td>
<td>{{ row.rank }}</td>
<td class="{% if row.song_rating >= 16 %}rainbow{% endif %}">
{{ row.song_rating }}
</td>
@@ -76,4 +80,4 @@
Login to view profile information.
{% endif %}
</div>
{% endblock content %}
{% endblock content %}