fix leaderboard looks, add OCR, make the captcha only show if you add a username and password

This commit is contained in:
csd4ni3l
2025-08-12 15:17:43 +02:00
parent 453250b862
commit 623bd155cb
10 changed files with 242 additions and 225 deletions

View File

@@ -26,11 +26,18 @@
</div>
</nav>
<div class="d-flex justify-content-center align-items-center vh-100 bg-dark">
<h1>Leaderboard</h1>
<ul class="list-group">
{% for user in users %}
<li class="list-group-item {% if user.1 == current_username %}active{% endif %}">{{ user.0 }} - {{ user.1 }}</li>
{% endfor %}
</ul>
<div class="card text-center shadow-lg" style="width: 400px;">
<div class="card-header bg-primary text-white">
<h3 class="mb-0">Leaderboard</h3>
</div>
<ul class="list-group list-group-flush">
{% for user in users %}
<li class="list-group-item d-flex justify-content-between align-items-center
{% if user.1 == current_username %}list-group-item-success fw-bold{% endif %}">
<span>{{ loop.index }}. {{ user.1 }} ({{ user.0 }})</span>
</li>
{% endfor %}
</ul>
</div>
</div>
{% endblock%}