MibooGram/resources/genshin/gcsim/other_summary.jinja2
Lei Shi 031198b08d
Add gcsim commands
Signed-off-by: Lei Shi <me@leishi.io>
Co-authored-by: 洛水居室 <luoshuijs@outlook.com>
Co-authored-by: CHxCOOH <chxcooh@googlemail.com>
Co-authored-by: xtaodada <xtao@xtaolink.cn>
Co-authored-by: Nahida <53059854+NahidaBuer@users.noreply.github.com>
Co-authored-by: omg-xtao <100690902+omg-xtao@users.noreply.github.com>
2023-12-03 14:33:29 +08:00

28 lines
1.1 KiB
Django/Jinja

{% for p in ["eps", "hps", "shp"] %}
<div class="flex flex-col h-full w-1/3 items-start justify-center rounded-xl bg-slate-600 p-4">
<div class="text-base text-gray-400">
{% if p == "eps" %}
每秒能量 (EPS)
{% elif p == "hps" %}
每秒治疗 (HPS)
{% elif p == "shp" %}
每秒盾量 (SHP)
{% endif %}
</div>
<div class="mb-1 text-3xl font-bold text-white">{{ statistics[p].mean | int }}</div>
<div class="flex w-full justify-between text-sm">
<div>
<div class="text-gray-400">min</div>
<div class="font-semibold text-gray-200">{{ statistics[p].min | int }}</div>
</div>
<div>
<div class="text-gray-400">max</div>
<div class="font-semibold text-gray-200">{{ statistics[p].max | int }}</div>
</div>
<div>
<div class="text-gray-400">std</div>
<div class="font-semibold text-gray-200">{{ statistics[p].sd | int }}</div>
</div>
</div>
</div>
{% endfor %}