khana/templates/gymnast_display_level.html

18 lines
654 B
HTML

<h4 class="d-flex align-items-end flex-column">
Estimated level : {% if totalKnownSkill %}{{ evaluatedLevel }}{% else %}0{% endif %}
</h4>
{% if totalKnownSkill %}
{% for skill in percentages %}
{% if skill.2 > 0 %}
<div class="progress-container progress-warning mt-2">
<div class="progress" style="height: 10px;">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: {% widthratio skill.2 skill.1 100 %}%;">&nbsp;&nbsp;Level {{ skill.0 }}</div>
</div>
</div>
{% endif %}
{% endfor %}
{% endif %}
</div>