xref: /webtrees/resources/views/modules/compact-chart/chart.phtml (revision 677aaceaa3f30bf689cca08894f5a34cdf4056b6)
1<table class="text-center w-100 h-100" role="presentation">
2	<tr>
3		<td>
4			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(16)]) ?>
5		</td>
6		<td></td>
7		<td></td>
8		<td></td>
9		<td class="h-100">
10			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(18)]) ?>
11		</td>
12		<td></td>
13		<td>
14			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(24)]) ?>
15		</td>
16		<td></td>
17		<td></td>
18		<td></td>
19		<td>
20			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(26)]) ?>
21		</td>
22	</tr>
23	<tr>
24		<td>
25			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(16)]) ?>
26		</td>
27		<td></td>
28		<td></td>
29		<td></td>
30		<td>
31			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(18)]) ?>
32		</td>
33		<td></td>
34		<td>
35			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(24)]) ?>
36		</td>
37		<td></td>
38		<td></td>
39		<td></td>
40		<td>
41			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(26)]) ?>
42		</td>
43	</tr>
44	<tr>
45		<td>
46			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(8)]) ?>
47		</td>
48		<td>
49			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-start', 'individual' => $ancestors->get(8)]) ?>
50		</td>
51		<td>
52			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(4)]) ?>
53		</td>
54		<td>
55			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-end', 'individual' => $ancestors->get(9)]) ?>
56		</td>
57		<td>
58			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(9)]) ?>
59		</td>
60		<td></td>
61		<td>
62			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(12)]) ?>
63		</td>
64		<td>
65			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-start', 'individual' => $ancestors->get(12)]) ?>
66		</td>
67		<td>
68			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(6)]) ?>
69		</td>
70		<td>
71			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-end', 'individual' => $ancestors->get(13)]) ?>
72		</td>
73		<td>
74			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(13)]) ?>
75		</td>
76	</tr>
77	<tr>
78		<td>
79			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(17)]) ?>
80		</td>
81		<td></td>
82		<td></td>
83		<td></td>
84		<td>
85			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(19)]) ?>
86		</td>
87		<td></td>
88		<td>
89			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(25)]) ?>
90		</td>
91		<td></td>
92		<td></td>
93		<td></td>
94		<td>
95			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(27)]) ?>
96		</td>
97	</tr>
98	<tr>
99		<td>
100			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(17)]) ?>
101		</td>
102		<td></td>
103		<td>
104			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(4)]) ?>
105		</td>
106		<td></td>
107		<td>
108			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(19)]) ?>
109		</td>
110		<td></td>
111		<td>
112			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(25)]) ?>
113		</td>
114		<td></td>
115		<td>
116			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(6)]) ?>
117		</td>
118		<td></td>
119		<td>
120			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(27)]) ?>
121		</td>
122	</tr>
123	<tr>
124		<td></td>
125		<td></td>
126		<td></td>
127		<td></td>
128		<td></td>
129		<td></td>
130		<td></td>
131		<td></td>
132		<td></td>
133		<td></td>
134		<td></td>
135	</tr>
136	<tr>
137		<td></td>
138		<td></td>
139		<td>
140			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(2)]) ?>
141		</td>
142		<td></td>
143		<td colspan="3">
144			<table width="100%">
145				<tr>
146					<td width='25%'>
147						<?= view('modules/compact-chart/arrow', ['class' => 'arrow-start', 'individual' => $ancestors->get(2)]) ?>
148					</td>
149					<td>
150						<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(1)]) ?>
151					</td>
152					<td width='25%'>
153						<?= view('modules/compact-chart/arrow', ['class' => 'arrow-end', 'individual' => $ancestors->get(3)]) ?>
154					</td>
155				</tr>
156			</table>
157		</td>
158		<td></td>
159		<td>
160			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(3)]) ?>
161		</td>
162		<td></td>
163		<td></td>
164	</tr>
165	<tr>
166		<td></td>
167		<td></td>
168		<td></td>
169		<td></td>
170		<td></td>
171		<td></td>
172		<td></td>
173		<td></td>
174		<td></td>
175		<td></td>
176		<td></td>
177	</tr>
178	<tr>
179		<td>
180			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(20)]) ?>
181		</td>
182		<td></td>
183		<td>
184			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(5)]) ?>
185		</td>
186		<td></td>
187		<td>
188			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(22)]) ?>
189		</td>
190		<td></td>
191		<td>
192			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(28)]) ?>
193		</td>
194		<td></td>
195		<td>
196			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(7)]) ?>
197		</td>
198		<td></td>
199		<td>
200			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(30)]) ?>
201		</td>
202	</tr>
203	<tr>
204		<td>
205			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(20)]) ?>
206		</td>
207		<td></td>
208		<td></td>
209		<td></td>
210		<td>
211			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(22)]) ?>
212		</td>
213		<td></td>
214		<td>
215			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(28)]) ?>
216		</td>
217		<td></td>
218		<td></td>
219		<td></td>
220		<td>
221			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-up', 'individual' => $ancestors->get(30)]) ?>
222		</td>
223	</tr>
224	<tr>
225		<td>
226			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(10)]) ?>
227		</td>
228		<td>
229			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-start', 'individual' => $ancestors->get(10)]) ?>
230		</td>
231		<td>
232			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(5)]) ?>
233		</td>
234		<td>
235			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-end', 'individual' => $ancestors->get(11)]) ?>
236		</td>
237		<td>
238			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(11)]) ?>
239		</td>
240		<td></td>
241		<td>
242			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(14)]) ?>
243		</td>
244		<td>
245			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-start', 'individual' => $ancestors->get(14)]) ?>
246		</td>
247		<td>
248			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(7)]) ?>
249		</td>
250		<td>
251			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-end', 'individual' => $ancestors->get(15)]) ?>
252		</td>
253		<td>
254			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(15)]) ?>
255		</td>
256	</tr>
257	<tr>
258		<td>
259			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(21)]) ?>
260		</td>
261		<td></td>
262		<td></td>
263		<td></td>
264		<td>
265			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(23)]) ?>
266		</td>
267		<td></td>
268		<td>
269			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(29)]) ?>
270		</td>
271		<td></td>
272		<td></td>
273		<td></td>
274		<td>
275			<?= view('modules/compact-chart/arrow', ['class' => 'arrow-down', 'individual' => $ancestors->get(31)]) ?>
276		</td>
277	</tr>
278	<tr>
279		<td>
280			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(21)]) ?>
281		</td>
282		<td></td>
283		<td></td>
284		<td></td>
285		<td>
286			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(23)]) ?>
287		</td>
288		<td></td>
289		<td>
290			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(29)]) ?>
291		</td>
292		<td></td>
293		<td></td>
294		<td></td>
295		<td>
296			<?= view('modules/compact-chart/individual', ['individual' => $ancestors->get(31)]) ?>
297		</td>
298	</tr>
299</table>
300