refactor(client):

This commit is contained in:
syuilo
2022-07-20 22:24:26 +09:00
parent 9a1f5afde9
commit 50e3ca19bc
92 changed files with 793 additions and 756 deletions

View File

@@ -11,19 +11,19 @@
</div>
<div class="info">
<div>
<p>{{ $ts.today }}: <b>{{ dayP.toFixed(1) }}%</b></p>
<p>{{ i18n.ts.today }}: <b>{{ dayP.toFixed(1) }}%</b></p>
<div class="meter">
<div class="val" :style="{ width: `${dayP}%` }"></div>
</div>
</div>
<div>
<p>{{ $ts.thisMonth }}: <b>{{ monthP.toFixed(1) }}%</b></p>
<p>{{ i18n.ts.thisMonth }}: <b>{{ monthP.toFixed(1) }}%</b></p>
<div class="meter">
<div class="val" :style="{ width: `${monthP}%` }"></div>
</div>
</div>
<div>
<p>{{ $ts.thisYear }}: <b>{{ yearP.toFixed(1) }}%</b></p>
<p>{{ i18n.ts.thisYear }}: <b>{{ yearP.toFixed(1) }}%</b></p>
<div class="meter">
<div class="val" :style="{ width: `${yearP}%` }"></div>
</div>