mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-13 20:13:28 -05:00
Show print completion percentage, fix progress bar maximum
This commit is contained in:
parent
9911c8b72c
commit
393c8746a0
@ -7,11 +7,13 @@
|
|||||||
<div>Job File Name: {{ status.job.file.name || 'None' }}</div>
|
<div>Job File Name: {{ status.job.file.name || 'None' }}</div>
|
||||||
<div>
|
<div>
|
||||||
Job Completion:
|
Job Completion:
|
||||||
|
{{ status.progress.completion }}%
|
||||||
<progress
|
<progress
|
||||||
v-if="status.progress.completion"
|
v-if="status.progress.completion"
|
||||||
:value="status.progress.completion"
|
:value="status.progress.completion"
|
||||||
|
max="100"
|
||||||
>
|
>
|
||||||
{{ status.progress.completion }}
|
{{ status.progress.completion }}%
|
||||||
</progress>
|
</progress>
|
||||||
<span v-else> - </span>
|
<span v-else> - </span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user