xref: /webtrees/resources/views/modules/interactive-tree/chart.phtml (revision 1821c9e596679be8717c51394b448df204b1f577)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6use Fisharebest\Webtrees\Individual;
7use Fisharebest\Webtrees\Tree;
8
9/**
10 * @var Individual $individual
11 * @var string     $module
12 * @var string     $name
13 * @var Tree       $tree
14 */
15
16?>
17
18<div id="<?= $name ?>_out" class="tv_out" data-url-details="<?= e(route('module', ['module' => $module, 'action' => 'Details', 'tree' => $tree->name(), 'dummy' => 'dummy'])) ?>" data-url-individuals="<?= e(route('module', ['module' => $module, 'action' => 'Individuals', 'tree' => $tree->name(), 'dummy' => 'dummy'])) ?>">
19    <div id="tv_tools">
20        <ul>
21            <li id="tvbCompact" class="tv_button" title="<?= I18N::translate('Use compact layout') ?>">
22            </li>
23            <li class="tv_button" id="<?= $name ?>_loading">
24                <i class="icon-loading-small"></i>
25            </li>
26        </ul>
27    </div>
28    <div id="<?= $name ?>_in" class="tv_in" dir="ltr">
29        <?= $individual ?>
30    </div>
31</div>
32