mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 15:36:44 +00:00
031198b08d
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>
28 lines
1.1 KiB
Django/Jinja
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 %} |