mirror of
https://github.com/unraid/webgui.git
synced 2026-01-01 15:10:19 -06:00
- 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.
26 lines
836 B
PHP
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>
|