MibooGram/resources/zzz/player_card/constellations.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
482 B
HTML
Raw Normal View History

2024-08-02 09:34:30 +00:00
<div class="flex-1 flex items-end justify-center">
<div class="flex pb-2">
{% for item in images.constellations %}
<div
class="w-16 h-16 flex items-center justify-center bg-contain bg-no-repeat bg-center
{%- if loop.index > character.rank %} grayscale opacity-50 {% endif %}"
style="background-image: url('img/talent-{{ character_detail.element.name | lower }}.png')"
>
<span>{{ loop.index }}</span>
</div>
{% endfor %}
</div>
</div>