MibooGram/resources/genshin/player_card/stats.jinja2
洛水居室 eed418477f
♻️ Rename HTML templates to use .jinja2 extension
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.
2023-05-09 19:19:32 +08:00

11 lines
271 B
Django/Jinja

<div class="rounded-lg bg-black bg-opacity-20">
{% for (name, value) in stats %}
<div
class="px-7 py-1.5 flex justify-between even:bg-white even:bg-opacity-10"
>
<div>{{ name }}</div>
<div class="italic">{{ value }}</div>
</div>
{% endfor %}
</div>