MibooGram/resources/zzz/abyss/floor.jinja2

58 lines
3.0 KiB
Plaintext
Raw Normal View History

2024-12-15 08:00:29 +00:00
<div class="floors">
2024-07-15 08:32:25 +00:00
<div class="floor floor-abyss">
<div class="head">
<div class="floor-name">
2024-12-15 08:00:29 +00:00
<div class="floor_num"></div>
2024-07-15 08:32:25 +00:00
<div>
<div>UID: {{ uid }}</div>
2024-12-15 08:00:29 +00:00
<div>{{ title }}•{{ data.floor.zone_name }}</div>
2024-07-15 08:32:25 +00:00
</div>
</div>
2024-12-15 08:00:29 +00:00
<div class="star star{{ data.floor.rating }}"></div>
2024-07-15 08:32:25 +00:00
</div>
<div class="hr"></div>
<div class="chamber">
<div class="chamber-info">
<div>
2024-12-15 08:00:29 +00:00
<span style="color: white;">{{ data.floor_time }}</span>
2024-07-15 08:32:25 +00:00
</div>
</div>
<div class="battles">
2024-12-15 08:00:29 +00:00
{% for node in data.floor_nodes %}
2024-07-15 08:32:25 +00:00
<div class="battle">
{% for character in node.avatars %}
<div class="character">
{% if character.rank > 0 %}
{% set constellation = character.rank %}
{% set bg = ['blue', 'blue', 'green', 'green', 'red', 'red'][constellation - 1] %}
<div style="background-color: var(--{{ bg }})">
{{ constellation }} 命
</div>
{% endif %}
2024-07-15 08:32:25 +00:00
<div class="element" style="background-image: url('../../img/attribute/{{ character.element_type }}.png')"></div>
<div class="icon"
style="background-image: url('../../background/rarity/half/{{ character.rarity }}.png')">
2024-12-15 08:00:29 +00:00
<img src="{{ data.character_icons[character.id] }}" alt=""/>
2024-07-15 08:32:25 +00:00
</div>
<div class="caption">Lv.{{ character.level }}</div>
</div>
{% endfor %}
{% if node.buddy %}
{% set character = node.buddy %}
<div class="character">
<div class="icon"
style="background-image: url('../../background/rarity/half/{{ character.rarity }}.png')">
2024-12-15 08:00:29 +00:00
<img src="{{ data.buddy_icons[character.id] }}" alt=""/>
2024-07-15 08:32:25 +00:00
</div>
<div class="caption">Lv.{{ character.level }}</div>
</div>
{% endif %}
{% if loop.length > 1 %}
<div class="battle-info">{{ ['上', '下'][loop.index - 1] }}半</div>
{% endif %}
</div>
{% endfor %}
</div>
</div>
</div>
2024-12-15 08:00:29 +00:00
</div>