mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-23 00:01:45 +00:00
eed418477f
Previously, all templates were named with the .html extension, which caused problems for editors to recognize the Jinja2 syntax used in them. In this commit, all templates have been renamed to use the .jinja2 extension to better reflect their use of Jinja2 and to improve editor recognition.
14 lines
495 B
Django/Jinja
14 lines
495 B
Django/Jinja
<div class="flex-1 flex items-end justify-center">
|
|
<div class="flex pb-2">
|
|
{% for item in character.constellations %}
|
|
<div
|
|
class="w-16 h-16 flex items-center justify-center bg-contain bg-no-repeat bg-center
|
|
{%- if not item.unlocked %} grayscale opacity-75 {% endif %}"
|
|
style="background-image: url('img/talent-{{ character.element.name | lower }}.png')"
|
|
>
|
|
<img src="{{ item.icon.url }}" alt="" class="w-8 h-8" />
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|