PamGram/resources/starrail/player_card/constellations.html

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

14 lines
500 B
HTML
Raw Permalink Normal View History

2023-05-11 15:09:39 +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
2023-06-07 06:24:36 +00:00
{%- if loop.index > character.rank %} grayscale opacity-75 {% endif %}"
2023-05-11 15:09:39 +00:00
style="background-image: url('img/talent-{{ character_detail.element.name | lower }}.png')"
>
<img src="{{ item }}" alt="" class="w-8 h-8" />
</div>
{% endfor %}
</div>
</div>