mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
refactor: update content handling for non-tabbed layout
- Introduced a new file, MainContentTabless.php, which provides a non-tabbed content template for the Unraid web interface, rendering all pages in sequence without tabs.
This commit is contained in:
@@ -10,7 +10,7 @@ $display['tabs'] = isset($myPage['Tabs'])
|
||||
? (strtolower($myPage['Tabs']) == 'true' ? 0 : 1)
|
||||
: $display['tabs'];
|
||||
$tabbed = $display['tabs'] == 0 && count($pages) > 1;
|
||||
$contentInclude = $tabbed ? 'MainContentTabbed.php' : 'MainContentNoTab.php';
|
||||
$contentInclude = $tabbed ? 'MainContentTabbed.php' : 'MainContentTabless.php';
|
||||
|
||||
$defaultIcon = "<i class=\"icon-app PanelIcon\"></i>";
|
||||
function process_icon($icon, $docroot, $root) {
|
||||
|
||||
Reference in New Issue
Block a user