Files
webgui/emhttp/plugins/dynamix/include/DefaultPageLayout/MainContentTabless.php
Zack Spear 18337e9e14 fix: enhance layout consistency in PageBuilder.php and MainContentTabless.php
- Wrapped elements in spans within PageBuilder.php to improve layout structure.
- Added a span for layout consistency in MainContentTabless.php.
- This change continues the effort to enhance visual consistency across the plugin.
2025-05-21 16:39:13 -07:00

26 lines
836 B
PHP

<?php
/**
* Non-tabbed content template for the Unraid web interface.
* Renders all pages in sequence without tabs, using original per-page logic.
*/
?>
<div id="displaybox">
<div class="content">
<? foreach ($pages as $page): ?>
<? annotate($page['file']); ?>
<? if (isset($page['Title'])): ?>
<div class="title">
<? $title = processTitle($page['Title']); ?>
<?= tab_title($title, $page['root'], _var($page, 'Tag', false)) ?>
<span class="right inline-flex flex-row items-center gap-1"></span>
</div>
<? endif; ?>
<?= generatePanels($page, $path, $defaultIcon, $docroot, true) ?>
<? eval('?>'.generateContent($page)); ?>
<? endforeach; ?>
</div>
</div>