xref: /webtrees/resources/views/modules/interactive-tree/tab.phtml (revision 9d627a9e6c00d03faa5d6a39e801ab0bb6f45d6d)
1<?php use Fisharebest\Webtrees\View; ?>
2
3<div class="wt-tab-tree py-4">
4    <?= $html ?>
5</div>
6
7<?php View::push('javascript') ?>
8<script src="<?= e($treeview_js) ?>"></script>
9
10<script>
11  var newSheet=document.createElement("link");
12  newSheet.setAttribute("rel","stylesheet");
13  newSheet.setAttribute("type","text/css");
14  newSheet.setAttribute("href","<?= $treeview_css ?>");
15  document.head.appendChild(newSheet);
16
17    <?= $js ?>
18</script>
19<?php View::endpush() ?>
20