PamGram/resources/starrail/daily_note/daily_note.html

158 lines
5.3 KiB
HTML
Raw Normal View History

2023-04-26 12:02:57 +00:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<link rel="shortcut icon" href="#" />
<link rel="stylesheet" type="text/css" href="./daily_note.css" />
<link type="text/css" href="../../styles/public.css" rel="stylesheet" />
</head>
<body>
<div class="container" id="container">
<div class="title">
2023-04-26 12:02:57 +00:00
<div class="id">
<span>ID{{ uid }}</span>
2023-04-26 12:02:57 +00:00
</div>
<div class="day">
<span>{{ day }}</span>
2023-04-26 12:02:57 +00:00
</div>
</div>
<div class="item">
2023-04-26 12:02:57 +00:00
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/开拓力.webp" alt="" />
<div class="info">
<div class="name">开拓力</div>
<div class="time">
{% if resin_recovery_time %} 将于{{ resin_recovery_time }}
全部恢复 {% else %} 开拓力已完全恢复 {% endif %}
2023-04-26 12:02:57 +00:00
</div>
</div>
2023-04-26 12:02:57 +00:00
</div>
<div class="right">
<span
class="{% if current_resin/(max_resin or 1) > 0.9 %}red{% endif %}"
>
2023-04-26 12:02:57 +00:00
{{ current_resin }}/{{ max_resin }}
</span>
</div>
</div>
<div class="item">
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/后备开拓力.webp" alt="" />
<div class="info">
<div class="name">后备开拓力</div>
2024-05-01 13:39:08 +00:00
{% if is_reserve_stamina_full %}
<div class="time">后备开拓力已满</div>
{% endif %}
</div>
</div>
<div class="right">
<span
class="{% if is_reserve_stamina_full %}red{% endif %}"
>
{{ current_reserve_stamina }}
</span>
</div>
</div>
<div class="item">
2023-04-26 12:02:57 +00:00
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/委托.webp" alt="" />
<div class="info">
<div class="name">委托执行</div>
<div class="time">
{% if not expeditions %}尚未进行委托 {% elif remained_time
%}将于{{ remained_time }}完成 {% else %}委托已完成{% endif %}
2023-04-26 12:02:57 +00:00
</div>
</div>
2023-04-26 12:02:57 +00:00
</div>
<div class="right">
<span>{{ current_expeditions }}/{{ max_expeditions }}</span>
2023-04-26 12:02:57 +00:00
</div>
</div>
2023-07-20 06:29:25 +00:00
<div class="item">
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/里程.webp" alt="" />
<div class="info">
<div class="name">每日实训</div>
2024-05-01 13:39:08 +00:00
<div class="time">
{% if current_train_score == max_train_score %}
每日实训已完成
{% else %}
每日实训未完成
{% endif %}
</div>
2023-07-20 06:29:25 +00:00
</div>
</div>
<div class="right">
2024-05-01 13:39:08 +00:00
<span
class="{% if current_train_score != max_train_score %}red{% endif %}"
>{{ current_train_score }}/{{ max_train_score }}</span>
2023-07-20 06:29:25 +00:00
</div>
</div>
<div class="item">
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/银河大乐透.webp" alt="" />
<div class="info">
<div class="name">模拟宇宙</div>
2024-05-01 13:39:08 +00:00
<div class="time">
2024-05-19 12:36:14 +00:00
{% if current_rogue_score == max_rogue_score %}
2024-05-01 13:39:08 +00:00
模拟宇宙已完成
{% else %}
模拟宇宙未完成
{% endif %}
</div>
2023-07-20 06:29:25 +00:00
</div>
</div>
<div class="right">
2024-05-01 13:39:08 +00:00
<span
2024-05-19 12:36:14 +00:00
class="{% if current_rogue_score != max_rogue_score %}red{% endif %}"
2024-05-01 13:39:08 +00:00
>{{ current_rogue_score }}/{{ max_rogue_score }}</span>
2023-07-20 06:29:25 +00:00
</div>
</div>
<div class="item">
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/毁灭者的末路.webp" alt=""/>
<div class="info">
<div class="name">历战余响</div>
<div class="time">
{% if remaining_weekly_discounts<=0 %}周本已完成
{% else %}周本次数剩余{% endif %}
</div>
</div>
</div>
<div class="right">
2024-05-01 13:39:08 +00:00
<span
class="{% if remaining_weekly_discounts > 0 %}red{% endif %}"
>{{ remaining_weekly_discounts }}/{{ max_weekly_discounts }}</span>
2023-07-20 06:29:25 +00:00
</div>
</div>
{% if rogue_tourn_weekly_unlocked %}
<div class="item">
<div class="main">
<div class="bg"></div>
<img class="icon" src="./items/拟合值.webp" alt=""/>
<div class="info">
<div class="name">额外拟合值</div>
<div class="time">
{% if rogue_tourn_weekly_cur == rogue_tourn_weekly_max %}本周差分宇宙已完成
{% else %}本周差分宇宙未完成{% endif %}
</div>
</div>
</div>
<div class="right">
<span
class="{% if rogue_tourn_weekly_cur != rogue_tourn_weekly_max %}red{% endif %}"
>{{ rogue_tourn_weekly_cur }}/{{ rogue_tourn_weekly_max }}</span>
</div>
</div>
{% endif %}
2023-04-26 12:02:57 +00:00
</div>
</body>
<script type="text/javascript"></script>
2023-04-26 12:02:57 +00:00
</html>