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