mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-21 15:03:48 -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 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>
|
||||
|
Loading…
Reference in New Issue
Block a user