xref: /webtrees/resources/views/modules/statistics-chart/names.phtml (revision e99ac601cee7ced57ac8545ceba47ece1b15d883)
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('Names') ?>
11</h4>
12
13<div class="row row-cols-1 row-cols-lg-2 mb-3 g-3">
14    <div class="col">
15        <div class="d-grid gap-3">
16            <div class="card">
17                <h5 class="card-header border-bottom-0">
18                    <?= I18N::translate('Total surnames') ?>
19                    <span class="badge bg-secondary rounded-pill float-end">#totalSurnames#</span>
20                </h5>
21            </div>
22
23            <div class="card">
24                <h5 class="card-header">
25                    <?= I18N::translate('Top surnames') ?>
26                </h5>
27                <div class="card-body">
28                    #chartCommonSurnames#
29                </div>
30            </div>
31        </div>
32    </div>
33
34    <div class="col">
35        <div class="d-grid gap-3">
36            <div class="card">
37                <h5 class="card-header border-bottom-0">
38                    <?= I18N::translate('Total given names') ?>
39                    <span class="badge bg-secondary rounded-pill float-end">#totalGivennames#</span>
40                </h5>
41            </div>
42
43            <div class="card">
44                <h5 class="card-header">
45                    <?= I18N::translate('Top given names') ?>
46                </h5>
47                <div class="card-body">
48                    #chartCommonGiven#
49                </div>
50            </div>
51        </div>
52    </div>
53</div>
54