xref: /webtrees/resources/views/modules/interactive-tree/tab.phtml (revision 4a2590a502a224163349fa10c461f39070abb3bc)
15edf1a44SGreg Roach<?php use Fisharebest\Webtrees\View; ?>
25edf1a44SGreg Roach
3*4a2590a5SGreg Roach<div class="wt-tab-tree py-4">
45edf1a44SGreg Roach    <?= $html ?>
55edf1a44SGreg Roach</div>
65edf1a44SGreg Roach
75edf1a44SGreg Roach<?php View::push('javascript') ?>
85edf1a44SGreg Roach<script src="<?= e($treeview_js) ?>"></script>
95edf1a44SGreg Roach
105edf1a44SGreg Roach<script>
115edf1a44SGreg Roach  var newSheet=document.createElement("link");
125edf1a44SGreg Roach  newSheet.setAttribute("rel","stylesheet");
135edf1a44SGreg Roach  newSheet.setAttribute("type","text/css");
145edf1a44SGreg Roach  newSheet.setAttribute("href","<?= $treeview_css ?>");
155edf1a44SGreg Roach  document.head.appendChild(newSheet);
165edf1a44SGreg Roach
175edf1a44SGreg Roach    <?= $js ?>
185edf1a44SGreg Roach</script>
195edf1a44SGreg Roach<?php View::endpush() ?>
20