PamGram/resources/starrail/daily_note/daily_note.html

59 lines
1.9 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">
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-04-26 12:02:57 +00:00
</div>
</body>
<script type="text/javascript"></script>
2023-04-26 12:02:57 +00:00
</html>