xref: /webtrees/resources/views/components/progress.phtml (revision 1792ff1cf1956b41f3e3c853cfb279a803a71ed2)
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