xref: /webtrees/resources/views/components/progress.phtml (revision 76937c180deb84856ce02e1dd263df1d97c8c03a)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5/**
6 * @var float $progress
7 */
8
9?>
10
11<div class="progress">
12    <div
13    class="progress-bar"
14    role="progressbar"
15    aria-valuenow="<?= $progress * 100 ?>"
16    aria-valuemin="0"
17    aria-valuemax="100"
18    style="width: <?= $progress * 100 ?>%; min-width: 2.5rem;"
19    >
20        <?= I18N::percentage($progress, 1) ?>
21    </div>
22</div>
23