mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +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.
18 lines
599 B
Django/Jinja
18 lines
599 B
Django/Jinja
<div class="flex flex-row">
|
|
{% for item in character.skills %}
|
|
<div class="mx-auto flex flex-col items-center justify-center">
|
|
<div
|
|
class="w-32 h-32 flex items-center justify-center bg-contain bg-no-repeat bg-center"
|
|
style="background-image: url('img/talent-{{ character.element.name | lower }}.png')"
|
|
>
|
|
<img src="{{ item.icon.url }}" alt="" class="w-16 h-16" />
|
|
</div>
|
|
<div
|
|
class="w-10 -mt-8 text-xl font-medium bg-white text-neutral-800 italic rounded-lg text-center bg-opacity-80"
|
|
>
|
|
{{ item.level }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|