This commit is contained in:
Yannik Schmidt
2021-07-26 23:25:06 +02:00
parent 5c8191f4cf
commit ee61d1bb63
6 changed files with 103 additions and 38 deletions

View File

@@ -1,5 +1,7 @@
<div class="my-3">
<h3> Suggestion: (Quality: {{ quality }}%)</h3>
<h3> Suggestion </h3>
<p>Postion Wishes: {{ qualityPositions }}% fullfilled /
Teambalance: {{ qualityRatings }}% </p>
</div>
{% for x in range(5) %}
<div class="row">
@@ -10,11 +12,26 @@
</div>
<div class="col-sm"
{% if requests[leftP][x] | int >= 4 %}style="background: red;"{% endif %}>
{{ leftP }}
{{ leftP }} ({{ ratings[x] }})
</div>
<div class="col-sm"
{% if requests[rightP][x] | int >= 4 %}style="background: red;"{% endif %}>
{{ rightP }}
{{ rightP }} ({{ ratings[x+5] }})
</div>
</div>
{% endfor %}
<div class="mt-3">
<h3>For copying into Lobby:</h3>
<div class="mt-2">
<div class="row">
<textarea style="padding-left: 10px !important; padding-top: 10px !important" rows="16" cols= 100>
Left Side Team
{% for x in range(5) %}
{% set leftP = d["left"][positions[x]] %}{{ leftP }} left team {{ positions[x] }}{% endfor %}
Right Side Team
{% for x in range(5) %}
{% set rightP = d["right"][positions[x]] %}{{ rightP }} right team {{ positions[x] }}{% endfor %}
</textarea>
</div>

View File

@@ -43,12 +43,12 @@
Reset all
</button></br>
<div class="form-check mt-3">
<div style="display: none;" class="form-check mt-3">
<input class="form-check-input" type="checkbox" value=""
id="prio-balance">
<label class="form-check-label" for="flexCheckChecked">
Prioritize balance over positional preferences
<p style="color: red;">(experimental)</p>
<p style="color: red;">(experimental, slow af)</p>
</label>
</div>

View File

@@ -18,6 +18,7 @@
<!-- player name field -->
<form action="/role-submission?id={{ ident }}" method="POST">
<p style="color: red; font-weight: bold"> PLEASE USE YOUR _CORRECTLY SPELLED_ LoL-NAME!!</p>
<input class="form-control pname m-3" type="text" placeholder="Player"
name="playername" id="playername">