xref: /webtrees/resources/views/modules/statistics-chart/total-individuals.phtml (revision 3ddb2c3f1b75331c0af6be131557ffc6c3bfb468)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7?>
8
9<h4 class="border-bottom p-2 mb-4">
10    <?= I18N::translate('Total individuals') ?>
11    <span class="badge bg-secondary rounded-pill float-end">#totalIndividuals#</span>
12</h4>
13
14<div class="row mb-3 row-cols-1 row-cols-lg-2 g-3">
15    <div class="col">
16        <div class="d-grid gap-3">
17            <div class="row row-cols-1 row-cols-md-2 row-cols-lg-1 g-3">
18                <div class="col">
19                    <div class="card">
20                        <h5 class="card-header border-bottom-0">
21                            <?= I18N::translate('Total males') ?>
22                            <span class="badge bg-secondary rounded-pill float-end">#totalSexMales#</span>
23                        </h5>
24                    </div>
25                </div>
26
27                <div class="col">
28                    <div class="card">
29                        <h5 class="card-header border-bottom-0">
30                            <?= I18N::translate('Total females') ?>
31                            <span class="badge bg-secondary rounded-pill float-end">#totalSexFemales#</span>
32                        </h5>
33                    </div>
34                </div>
35            </div>
36            <div class="card">
37                <div class="card-body">
38                    #chartSex#
39                </div>
40            </div>
41        </div>
42    </div>
43
44    <div class="col">
45        <div class="d-grid gap-3">
46            <div class="row row-cols-1 row-cols-md-2 row-cols-lg-1 g-3">
47                <div class="col">
48                    <div class="card">
49                        <h5 class="card-header border-bottom-0">
50                            <?= I18N::translate('Total living') ?>
51                            <span class="badge bg-secondary rounded-pill float-end">#totalLiving#</span>
52                        </h5>
53                    </div>
54                </div>
55
56                <div class="col">
57                    <div class="card">
58                        <h5 class="card-header border-bottom-0">
59                            <?= I18N::translate('Total dead') ?>
60                            <span class="badge bg-secondary rounded-pill float-end">#totalDeceased#</span>
61                        </h5>
62                    </div>
63                </div>
64            </div>
65
66            <div class="card">
67                <div class="card-body">
68                    #chartMortality#
69                </div>
70            </div>
71        </div>
72    </div>
73</div>
74