xref: /webtrees/resources/views/modules/compact-chart/chart.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
17c2c99faSGreg Roach<?php
27c2c99faSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
57c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual;
67c2c99faSGreg Roachuse Fisharebest\Webtrees\Module\CompactTreeChartModule;
77c2c99faSGreg Roachuse Illuminate\Support\Collection;
87c2c99faSGreg Roach
97c2c99faSGreg Roach/**
107c2c99faSGreg Roach * @var Collection<int,Individual> $ancestors
117c2c99faSGreg Roach * @var CompactTreeChartModule $module
127c2c99faSGreg Roach */
137c2c99faSGreg Roach
147c2c99faSGreg Roach?>
15242a7862SGreg Roach<table class="text-center w-100 h-100 wt-chart-compact-table" role="presentation">
16d84d3988SGreg Roach    <tr>
17d84d3988SGreg Roach        <td>
1871378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(16)]) ?>
19d84d3988SGreg Roach        </td>
20d84d3988SGreg Roach        <td></td>
21d84d3988SGreg Roach        <td></td>
22d84d3988SGreg Roach        <td></td>
23d84d3988SGreg Roach        <td class="h-100">
2471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(18)]) ?>
25d84d3988SGreg Roach        </td>
26d84d3988SGreg Roach        <td></td>
27d84d3988SGreg Roach        <td>
2871378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(24)]) ?>
29d84d3988SGreg Roach        </td>
30d84d3988SGreg Roach        <td></td>
31d84d3988SGreg Roach        <td></td>
32d84d3988SGreg Roach        <td></td>
33d84d3988SGreg Roach        <td>
3471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(26)]) ?>
35d84d3988SGreg Roach        </td>
36d84d3988SGreg Roach    </tr>
37d84d3988SGreg Roach    <tr>
38d84d3988SGreg Roach        <td>
39242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(16)]) ?>
40d84d3988SGreg Roach        </td>
41d84d3988SGreg Roach        <td></td>
42d84d3988SGreg Roach        <td></td>
43d84d3988SGreg Roach        <td></td>
44d84d3988SGreg Roach        <td>
45242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(18)]) ?>
46d84d3988SGreg Roach        </td>
47d84d3988SGreg Roach        <td></td>
48d84d3988SGreg Roach        <td>
49242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(24)]) ?>
50d84d3988SGreg Roach        </td>
51d84d3988SGreg Roach        <td></td>
52d84d3988SGreg Roach        <td></td>
53d84d3988SGreg Roach        <td></td>
54d84d3988SGreg Roach        <td>
55242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(26)]) ?>
56d84d3988SGreg Roach        </td>
57d84d3988SGreg Roach    </tr>
58d84d3988SGreg Roach    <tr>
59d84d3988SGreg Roach        <td>
6071378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(8)]) ?>
61d84d3988SGreg Roach        </td>
62d84d3988SGreg Roach        <td>
63242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-left', ['module' => $module, 'individual' => $ancestors->get(8)]) ?>
64d84d3988SGreg Roach        </td>
65d84d3988SGreg Roach        <td>
6671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(4)]) ?>
67d84d3988SGreg Roach        </td>
68d84d3988SGreg Roach        <td>
69242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-right', ['module' => $module, 'individual' => $ancestors->get(9)]) ?>
70d84d3988SGreg Roach        </td>
71d84d3988SGreg Roach        <td>
7271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(9)]) ?>
73d84d3988SGreg Roach        </td>
74d84d3988SGreg Roach        <td></td>
75d84d3988SGreg Roach        <td>
7671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(12)]) ?>
77d84d3988SGreg Roach        </td>
78d84d3988SGreg Roach        <td>
79242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-left', ['module' => $module, 'individual' => $ancestors->get(12)]) ?>
80d84d3988SGreg Roach        </td>
81d84d3988SGreg Roach        <td>
8271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(6)]) ?>
83d84d3988SGreg Roach        </td>
84d84d3988SGreg Roach        <td>
85242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-right', ['module' => $module, 'individual' => $ancestors->get(13)]) ?>
86d84d3988SGreg Roach        </td>
87d84d3988SGreg Roach        <td>
8871378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(13)]) ?>
89d84d3988SGreg Roach        </td>
90d84d3988SGreg Roach    </tr>
91d84d3988SGreg Roach    <tr>
92d84d3988SGreg Roach        <td>
93242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(17)]) ?>
94d84d3988SGreg Roach        </td>
95d84d3988SGreg Roach        <td></td>
96d84d3988SGreg Roach        <td></td>
97d84d3988SGreg Roach        <td></td>
98d84d3988SGreg Roach        <td>
99242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(19)]) ?>
100d84d3988SGreg Roach        </td>
101d84d3988SGreg Roach        <td></td>
102d84d3988SGreg Roach        <td>
103242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(25)]) ?>
104d84d3988SGreg Roach        </td>
105d84d3988SGreg Roach        <td></td>
106d84d3988SGreg Roach        <td></td>
107d84d3988SGreg Roach        <td></td>
108d84d3988SGreg Roach        <td>
109242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(27)]) ?>
110d84d3988SGreg Roach        </td>
111d84d3988SGreg Roach    </tr>
112d84d3988SGreg Roach    <tr>
113d84d3988SGreg Roach        <td>
11471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(17)]) ?>
115d84d3988SGreg Roach        </td>
116d84d3988SGreg Roach        <td></td>
117d84d3988SGreg Roach        <td>
118242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(4)]) ?>
119d84d3988SGreg Roach        </td>
120d84d3988SGreg Roach        <td></td>
121d84d3988SGreg Roach        <td>
12271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(19)]) ?>
123d84d3988SGreg Roach        </td>
124d84d3988SGreg Roach        <td></td>
125d84d3988SGreg Roach        <td>
12671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(25)]) ?>
127d84d3988SGreg Roach        </td>
128d84d3988SGreg Roach        <td></td>
129d84d3988SGreg Roach        <td>
130242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(6)]) ?>
131d84d3988SGreg Roach        </td>
132d84d3988SGreg Roach        <td></td>
133d84d3988SGreg Roach        <td>
13471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(27)]) ?>
135d84d3988SGreg Roach        </td>
136d84d3988SGreg Roach    </tr>
137d84d3988SGreg Roach    <tr>
138d84d3988SGreg Roach        <td></td>
139d84d3988SGreg Roach        <td></td>
140d84d3988SGreg Roach        <td></td>
141d84d3988SGreg Roach        <td></td>
142d84d3988SGreg Roach        <td></td>
143d84d3988SGreg Roach        <td></td>
144d84d3988SGreg Roach        <td></td>
145d84d3988SGreg Roach        <td></td>
146d84d3988SGreg Roach        <td></td>
147d84d3988SGreg Roach        <td></td>
148d84d3988SGreg Roach        <td></td>
149d84d3988SGreg Roach    </tr>
150d84d3988SGreg Roach    <tr>
151d84d3988SGreg Roach        <td></td>
152d84d3988SGreg Roach        <td></td>
153d84d3988SGreg Roach        <td>
15471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(2)]) ?>
155d84d3988SGreg Roach        </td>
156d84d3988SGreg Roach        <td></td>
157d84d3988SGreg Roach        <td colspan="3">
158349e0d4bSGreg Roach            <table class="w-100">
159d84d3988SGreg Roach                <tr>
160349e0d4bSGreg Roach                    <td class="w-25">
161242a7862SGreg Roach                        <?= view('modules/compact-chart/arrow-left', ['module' => $module, 'individual' => $ancestors->get(2)]) ?>
162d84d3988SGreg Roach                    </td>
163349e0d4bSGreg Roach                    <td class="w-50">
16471378461SGreg Roach                        <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(1)]) ?>
165d84d3988SGreg Roach                    </td>
166349e0d4bSGreg Roach                    <td class="w-25">
167242a7862SGreg Roach                        <?= view('modules/compact-chart/arrow-right', ['module' => $module, 'individual' => $ancestors->get(3)]) ?>
168d84d3988SGreg Roach                    </td>
169d84d3988SGreg Roach                </tr>
170d84d3988SGreg Roach            </table>
171d84d3988SGreg Roach        </td>
172d84d3988SGreg Roach        <td></td>
173d84d3988SGreg Roach        <td>
17471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(3)]) ?>
175d84d3988SGreg Roach        </td>
176d84d3988SGreg Roach        <td></td>
177d84d3988SGreg Roach        <td></td>
178d84d3988SGreg Roach    </tr>
179d84d3988SGreg Roach    <tr>
180d84d3988SGreg Roach        <td></td>
181d84d3988SGreg Roach        <td></td>
182d84d3988SGreg Roach        <td></td>
183d84d3988SGreg Roach        <td></td>
184d84d3988SGreg Roach        <td></td>
185d84d3988SGreg Roach        <td></td>
186d84d3988SGreg Roach        <td></td>
187d84d3988SGreg Roach        <td></td>
188d84d3988SGreg Roach        <td></td>
189d84d3988SGreg Roach        <td></td>
190d84d3988SGreg Roach        <td></td>
191d84d3988SGreg Roach    </tr>
192d84d3988SGreg Roach    <tr>
193d84d3988SGreg Roach        <td>
19471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(20)]) ?>
195d84d3988SGreg Roach        </td>
196d84d3988SGreg Roach        <td></td>
197d84d3988SGreg Roach        <td>
198242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(5)]) ?>
199d84d3988SGreg Roach        </td>
200d84d3988SGreg Roach        <td></td>
201d84d3988SGreg Roach        <td>
20271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(22)]) ?>
203d84d3988SGreg Roach        </td>
204d84d3988SGreg Roach        <td></td>
205d84d3988SGreg Roach        <td>
20671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(28)]) ?>
207d84d3988SGreg Roach        </td>
208d84d3988SGreg Roach        <td></td>
209d84d3988SGreg Roach        <td>
210242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(7)]) ?>
211d84d3988SGreg Roach        </td>
212d84d3988SGreg Roach        <td></td>
213d84d3988SGreg Roach        <td>
21471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(30)]) ?>
215d84d3988SGreg Roach        </td>
216d84d3988SGreg Roach    </tr>
217d84d3988SGreg Roach    <tr>
218d84d3988SGreg Roach        <td>
219242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(20)]) ?>
220d84d3988SGreg Roach        </td>
221d84d3988SGreg Roach        <td></td>
222d84d3988SGreg Roach        <td></td>
223d84d3988SGreg Roach        <td></td>
224d84d3988SGreg Roach        <td>
225242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(22)]) ?>
226d84d3988SGreg Roach        </td>
227d84d3988SGreg Roach        <td></td>
228d84d3988SGreg Roach        <td>
229242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(28)]) ?>
230d84d3988SGreg Roach        </td>
231d84d3988SGreg Roach        <td></td>
232d84d3988SGreg Roach        <td></td>
233d84d3988SGreg Roach        <td></td>
234d84d3988SGreg Roach        <td>
235242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-up', ['module' => $module, 'individual' => $ancestors->get(30)]) ?>
236d84d3988SGreg Roach        </td>
237d84d3988SGreg Roach    </tr>
238d84d3988SGreg Roach    <tr>
239d84d3988SGreg Roach        <td>
24071378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(10)]) ?>
241d84d3988SGreg Roach        </td>
242d84d3988SGreg Roach        <td>
243242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-left', ['module' => $module, 'individual' => $ancestors->get(10)]) ?>
244d84d3988SGreg Roach        </td>
245d84d3988SGreg Roach        <td>
24671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(5)]) ?>
247d84d3988SGreg Roach        </td>
248d84d3988SGreg Roach        <td>
249242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-right', ['module' => $module, 'individual' => $ancestors->get(11)]) ?>
250d84d3988SGreg Roach        </td>
251d84d3988SGreg Roach        <td>
25271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(11)]) ?>
253d84d3988SGreg Roach        </td>
254d84d3988SGreg Roach        <td></td>
255d84d3988SGreg Roach        <td>
25671378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(14)]) ?>
257d84d3988SGreg Roach        </td>
258d84d3988SGreg Roach        <td>
259242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-left', ['module' => $module, 'individual' => $ancestors->get(14)]) ?>
260d84d3988SGreg Roach        </td>
261d84d3988SGreg Roach        <td>
26271378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(7)]) ?>
263d84d3988SGreg Roach        </td>
264d84d3988SGreg Roach        <td>
265242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-right', ['module' => $module, 'individual' => $ancestors->get(15)]) ?>
266d84d3988SGreg Roach        </td>
267d84d3988SGreg Roach        <td>
26871378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(15)]) ?>
269d84d3988SGreg Roach        </td>
270d84d3988SGreg Roach    </tr>
271d84d3988SGreg Roach    <tr>
272d84d3988SGreg Roach        <td>
273242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(21)]) ?>
274d84d3988SGreg Roach        </td>
275d84d3988SGreg Roach        <td></td>
276d84d3988SGreg Roach        <td></td>
277d84d3988SGreg Roach        <td></td>
278d84d3988SGreg Roach        <td>
279242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(23)]) ?>
280d84d3988SGreg Roach        </td>
281d84d3988SGreg Roach        <td></td>
282d84d3988SGreg Roach        <td>
283242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(29)]) ?>
284d84d3988SGreg Roach        </td>
285d84d3988SGreg Roach        <td></td>
286d84d3988SGreg Roach        <td></td>
287d84d3988SGreg Roach        <td></td>
288d84d3988SGreg Roach        <td>
289242a7862SGreg Roach            <?= view('modules/compact-chart/arrow-down', ['module' => $module, 'individual' => $ancestors->get(31)]) ?>
290d84d3988SGreg Roach        </td>
291d84d3988SGreg Roach    </tr>
292d84d3988SGreg Roach    <tr>
293d84d3988SGreg Roach        <td>
29471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(21)]) ?>
295d84d3988SGreg Roach        </td>
296d84d3988SGreg Roach        <td></td>
297d84d3988SGreg Roach        <td></td>
298d84d3988SGreg Roach        <td></td>
299d84d3988SGreg Roach        <td>
30071378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(23)]) ?>
301d84d3988SGreg Roach        </td>
302d84d3988SGreg Roach        <td></td>
303d84d3988SGreg Roach        <td>
30471378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(29)]) ?>
305d84d3988SGreg Roach        </td>
306d84d3988SGreg Roach        <td></td>
307d84d3988SGreg Roach        <td></td>
308d84d3988SGreg Roach        <td></td>
309d84d3988SGreg Roach        <td>
31071378461SGreg Roach            <?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(31)]) ?>
311d84d3988SGreg Roach        </td>
312d84d3988SGreg Roach    </tr>
313d84d3988SGreg Roach</table>
314