mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 04:23:45 +01:00
fix leaderboard looks, add OCR, make the captcha only show if you add a username and password
This commit is contained in:
@@ -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%}
|
||||
Reference in New Issue
Block a user