PamGram/resources/starrail/rogue/rogue.html

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

107 lines
4.5 KiB
HTML
Raw Normal View History

2023-06-08 15:26:46 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="../../styles/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<div id="new-container">
<div style="height: 10px;"></div>
<div>
2023-06-09 14:01:06 +00:00
<p class="text-white text-center"><span class="border rounded-pill p-1">
2023-06-08 15:26:46 +00:00
&nbsp;&nbsp;UID {{ uid }}&nbsp;&nbsp;
</span></p>
</div>
<div id="overview">
<div style="height: 27px;"></div>
<div class="row" style="width: 90%; margin-left: 25px;">
<div class="col">
<p class="text-white text-center">
<span>{{ basic.unlocked_skill_points }}</span><br/><span>激活技能</span></p>
</div>
<div class="col">
<p class="text-white text-center">
<span>{{ basic.unlocked_miracle_num }}</span><br/><span>解锁奇物</span></p>
</div>
<div class="col">
<p class="text-white text-center">
<span>{{ basic.unlocked_buff_num }}</span><br/><span>解锁祝福</span></p>
</div>
<div class="col">
<p class="text-white text-center">
<span>{{ finish_cnt }}</span><br/><span>通关次数</span></p>
</div>
</div>
</div>
<div id="detail">
<div style="height: 30px;"></div>
<p class="text-white text-center"><span>{{ name }}</span></p>
2023-06-09 14:01:06 +00:00
<p class="text-white small mx-3" style="position: relative;">
2023-06-08 15:26:46 +00:00
<span style="margin-left: 40px;">{{ time }}</span>
<span style="position:absolute; right: 45px;">{{ score }} 分</span>
</p>
<div class="hr"></div>
<div style="height: 10px"></div>
<div id="avatars">
<div class="row" style="width: 90%; margin-left: 7.5%;">
{% for avatar in avatars %}
<div class="col avatar_width">
{% if avatar %}
2023-06-09 14:01:06 +00:00
<img class="avatar rounded-2" src="{{ avatar.icon }}" alt="">
<p class="avatar_text_width text-white text-center small mt-1">Lv.{{ avatar.level }}</p>
2023-06-08 15:26:46 +00:00
{% endif %}
</div>
{% endfor %}
</div>
</div>
<div class="hr"></div>
<div style="height: 10px"></div>
<div id="buff">
{% for buff in buffs %}
<div>
<p class="text-white text-center">
<img class="buff-img"
src="../../img/path/{{ buff_en_map.get(buff.base_type.name, 'None') }}.png" alt="">&nbsp;&nbsp;
{{ buff.base_type.name }}
<span class="badge rounded-pill bg-info">{{ buff.base_type.cnt }}</span>
</p>
2023-06-09 14:01:06 +00:00
<div class="ms-2">
2023-06-08 15:26:46 +00:00
{% set item_bg = ['', 'bg-secondary', 'bg-primary', 'bg-warning'] %}
{% for i in range(0, buff.items|length, 4) %}
{% set items = buff.items[i:i+4] %}
<div class="row" style="width: 90%; margin-left: 20px;">
{% for item in items %}
<div class="col" style="padding: 2px;">
2023-06-09 14:01:06 +00:00
<p class="text-white text-center small text-width text-over rounded-2 p-1 {{ item_bg[item.rank] }}">
2023-06-08 15:26:46 +00:00
{{ item.name }}
</p>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
<div class="hr"></div>
<div style="height: 10px;"></div>
2023-06-09 14:01:06 +00:00
<div id="m ms-2">
2023-06-08 15:26:46 +00:00
<div class="row" style="width: 90%; margin-left: 20px;">
{% for miracle in miracles %}
<div class="col">
<img class="buff-img" src="{{ miracle.icon }}" alt="">
</div>
{% endfor %}
</div>
</div>
<div style="height: 30px;"></div>
</div>
<div style="height: 10px;"></div>
</div>
</div>
</body>
</html>