average stars voted

This commit is contained in:
2024-08-05 23:08:31 +02:00
parent dc1853d1a7
commit 371f820c56
3 changed files with 33 additions and 1 deletions
+10
View File
@@ -61,4 +61,14 @@ Instellingen
<label>Nominatie quota:</label>
<span>{{user.profile.quota|floatformat:3}}</span>
</div>
<div id="average-stars" style="margin-top:10px;">
<fieldset>
<legend>Hoeveel sterren geef jij gemiddeld?</legend>
<div class="stars">
<div class="stars-overlay" style="width: calc({{average}} * 32px)">
</div>
</div>
</fieldset>
</div>
</div>
{% endblock %}