2
0
mirror of https://github.com/ad1217/PrinterStatus synced 2024-11-24 16:33:49 -05:00

Show print completion percentage, fix progress bar maximum

This commit is contained in:
Adam Goldsmith 2020-09-25 18:11:50 -04:00
parent 9911c8b72c
commit 393c8746a0

View File

@ -7,11 +7,13 @@
<div>Job File Name: {{ status.job.file.name || 'None' }}</div>
<div>
Job Completion:
{{ status.progress.completion }}%
<progress
v-if="status.progress.completion"
:value="status.progress.completion"
max="100"
>
{{ status.progress.completion }}
{{ status.progress.completion }}%
</progress>
<span v-else> - </span>
</div>