mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-10 00:48:32 +01:00
implement balance tool basic func done
This commit is contained in:
17
templates/balance_response_partial.html
Normal file
17
templates/balance_response_partial.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{% for x in range(5) %}
|
||||
<div class="row">
|
||||
{% set leftP = d["left"][positions[x]] %}
|
||||
{% set rightP = d["right"][positions[x]] %}
|
||||
<div class="col-sm">
|
||||
{{ positions[x] }}
|
||||
</div>
|
||||
<div class="col-sm"
|
||||
{% if requests[leftP][x] | int >= 4 %}style="background: red;"{% endif %}>
|
||||
{{ leftP }}
|
||||
</div>
|
||||
<div class="col-sm"
|
||||
{% if requests[rightP][x] | int >= 4 %}style="background: red;"{% endif %}>
|
||||
{{ rightP }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user