Skip to content

Commit 5d7b780

Browse files
committed
Docs.
1 parent c1bc017 commit 5d7b780

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,6 @@ echo $this->QueueProgress->progressBar($queuedJob, 18);
377377
The length refers to the amount of chars to display.
378378

379379
Using Tools plugin 1.9.7+ you can even use HTML5 progress bar (easier to style using CSS).
380-
381380
For this it is recommended to add the textual one from above as fallback, though:
382381
```php
383382
$textProgressBar = $this->QueueProgress->progressBar($queuedJob, 18);
@@ -406,6 +405,13 @@ echo $this->QueueProgress->timeoutProgressBar($queuedJob, 18);
406405
```
407406
It shows the progress as current time between `created` and `notbefore` boundaries more visually.
408407

408+
Using Tools plugin 1.9.7+ you can even use HTML5 progress bar (easier to style using CSS).
409+
For this it is recommended to add the textual one from above as fallback, though:
410+
```php
411+
$textTimeoutProgressBar = $this->QueueProgress->timeoutProgressBar($queuedJob, 18);
412+
echo $this->QueueProgress->htmlTimeoutProgressBar($queuedJob, $textTimeoutProgressBar);
413+
```
414+
409415
### Logging
410416

411417
By default errors are always logged, and with log enabled also the execution of a job.

0 commit comments

Comments
 (0)